Sonoff - Xiaomi

xiaomi
sonoff

(Manuel Jorge) #41
05:50:49 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T05:50:49","Uptime":"0T05:56:56","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":56,"LinkCount":1,"Downtime":"0T00:00:06"}}
05:55:49 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T05:55:49","Uptime":"0T06:01:56","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":60,"LinkCount":1,"Downtime":"0T00:00:06"}}
06:00:49 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T06:00:49","Uptime":"0T06:06:56","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":58,"LinkCount":1,"Downtime":"0T00:00:06"}}
06:05:49 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T06:05:49","Uptime":"0T06:11:56","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":58,"LinkCount":1,"Downtime":"0T00:00:06"}}
06:10:49 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T06:10:49","Uptime":"0T06:16:56","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":58,"LinkCount":1,"Downtime":"0T00:00:06"}}
06:15:42 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T06:15:42","Uptime":"0T06:21:49","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"ON","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":58,"LinkCount":1,"Downtime":"0T00:00:06"}}
06:15:42 MQT: stat/sonoff3/RESULT = {"POWER1":"ON"}
06:15:42 MQT: stat/sonoff3/POWER1 = ON (retained)
06:15:49 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T06:15:49","Uptime":"0T06:21:56","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"ON","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":56,"LinkCount":1,"Downtime":"0T00:00:06"}}
06:20:49 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T06:20:49","Uptime":"0T06:26:56","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"ON","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":50,"LinkCount":1,"Downtime":"0T00:00:06"}}
06:25:49 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T06:25:49","Uptime":"0T06:31:56","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"ON","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":48,"LinkCount":1,"Downtime":"0T00:00:06"}}
06:30:49 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T06:30:49","Uptime":"0T06:36:56","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"ON","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":50,"LinkCount":1,"Downtime":"0T00:00:06"}}
06:35:49 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T06:35:49","Uptime":"0T06:41:56","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"ON","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":54,"LinkCount":1,"Downtime":"0T00:00:06"}}
06:40:49 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T06:40:49","Uptime":"0T06:46:56","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"ON","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":54,"LinkCount":1,"Downtime":"0T00:00:06"}}
06:45:49 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T06:45:49","Uptime":"0T06:51:56","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"ON","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":64,"LinkCount":1,"Downtime":"0T00:00:06"}}
07:17:24 MQT: stat/sonoff3/RESULT = {"POWER1":"ON"}
07:17:24 MQT: stat/sonoff3/POWER1 = ON (retained)
07:19:06 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T07:19:06","Uptime":"0T07:25:13","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"ON","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":60,"LinkCount":1,"Downtime":"0T00:00:06"}}
07:19:06 MQT: stat/sonoff3/RESULT = {"POWER1":"ON"}
07:19:06 MQT: stat/sonoff3/POWER1 = ON (retained)
07:19:07 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T07:19:07","Uptime":"0T07:25:14","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":20,"POWER1":"OFF","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":60,"LinkCount":1,"Downtime":"0T00:00:06"}}
07:19:07 MQT: stat/sonoff3/RESULT = {"POWER1":"OFF"}
07:19:07 MQT: stat/sonoff3/POWER1 = OFF (retained)
07:20:52 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T07:20:52","Uptime":"0T07:26:59","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":52,"LinkCount":1,"Downtime":"0T00:00:06"}}
07:25:52 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T07:25:52","Uptime":"0T07:31:59","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":52,"LinkCount":1,"Downtime":"0T00:00:06"}}
07:30:52 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T07:30:52","Uptime":"0T07:36:59","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":52,"LinkCount":1,"Downtime":"0T00:00:06"}}
07:35:52 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T07:35:52","Uptime":"0T07:41:59","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":50,"LinkCount":1,"Downtime":"0T00:00:06"}}
07:40:52 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T07:40:52","Uptime":"0T07:46:59","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":48,"LinkCount":1,"Downtime":"0T00:00:06"}}
07:45:52 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T07:45:52","Uptime":"0T07:51:59","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":50,"LinkCount":1,"Downtime":"0T00:00:06"}}
07:50:52 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T07:50:52","Uptime":"0T07:56:59","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":58,"LinkCount":1,"Downtime":"0T00:00:06"}}
07:55:52 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T07:55:52","Uptime":"0T08:01:59","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":48,"LinkCount":1,"Downtime":"0T00:00:06"}}
08:00:52 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T08:00:52","Uptime":"0T08:06:59","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":52,"LinkCount":1,"Downtime":"0T00:00:06"}}
08:05:52 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T08:05:52","Uptime":"0T08:11:59","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":48,"LinkCount":1,"Downtime":"0T00:00:06"}}
08:10:52 MQT: tele/sonoff3/STATE = {"Time":"2019-08-13T08:10:52","Uptime":"0T08:16:59","Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","Wifi":{"AP":1,"SSId":"CatHome","BSSId":"78:29:ED:F7:36:F1","Channel":11,"RSSI":54,"LinkCount":1,"Downtime":"0T00:00:06"}}

(Jorge Assunção) #42

Código e logs são para publicar como texto, está nas regras…


(Manuel Jorge) #43

Desculpa, isto é a ansiedade de reparar isto, já alterei.


(Nuno Neves) #44

Na config do HA muda de power para power1


(Jorge Assunção) #45

O problema é mesmo o power que tem de ser alterado para power1. Quando alteras-te o firmware devias ter lido o changelog pois há sempre informação útil e que evita este tipo de problemas.


(Manuel Jorge) #46

Mais logo já testo isso, estou a trabalhar, vocês são os maiores!!!

mudo nos dois códigos?

command_topic: "cmnd/sonoff2/power"
state_topic: "stat/sonoff2/POWER"

para:

command_topic: "cmnd/sonoff2/power1"
state_topic: "stat/sonoff2/POWER1"

Obrigado mais uma vez pela vossa ajuda, grande espírito neste forum!!!
Estes Sonoff´s tem dado algumas dores de cabeça, mas ver o espírito de ajuda neste forum e depois o sentimento de conseguir resolver os problemas é muito bom.
Obrigado


(Jorge Assunção) #47

Sim, tens de mudar em todos. Já à algum tempo o Tasmota mudou o power para power1 por isso quando fizeste o update (devias ter uma versão já antiga) deixaste de ter controlo.


(Manuel Jorge) #48

Era mesmo a questão do POWER1.

Obrigado mais uma vez pela ajuda de todos! :pray: