Hi Leute, ich bräuchte mal euren Rat.
Mein ESP sendet an ioBroker keinen Switch Wert sondern nur den Power Wert. Ich möchte aber gerne zwei Reed Kontakte am ESP anschließen.
Könnt ihr vielleicht helfen?
Ich verwende den SonOff Adapter im ioBroker
Hier ist meine Config:
Hier im ioBroker die Datenpunkte
https://media.giphy.com/media/AnNFn3oUFdbhc9Sk71/giphy.gif
Hier die Tasmota Logs
22:29:06.414 MQT: tele/tasmota_D4097A/STATE = {"Time":"2021-07-06T22:29:06","Uptime":"0T00:00:10","UptimeSec":10,"Heap":29,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"Wifi","BSSId":"F0:9F:C2:DD:DD:E2","Channel":11,"Mode":"11n","RSSI":64,"Signal":-68,"LinkCount":1,"Downtime":"0T00:00:04"}}
22:29:06.437 MQT: tele/tasmota_D4097A/SENSOR = {"Time":"2021-07-06T22:29:06","Switch1":"ON","Switch2":"ON"}
22:29:59.872 MQT: stat/tasmota_D4097A/RESULT = {"POWER":"ON"}
22:29:59.874 MQT: stat/tasmota_D4097A/POWER = ON
22:30:00.422 MQT: stat/tasmota_D4097A/RESULT = {"POWER":"OFF"}
22:30:00.424 MQT: stat/tasmota_D4097A/POWER = OFF
22:30:01.071 MQT: stat/tasmota_D4097A/RESULT = {"POWER":"ON"}
22:30:01.074 MQT: stat/tasmota_D4097A/POWER = ON
22:30:01.372 MQT: stat/tasmota_D4097A/RESULT = {"POWER":"OFF"}