Ich verwende den MQTT Adapter unter Iobroker und nur Reconect benutze ich den Sonoff Adapter dann läuft es ohne Fehler...
Leider bekomme ich per Node-Red die Geräte über den Sonoff Adapter nicht geschaltet wenn mir da wer helfen könnte.
Ich verwende den MQTT Adapter unter Iobroker und nur Reconect benutze ich den Sonoff Adapter dann läuft es ohne Fehler...
Leider bekomme ich per Node-Red die Geräte über den Sonoff Adapter nicht geschaltet wenn mir da wer helfen könnte.
ich habe den Sonoff Adapter am laufen, ich kann aber per node-red meine Sonoff Geräte nicht schalten.
[
{
"id": "1e2c385.550d5c8",
"type": "change",
"z": "e6c49164.93021",
"name": "Geraet an",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "true",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 500,
"y": 240,
"wires": [
[
"96640a5c.3b9378",
"418ec4c3.09b49c"
]
]
}
]
Alles anzeigen
kann mir vielleicht jemand sagen wo der Fehler ist?
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.
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
}
]
Alles anzeigen
@ Klaus S. oder jemand anderen,
ich kann meine Steckdosen und Lampen seit der Umstellung auf den Sonoff Adapter nicht mehr per Node-Red Schalten.
Ich finde einfach meinen Fehler nicht.
[
{
"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
}
]
Alles anzeigen
das der Quellcode von den Steckdosen als ich Sie per MQTT Adapter geschaltet habe aber dieser Adapter macht aktuell nur ärger mit meinen Sonoff Tasmota Geräten und deswegen bin ich auf den Sonoff Adapter umgestiegen aber leider kriege ich das schalten der Steckdosen nicht hin
ich komme aktuell nicht weiter
curl: (7) Failed to connect to 10.42.42.42 port 80: Keine Route zum Zielrechner
wie soll ich nun weiter vorgehen?
so ich bin in ein sonoff webinterface gekommen und nun blinkt die steckdose nur noch und das interface ist auch nicht mehr da
was kann ich nun machen oder ist das ding nun schrott
SSID und WLAN PW wunrden im Sonoff Webinterface eingetragen aber es erfolgt keine Anmeldung an der Fritzbox und die Steckdose ist auch nicht mehr zu erreichen oder zu finden?
So ich danke dir und hoffe das ich nun alle Fehler beseitigt habe.
Es scheint nun als würde das Dashboad sauber funktionieren und das Homekit nun auch. Ich kann nun beide Sonoff Geräte schalten
Ich hoffe ich finde den letzten fehler noch. Homekit App verbindet sich nicht immer mit dem iobroker.
Danke dir recht Herzlich Claus_S
Du musst das in den Einstellungen von yahka noch anpassen. Da steht wahrscheinlich noch die alte information drin.
das habe ich schon versucht aber ich weiß nicht was ich auswählen soll damit er die sonoff steckdosen anspricht
@ Claus_S das script scheint zu funktionieren Danke dir dafür.
Nun muss ich nur noch per Homekit meine Sonoff Steckdosen wieder schalten können.
So ich habe mal versucht die zweite steckdose mit einzubauen aber die geht dann im sekundentakt an und aus :-/
[
{
"id": "eb102211.a5ea7",
"type": "ui_switch",
"z": "fe49cbbc.fe2ad8",
"name": "Wasserfall",
"label": "Wasserfall",
"group": "a64a396c.9fde48",
"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": 590,
"y": 320,
"wires": [
[
"42157037.1b4a"
]
]
},
{
"id": "cb0adefe.ff045",
"type": "mqtt in",
"z": "fe49cbbc.fe2ad8",
"name": "",
"topic": "stat/Wasserfall/POWER",
"qos": "2",
"broker": "ac7ce9f9.019388",
"x": 200,
"y": 280,
"wires": [
[
"eb102211.a5ea7",
"6de3c010.4afc9"
]
]
},
{
"id": "42157037.1b4a",
"type": "mqtt out",
"z": "fe49cbbc.fe2ad8",
"name": "",
"topic": "cmnd/Wasserfall/POWER",
"qos": "",
"retain": "",
"broker": "ac7ce9f9.019388",
"x": 950,
"y": 360,
"wires": []
},
{
"id": "6de3c010.4afc9",
"type": "ioBroker out",
"z": "fe49cbbc.fe2ad8",
"name": "Garten Wasserfall Status",
"topic": "node-red.0.Garten.Wasserfall.Status",
"ack": "true",
"autoCreate": "true",
"x": 950,
"y": 280,
"wires": []
},
{
"id": "a3f08d6d.44f",
"type": "ioBroker in",
"z": "fe49cbbc.fe2ad8",
"name": "Garten Wasserfall Status",
"topic": "node-red.0.Garten.Wasserfall.Status",
"payloadType": "value",
"onlyack": "",
"func": "all",
"gap": "",
"x": 210,
"y": 360,
"wires": [
[
"42157037.1b4a",
"1a18e7c1.df9e68"
]
]
},
{
"id": "1a18e7c1.df9e68",
"type": "switch",
"z": "fe49cbbc.fe2ad8",
"name": "",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "true",
"vt": "str"
},
{
"t": "eq",
"v": "false",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 470,
"y": 420,
"wires": [
[
"2e106070.e40b2"
],
[
"ff9c6fa2.c4a3a"
]
]
},
{
"id": "2e106070.e40b2",
"type": "change",
"z": "fe49cbbc.fe2ad8",
"name": "Device on",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "1",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 620,
"y": 400,
"wires": [
[
"42157037.1b4a"
]
]
},
{
"id": "ff9c6fa2.c4a3a",
"type": "change",
"z": "fe49cbbc.fe2ad8",
"name": "Device off",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "0",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 620,
"y": 440,
"wires": [
[
"42157037.1b4a"
]
]
},
{
"id": "3096a38c.fa9edc",
"type": "ui_switch",
"z": "fe49cbbc.fe2ad8",
"name": "Pool Lampe",
"label": "Pool Lampe",
"group": "a64a396c.9fde48",
"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": 610,
"y": 520,
"wires": [
[
"ffadf290.16b3b"
]
]
},
{
"id": "6bc97c72.7a8b24",
"type": "mqtt in",
"z": "fe49cbbc.fe2ad8",
"name": "",
"topic": "stat/PoolLampe/POWER",
"qos": "2",
"broker": "ac7ce9f9.019388",
"x": 230,
"y": 480,
"wires": [
[
"3096a38c.fa9edc",
"c038d1b5.952ac"
]
]
},
{
"id": "ffadf290.16b3b",
"type": "mqtt out",
"z": "fe49cbbc.fe2ad8",
"name": "",
"topic": "cmnd/Wasserfall/POWER",
"qos": "",
"retain": "",
"broker": "ac7ce9f9.019388",
"x": 970,
"y": 560,
"wires": []
},
{
"id": "c038d1b5.952ac",
"type": "ioBroker out",
"z": "fe49cbbc.fe2ad8",
"name": "Garten Pool Lampe Status",
"topic": "node-red.0.Garten.PoolLampeStatus",
"ack": "true",
"autoCreate": "true",
"x": 980,
"y": 480,
"wires": []
},
{
"id": "49a4d8f2.0f4d78",
"type": "ioBroker in",
"z": "fe49cbbc.fe2ad8",
"name": "Garten Pool Lampe Status",
"topic": "node-red.0.Garten.PoolLampe.Status",
"payloadType": "value",
"onlyack": "",
"func": "all",
"gap": "",
"x": 230,
"y": 560,
"wires": [
[
"ffadf290.16b3b",
"81424feb.09e2c"
]
]
},
{
"id": "81424feb.09e2c",
"type": "switch",
"z": "fe49cbbc.fe2ad8",
"name": "",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "true",
"vt": "str"
},
{
"t": "eq",
"v": "false",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 490,
"y": 620,
"wires": [
[
"5b6c03c1.ddcd9c"
],
[
"7e75ff5e.015c8"
]
]
},
{
"id": "5b6c03c1.ddcd9c",
"type": "change",
"z": "fe49cbbc.fe2ad8",
"name": "Device on",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "1",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 640,
"y": 600,
"wires": [
[
"ffadf290.16b3b"
]
]
},
{
"id": "7e75ff5e.015c8",
"type": "change",
"z": "fe49cbbc.fe2ad8",
"name": "Device off",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "0",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 640,
"y": 640,
"wires": [
[
"ffadf290.16b3b"
]
]
},
{
"id": "a64a396c.9fde48",
"type": "ui_group",
"z": "",
"name": "Garten",
"tab": "7a69908b.faa7e",
"order": 1,
"disp": true,
"width": "6",
"collapse": false
},
{
"id": "ac7ce9f9.019388",
"type": "mqtt-broker",
"z": "",
"name": "",
"broker": "192.168.178.31",
"port": "1883",
"clientid": "",
"usetls": false,
"compatmode": true,
"keepalive": "60",
"cleansession": true,
"birthTopic": "",
"birthQos": "0",
"birthPayload": "",
"willTopic": "",
"willQos": "0",
"willPayload": ""
},
{
"id": "7a69908b.faa7e",
"type": "ui_tab",
"z": "",
"name": "Garten Steckdosen",
"icon": "dashboard",
"order": 3
}
]
Alles anzeigen
danke für das Script. Ich kann den Wasserfall anschalten aber anschließend geht der schalter an und aus im sekundentakt.
Ich glaube ich habe den Fehler gefunden.
Der Adapter; MQTT Adapter-Einstellungen Port 1883
Bild 1
Der Sonoff Adapter:
Bild2
Dadurch das beide den gleichen Port benutzen funktioniert der Sonoff Adapter nicht mehr.
Ich habe mal versucht was zu ändern da ich ja den Sonoff Adapter nicht benutzen kann bzw. nicht benutzen muss da ich ja mqtt laufen habe.
Aber dennoch kann ich den Wasserfall über das Apple Homekit nicht mehr steuern :-/
ich nutze auf meinen iobroker diesen Adapter hier: ioBroker.yahka Adapter-Einstellungen
Bild 1 Sonoff Adapter: Username und PW ist das gleiche wie in den Sonoff Basic Adaptern
Bild2: Sonoff Basic Adapter:
User und PW ist das gleiche wie in Bild 1.
Bild3: Endloschleife
Die Konifg im Yahka ist leider nun leer da der Sonoff sich nicht mehr verbindet
Ich habe ja bei den Sonoff Wasserfall die Topic im Sonoff selbst angepasst so wie du mir das geschrieben hast und nun kann ich diesen Sonoff nicht mehr steuern und bekomme nur Fehler im Log vom iobroker.
Der sonoff adapter wird nicht mehr grün sondern bleibt rot und ich habe nur das sonoff topic geändert am sonoff selber.
Danke es funktioniert nun.... Super vielen lieben dank.
Ich habe da eine andere frage. Ich kann nun nur noch die Sonoff Geräte per node-red steuern und nicht mehr über mein homekit da ich nun eine Fehlermeldung bekomme von sonoff im log.
host.raspberrypi | 2018-06-15 14:37:22.909 | info | Restart adapter system.adapter.sonoff.0 because enabled |
host.raspberrypi | 2018-06-15 14:37:22.909 | error | instance system.adapter.sonoff.0 terminated with code 0 (OK) |
Caught | 2018-06-15 14:37:22.909 | error | by controller[0]: port: 1883 } |
Caught | 2018-06-15 14:37:22.908 | error | by controller[0]: address: '0.0.0.0', |
Caught | 2018-06-15 14:37:22.908 | error | by controller[0]: syscall: 'listen', |
Caught | 2018-06-15 14:37:22.908 | error | by controller[0]: errno: 'EADDRINUSE', |
Caught | 2018-06-15 14:37:22.908 | error | by controller[0]: code: 'EADDRINUSE', |
Caught | 2018-06-15 14:37:22.908 | error | by controller[0]: at process._tickCallback (internal/process/next_tick.js:104:9) |
Caught | 2018-06-15 14:37:22.908 | error | by controller[0]: at _combinedTickCallback (internal/process/next_tick.js:83:11) |
Caught | 2018-06-15 14:37:22.907 | error | by controller[0]: at net.js:1417:9 |
Caught | 2018-06-15 14:37:22.907 | error | by controller[0]: at listen (net.js:1307:10) |
Caught | 2018-06-15 14:37:22.907 | error | by controller[0]: at Server._listen2 (net.js:1271:14) |
Caught | 2018-06-15 14:37:22.907 | error | by controller[0]: at exports._exceptionWithHostPort (util.js:1043:20) |
Caught | 2018-06-15 14:37:22.907 | error | by controller[0]: at Object.exports._errnoException (util.js:1020:11) |
Caught | 2018-06-15 14:37:22.906 | error | by controller[0]: { Error: listen EADDRINUSE 0.0.0.0:1883 |
sonoff.0 | 2018-06-15 14:37:22.883 | info | terminating |
sonoff.0 | 2018-06-15 14:37:22.847 | error | at process._tickCallback (internal/process/next_tick.js:104:9) |
sonoff.0 | 2018-06-15 14:37:22.847 | error | at _combinedTickCallback (internal/process/next_tick.js:83:11) |
sonoff.0 | 2018-06-15 14:37:22.847 | error | at net.js:1417:9 |
sonoff.0 | 2018-06-15 14:37:22.847 | error | at listen (net.js:1307:10) |
sonoff.0 | 2018-06-15 14:37:22.847 | error | at Server._listen2 (net.js:1271:14) |
sonoff.0 | 2018-06-15 14:37:22.847 | error | at exports._exceptionWithHostPort (util.js:1043:20) |
sonoff.0 | 2018-06-15 14:37:22.847 | error | at Object.exports._errnoException (util.js:1020:11) |
sonoff.0 | 2018-06-15 14:37:22.847 | error | Error: listen EADDRINUSE 0.0.0.0:1883 |
sonoff.0 | 2018-06-15 14:37:22.845 | error | uncaught exception: listen EADDRINUSE 0.0.0.0:1883 |
sonoff.0 | 2018-06-15 14:37:22.732 | info | starting. Version 2.1.3 in /opt/iobroker/node_modules/iobroker.sonoff, node: v6.14.2 |
nein ich habe diverse sonoffs schon am laufen
So nun läuft mein log voll ???
Im node-Red ist nun zumindest der mqtt connectet aber per Dashboard kann ich den Sonoff vom Wasserfall nicht steuern.
Danke dir,
ich habe nun per Putty das installiert.
sudo apt-get install -y mosquitto mosquitto-clients
Danach habe ich in der gleiche Putty Anmeldung das hier ausgeführt mosquitto_sub -h localhost -v -t test und in der neuen Putty Sitzung das hier mosquitto_pub -h localhost -t test -m "Hello world, Mosquitto" ausgeführt und da habe ich einen fehler bekommen.
Benutzername und PW aus dein letzten Bild sind die vom Sonoff?
Ich glaube bei mir im System ist eh was falsch.
sonoff.0 | 2018-06-15 13:22:35.197 | warn | Client [mqtt_28a819d2.45ef06] has invalid password(undefined) or username(undefined) |
sobald ich die node-red Instanz anhalte, taucht der Fehler nicht mehr im Log auf.