Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Sonoff Dual R3 --- ESPHome ---Rolladensteuerung

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Sonoff Dual R3 --- ESPHome ---Rolladensteuerung

    This topic has been deleted. Only users with topic management privileges can see it.
    • Matthias 4
      Matthias 4 last edited by

      Hallo,
      ich versuche mich derzeit an einer Lösung zur Rolladensteuerung mittels Sonoff Dual R3 mit ESPHome geflasht.
      Es funktioniert alles soweit gut.

      Ich bekomme in der Web Oberfläche die Taster angezeigt und kann Sie auch bedienen.

      a0b4dfa7-01a1-4212-a4a8-9dce6c07bc21-image.png

      Über das Objekt im IOBroker habe ich aber keinen Zugang zu dem Button, beziehungsweise kann ich hier den Wert nicht vorgeben zwecks Steuerung mittels VIS.

      851d393e-d241-4724-98dd-d584ac366a9d-image.png

      Ebenfalls wird die Position nicht an den Broker geschrieben. Diese erscheint nur in den Logs des ESP

      5ff7d94c-83d1-4353-8abe-f6b9e46024d5-image.png

      Hat jemand eine Idee wo hier mein Fehler liegt?

      esphome:
      name: rsw-5
      friendly_name: Rolladenaktor 5
      platform: ESP32
      board: esp32dev

      Enable logging

      logger:
      baud_rate: 0

      Enable Home Assistant API

      api:
      password: "R/jCGfTwngrzx1vMma65UtlweV22kLV6K3uQ+MEsEDg="

      ota:
      web_server:
      port: 80

      wifi:
      ssid: !secret wifi_ssid
      password: !secret wifi_password

      manual IP

      manual_ip:
      static_ip: 192.168.178.246
      gateway: 192.168.178.1
      subnet: 255.255.255.0

      ap:
      password: !secret wifi_ap_password

      captive_portal:

      binary_sensor:

      • platform: gpio
        pin:
        number: GPIO10
        inverted: true
        id: button
        on_press:
        then:
        # logic for cycling through movements: open->stop->close->stop->...
        - lambda: |
        if (id(my_cover).current_operation == COVER_OPERATION_IDLE) {
        // Cover is idle, check current state and either open or close cover.
        if (id(my_cover).is_fully_closed()) {
        id(my_cover).open();
        } else {
        id(my_cover).close();
        }
        } else {
        // Cover is opening/closing. Stop it.
        id(my_cover).stop();
        }

      switch:

      • platform: gpio
        pin: GPIO27
        interlock: &interlock [open_cover, close_cover]
        id: open_cover
      • platform: gpio
        pin: GPIO14
        interlock: *interlock
        id: close_cover

      cover:

      • platform: time_based
        name: "Cover"
        id: my_cover
        open_action:
        • switch.turn_on: open_cover
          open_duration: 60s
          close_action:
        • switch.turn_on: close_cover
          close_duration: 60s
          stop_action:
        • switch.turn_off: open_cover
        • switch.turn_off: close_cover

      status_led:
      pin:
      number: GPIO13
      inverted: true

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Support us

      ioBroker
      Community Adapters
      Donate

      906
      Online

      31.8k
      Users

      80.0k
      Topics

      1.3m
      Posts

      1
      1
      435
      Loading More Posts
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      Community
      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
      The ioBroker Community 2014-2023
      logo