Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Sonoff Adapter und Sonff Geräte

    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 Adapter und Sonff Geräte

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

      Guten Tag,

      ich benutze nun den Sonoff Adapter auf meinen Iobroker, früher hatte ich den MQTT Adapter und konnte mit Ihm die Sonoff Geräte gut schalten aber bei dem neuen Sonoff Adapter bekomme ich das nicht mehr hin.

      Sonoff Adapter ist aktiviert User und PW Port 1883 und die Geräte werden alle erkannt und die Datenpunkte werden gesetzt.

      MQTT Adapter ist deaktiviert.

      [
          {
              "id": "5235010d.22215",
              "type": "switch",
              "z": "63e0e477.2b8f9c",
              "name": "",
              "property": "payload",
              "propertyType": "msg",
              "rules": [
                  {
                      "t": "eq",
                      "v": "ON",
                      "vt": "str"
                  },
                  {
                      "t": "eq",
                      "v": "OFF",
                      "vt": "str"
                  }
              ],
              "checkall": "true",
              "repair": false,
              "outputs": 2,
              "x": 350,
              "y": 320,
              "wires": [
                  [
                      "56af42f6.76a23c"
                  ],
                  [
                      "60fd853c.c5689c"
                  ]
              ]
          }
      ]
      

      Das ist die Schaltung unter Node-Red die ich vom MQTT Adapter auf den Sonoff Adapter angepasst habe, leider finde ich meinen Fehler nicht.

      Mfg

      P.S

      Hier ist die Funktionierende Schaltung in Verbindung mit dem MQTT Adapter

      [
          {
              "id": "399e734b.91854c",
              "type": "change",
              "z": "8b1c51c6.923be",
              "name": "Geraet an",
              "rules": [
                  {
                      "to": "ON",
                      "pt": "msg",
                      "tot": "str",
                      "p": "payload",
                      "t": "set"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 500,
              "y": 180,
              "wires": [
                  [
                      "8aff9fe4.3bfe7",
                      "8258a2d9.94b94"
                  ]
              ]
          },
          {
              "id": "5186ebb3.ba5e94",
              "type": "change",
              "z": "8b1c51c6.923be",
              "name": "Geraet an",
              "rules": [
                  {
                      "to": "true",
                      "pt": "msg",
                      "tot": "bool",
                      "p": "payload",
                      "t": "set"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 670,
              "y": 60,
              "wires": [
                  [
                      "f9447f9b.5dec9"
                  ]
              ]
          },
          {
              "id": "e04eacd.2a8765",
              "type": "mqtt in",
              "z": "8b1c51c6.923be",
              "name": "",
              "topic": "stat/Wasserfall/POWER",
              "qos": "2",
              "broker": "ca82f012.f428d",
              "x": 160,
              "y": 80,
              "wires": [
                  [
                      "179722e5.22941d"
                  ]
              ]
          },
          {
              "id": "6d4ba866.25c208",
              "type": "change",
              "z": "8b1c51c6.923be",
              "name": "Geraet aus",
              "rules": [
                  {
                      "to": "OFF",
                      "pt": "msg",
                      "tot": "str",
                      "p": "payload",
                      "t": "set"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 510,
              "y": 240,
              "wires": [
                  [
                      "8aff9fe4.3bfe7",
                      "8258a2d9.94b94"
                  ]
              ]
          },
          {
              "id": "e5fed059.6c9d3",
              "type": "switch",
              "z": "8b1c51c6.923be",
              "name": "",
              "property": "payload",
              "propertyType": "msg",
              "rules": [
                  {
                      "vt": "str",
                      "t": "eq",
                      "v": "ON"
                  },
                  {
                      "vt": "str",
                      "t": "eq",
                      "v": "OFF"
                  }
              ],
              "checkall": "true",
              "repair": false,
              "outputs": 2,
              "x": 510,
              "y": 80,
              "wires": [
                  [
                      "5186ebb3.ba5e94"
                  ],
                  [
                      "46f2da0c.cd72d4"
                  ]
              ]
          },
          {
              "id": "a50618e0.2d1038",
              "type": "switch",
              "z": "8b1c51c6.923be",
              "name": "",
              "property": "payload",
              "propertyType": "msg",
              "rules": [
                  {
                      "vt": "str",
                      "t": "eq",
                      "v": "true"
                  },
                  {
                      "vt": "str",
                      "t": "eq",
                      "v": "false"
                  }
              ],
              "checkall": "true",
              "repair": false,
              "outputs": 2,
              "x": 350,
              "y": 200,
              "wires": [
                  [
                      "399e734b.91854c"
                  ],
                  [
                      "6d4ba866.25c208"
                  ]
              ]
          },
          {
              "id": "46f2da0c.cd72d4",
              "type": "change",
              "z": "8b1c51c6.923be",
              "name": "Geraet aus",
              "rules": [
                  {
                      "to": "false",
                      "pt": "msg",
                      "tot": "bool",
                      "p": "payload",
                      "t": "set"
                  }
              ],
              "action": "",
              "property": "",
              "from": "",
              "to": "",
              "reg": false,
              "x": 670,
              "y": 100,
              "wires": [
                  [
                      "f9447f9b.5dec9"
                  ]
              ]
          },
          {
              "id": "2378df81.f5609",
              "type": "ioBroker in",
              "z": "8b1c51c6.923be",
              "name": "Garten Wasserfall Status",
              "topic": "node-red.0.Garten.Wasserfall.Status",
              "payloadType": "value",
              "onlyack": "",
              "func": "all",
              "gap": "",
              "x": 170,
              "y": 200,
              "wires": [
                  [
                      "a50618e0.2d1038"
                  ]
              ]
          },
          {
              "id": "179722e5.22941d",
              "type": "rbe",
              "z": "8b1c51c6.923be",
              "name": "",
              "func": "rbe",
              "gap": "",
              "start": "",
              "inout": "out",
              "property": "payload",
              "x": 350,
              "y": 80,
              "wires": [
                  [
                      "e5fed059.6c9d3"
                  ]
              ]
          },
          {
              "id": "f9447f9b.5dec9",
              "type": "ioBroker out",
              "z": "8b1c51c6.923be",
              "name": "Garten Wasserfall Status",
              "topic": "node-red.0.Garten.Wasserfall.Status",
              "ack": "true",
              "autoCreate": "true",
              "x": 930,
              "y": 60,
              "wires": []
          },
          {
              "id": "8258a2d9.94b94",
              "type": "mqtt out",
              "z": "8b1c51c6.923be",
              "name": "",
              "topic": "cmnd/Wasserfall/POWER",
              "qos": "",
              "retain": "",
              "broker": "ca82f012.f428d",
              "x": 990,
              "y": 200,
              "wires": []
          },
          {
              "id": "8aff9fe4.3bfe7",
              "type": "ui_switch",
              "z": "8b1c51c6.923be",
              "name": "Wasserfall",
              "label": "Wasserfall",
              "tooltip": "",
              "group": "dfd97091.a3e35",
              "order": 0,
              "width": 0,
              "height": 0,
              "passthru": false,
              "decouple": "false",
              "topic": "",
              "style": "",
              "onvalue": "ON",
              "onvalueType": "str",
              "onicon": "",
              "oncolor": "",
              "offvalue": "OFF",
              "offvalueType": "str",
              "officon": "",
              "offcolor": "",
              "x": 730,
              "y": 160,
              "wires": [
                  [
                      "e5fed059.6c9d3",
                      "8258a2d9.94b94"
                  ]
              ]
          },
          {
              "id": "ca82f012.f428d",
              "type": "mqtt-broker",
              "z": "",
              "name": "",
              "broker": "192.168.178.42",
              "port": "1883",
              "clientid": "",
              "usetls": false,
              "compatmode": true,
              "keepalive": "60",
              "cleansession": true,
              "birthTopic": "",
              "birthQos": "0",
              "birthPayload": "",
              "closeTopic": "",
              "closePayload": "",
              "willTopic": "",
              "willQos": "0",
              "willPayload": ""
          },
          {
              "id": "dfd97091.a3e35",
              "type": "ui_group",
              "z": "",
              "name": "Garten",
              "tab": "5220188f.a50508",
              "order": 1,
              "disp": true,
              "width": "6",
              "collapse": false
          },
          {
              "id": "5220188f.a50508",
              "type": "ui_tab",
              "z": "",
              "name": "Steckdosen Garten",
              "icon": "dashboard",
              "order": 2
          }
      ]
      
      1 Reply Last reply Reply Quote 0
      • Nobissoft
        Nobissoft last edited by

        Ja bei mir das gleiche. Meine SOnOff Geräte habe ich mit Tasmota geflasht gekauft. Die Steckdosen SP111 werden von IOBroker erkannt, doch nur bei einem Gerät werden auch Daten übertragen, die anderen beiden Steckdosen erscheinen zwar in der Liste aber es werden keine Daten übertragen. Irgendeine Lösung?

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

        Support us

        ioBroker
        Community Adapters
        Donate
        FAQ Cloud / IOT
        HowTo: Node.js-Update
        HowTo: Backup/Restore
        Downloads
        BLOG

        622
        Online

        31.9k
        Users

        80.1k
        Topics

        1.3m
        Posts

        sonoff adapter node-red tasmot
        2
        2
        214
        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