|
sonoff模块,控制电视开关以及测量弱电箱温度,但每次断网重连或者重启模块后模块继电器都会接通,导致电视动不动就打开,PowerOnState 是0;日志如下:
00:00:00 Project sonoff Sonoff Version 6.5.0(release-sonoff)-2_3_0
00:00:00 WIF: Connecting to AP2 chinanet in mode 11N as mytv...
00:00:07 WIF: Connected
00:00:07 HTP: Web server active on mytv with IP address 192.168.199.53
00:00:08 MQT: Attempting connection...
00:00:08 MQT: Connected
00:00:08 MQT: tele/mytv/LWT = Online (retained)
00:00:08 MQT: cmnd/mytv/POWER =
00:00:08 MQT: stat/mytv/RESULT = {"POWER":"OFF"}
00:00:08 MQT: stat/mytv/POWER = OFF
00:00:08 MQT: tele/mytv/INFO1 = {"Module":"Sonoff TH","Version":"6.5.0(release-sonoff)","FallbackTopic":"cmnd/DVES_41108B_fb/","GroupTopic":"sonoffs"}
00:00:08 MQT: tele/mytv/INFO2 = {"WebServerMode":"Admin","Hostname":"mytv","IPAddress":"192.168.199.53"}
00:00:08 MQT: tele/mytv/INFO3 = {"RestartReason":"Software/System restart"}
00:00:08 MQT: stat/mytv/RESULT = {"POWER":"OFF"}
00:00:08 MQT: stat/mytv/POWER = OFF
00:00:08 MQT: stat/mytv/RESULT = {"POWER":"ON"}
00:00:08 MQT: stat/mytv/POWER = ON
11:38:24 MQT: tele/mytv/STATE = {"Time":"2019-09-14T11:38:24","Uptime":"0T00:00:17","Vcc":3.186,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER":"ON","Wifi":{"AP":2,"SSId":"chinanet","BSSId":"0C:9D:92:4A:7F:C0","Channel":9,"RSSI":100,"LinkCount":1,"Downtime":"0T00:00:07"}}
11:38:24 MQT: tele/mytv/SENSOR = {"Time":"2019-09-14T11:38:24","AM2301":{"Temperature":30.1,"Humidity":19.8},"TempUnit":"C"}
---------------------------
咋破,有大神知道不???
|
|