|
买了一个sonoff的基本版,刷了tasmota6.4.1,加个继电器用来控制车库门,这个比较正常。
后来又买了个8266开发板,也刷了tasmota6.4.1固件,结果没几分钟就重启一次,车库门不停的开关。
以下是SONOFF板的日志,是正常的
00:00:00 项目: sonoff Sonoff 版本 6.4.1(sonoff)-2_4_2
00:00:00 WIF: 连接到 AP1 tomato 模式: 11N 名称: sonoff1-4634...
00:00:04 WIF: 已连接
00:00:04 DNS: 初始化完成
00:00:04 HTP: Web 服务器地址: sonoff1-4634.local IP 地址: 192.168.5.90
07:05:31 MQT: 尝试连接...
07:05:31 MQT: 已连接
07:05:31 MQT: tele/sonoff1/LWT = 在线 (已保留)
07:05:31 MQT: cmnd/sonoff1/POWER =
07:05:31 MQT: tele/sonoff1/INFO1 = {"Module":"Sonoff Basic","Version":"6.4.1(sonoff)","FallbackTopic":"cmnd/DVES_B6921A_fb/","GroupTopic":"sonoffs"}
07:05:31 MQT: tele/sonoff1/INFO2 = {"WebServerMode":"Admin","Hostname":"sonoff1-4634","IPAddress":"192.168.5.90"}
07:05:31 MQT: tele/sonoff1/INFO3 = {"RestartReason":"Power on"}
07:05:31 MQT: stat/sonoff1/RESULT = {"POWER":"OFF"}
07:05:31 MQT: stat/sonoff1/POWER = OFF
07:05:39 MQT: tele/sonoff1/STATE = {"Time":"2019-12-08T07:05:39","Uptime":"0T00:00:14","Vcc":4.466,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER":"OFF","Wifi":{"AP":1,"SSId":"tomato","BSSId":"代替MAC地址","Channel":3,"RSSI":100}}
07:10:39 MQT: tele/sonoff1/STATE = {"Time":"2019-12-08T07:10:39","Uptime":"0T00:05:14","Vcc":4.466,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER":"OFF","Wifi":{"AP":1,"SSId":"tomato","BSSId":"代替MAC地址","Channel":3,"RSSI":100}}
07:13:34 CMD: pulsetime 8
07:13:34 MQT: stat/sonoff1/RESULT = {"PulseTime1":"8 (Active 8)"}
07:13:35 MQT: stat/sonoff1/RESULT = {"POWER":"OFF"}
07:13:35 MQT: stat/sonoff1/POWER = OFF
07:15:25 APP: 串口日志已禁用
07:15:39 MQT: tele/sonoff1/STATE = {"Time":"2019-12-08T07:15:39","Uptime":"0T00:10:14","Vcc":4.466,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER":"OFF","Wifi":{"AP":1,"SSId":"tomato","BSSId":"FE:7C111111","Channel":3,"RSSI":100}}
这是那个8266开发板的,过一会儿就自己重启一次,然后出个stat/sonoff1/POWER = ON stat/sonoff1/POWER = OFF,而正常的那个只是执行个stat/sonoff1/POWER = OFF。
00:00:00 项目: sonoff Sonoff 版本 6.4.1(sonoff)-2_4_2
00:00:00 WIF: 连接到 AP1 tomato 模式: 11N 名称: sonoff-ys1-6765...
00:00:04 WIF: 已连接
00:00:04 DNS: 初始化完成
00:00:04 HTP: Web 服务器地址: sonoff-ys1-6765.local IP 地址: 192.168.5.91
07:34:20 MQT: 尝试连接...
07:34:20 MQT: 已连接
07:34:20 MQT: tele/sonoff-ys1/LWT = 在线 (已保留)
07:34:20 MQT: cmnd/sonoff-ys1/POWER =
07:34:20 MQT: tele/sonoff-ys1/INFO1 = {"Module":"Generic","Version":"6.4.1(sonoff)","FallbackTopic":"cmnd/DVES_B3BA6D_fb/","GroupTopic":"sonoffs"}
07:34:20 MQT: tele/sonoff-ys1/INFO2 = {"WebServerMode":"Admin","Hostname":"sonoff-ys1-6765","IPAddress":"192.168.5.91"}
07:34:20 MQT: tele/sonoff-ys1/INFO3 = {"RestartReason":"Software/System restart"}
07:34:20 MQT: stat/sonoff-ys1/RESULT = {"POWER":"OFF"}
07:34:20 MQT: stat/sonoff-ys1/POWER = OFF
07:34:20 MQT: stat/sonoff-ys1/RESULT = {"POWER":"ON"}
07:34:20 MQT: stat/sonoff-ys1/POWER = ON
07:34:21 MQT: stat/sonoff-ys1/RESULT = {"POWER":"OFF"}
07:34:21 MQT: stat/sonoff-ys1/POWER = OFF
07:34:28 MQT: tele/sonoff-ys1/STATE = {"Time":"2019-12-08T07:34:28","Uptime":"0T00:00:14","Vcc":2.976,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER":"OFF","Wifi":{"AP":1,"SSId":"tomato","BSSId":"代替MAC地址","Channel":3,"RSSI":70}}
07:34:43 DNS: 初始化完成
07:34:44 MQT: 尝试连接...
07:34:44 MQT: 已连接
07:34:44 MQT: tele/sonoff-ys1/LWT = 在线 (已保留)
07:34:44 MQT: cmnd/sonoff-ys1/POWER =
07:34:44 MQT: stat/sonoff-ys1/RESULT = {"POWER":"ON"}
07:34:44 MQT: stat/sonoff-ys1/POWER = ON
07:34:45 MQT: stat/sonoff-ys1/RESULT = {"POWER":"OFF"}
07:34:45 MQT: stat/sonoff-ys1/POWER = OFF
07:37:32 MQT: 尝试连接...
07:37:35 MQT: 已连接
07:37:35 MQT: tele/sonoff-ys1/LWT = 在线 (已保留)
07:37:35 MQT: cmnd/sonoff-ys1/POWER =
07:37:36 MQT: stat/sonoff-ys1/RESULT = {"POWER":"ON"}
07:37:36 MQT: stat/sonoff-ys1/POWER = ON
07:37:36 MQT: stat/sonoff-ys1/RESULT = {"POWER":"OFF"}
07:37:36 MQT: stat/sonoff-ys1/POWER = OFF
07:39:31 MQT: tele/sonoff-ys1/STATE = {"Time":"2019-12-08T07:39:31","Uptime":"0T00:05:17","Vcc":2.973,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER":"OFF","Wifi":{"AP":1,"SSId":"tomato","BSSId":"代替MAC地址","Channel":3,"RSSI":72}}
感觉是连接MQTT的问题,固件是一样的,为什么8266开发板的在重启时为什么会执行次stat/sonoff-ys1/POWER = OFF,求大神指教
|
|