Closed jsprenkle closed 11 months ago
I will try to reproduce, but it looks like a power issue on the device. Can you do Status 12
right after the restart ?
I will try to reproduce, but it looks like a power issue on the device. Can you do
Status 12
right after the restart ?
00:05:16.038 CMD: status12 00:05:16.046 MQT: stat/tasmota_DF322A/STATUS = {"Status":{"Module":0,"DeviceName":"tasmota-DF322A","FriendlyName":["tasmota-DF322A"],"Topic":"tasmota_DF322A","ButtonTopic":"0","Power":1,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":1,"InfoRetain":0,"StateRetain":0,"StatusRetain":0}}
Then there's telemetry
00:07:20.411 MQT: tele/tasmota_DF322A/STATE = {"Time":"2023-11-29T00:07:20","Uptime":"0T00:05:09","UptimeSec":309,"Heap":21,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":31,"Color":"28114F0000","HSBColor":"262,78,31","White":0,"CT":153,"Channel":[15,6,31,0,0],"Scheme":0,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"Sprenkle","BSSId":"F4:F5:E8:6A:44:8F","Channel":1,"Mode":"11n","RSSI":90,"Signal":-55,"LinkCount":1,"Downtime":"0T00:00:03"}}
Is "LoadAvg 99" an issue with the watchdog timer?
The command you should try was Status 12
, not Status12
- spaces are very significant to computers :wink:
Seeing LoadAvg 99
is no issue; but normal part of PWM operation.
Does it also happen at lower brightness?
Is "LoadAvg 99" an issue with the watchdog timer?
No. LoadAvg 99 is normal when PMW is enabled
The command you should try was
Status 12
, notStatus12
- spaces are very significant to computers 😉 SeeingLoadAvg 99
is no issue; but normal part of PWM operation.Does it also happen at lower brightness?
I used the status12 command as given the first time but got an unknown command response. I assume when I copied and pasted it the browser added some nice stuff like utf encoding. Anyway, here's the data you asked for:
15:23:32.187 CMD: Status12
15:23:32.195 MQT: stat/tasmota_DF322A/STATUS = {"Status":{"Module":0,"DeviceName":"tasmota-DF322A","FriendlyName":["tasmota-DF322A"],"Topic":"tasmota_DF322A","ButtonTopic":"0","Power":1,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":1,"InfoRetain":0,"StateRetain":0,"StatusRetain":0}}
Yes, it does happen at lower brightness. I used the 'dimmer' command. Here's the command that sets up the failure:
backlog Color1 #28114F0000 ; Dimmer 31 ; Power0 1
Not clear what you mean around Status 12
. Just do not do it as Status12
, but Status 12
(with a space) as asked for. And it should be after a restart with the failure, without further restarts having been done.
Issue commands to setup failure:
17:07:26.107 CMD: backlog Color1 #28114F0000 ; Dimmer 31 ; Power0 1
17:07:26.129 MQT: stat/tasmota_DF322A/RESULT = {"POWER":"ON","Dimmer":31,"Color":"28114F0000","HSBColor":"262,78,31","White":0,"CT":153,"Channel":[15,6,31,0,0]}
17:07:26.336 MQT: stat/tasmota_DF322A/RESULT = {"POWER":"ON","Dimmer":31,"Color":"28114F0000","HSBColor":"262,78,31","White":0,"CT":153,"Channel":[15,6,31,0,0]}
17:07:26.543 MQT: stat/tasmota_DF322A/RESULT = {"POWER":"ON"}
17:07:26.547 MQT: stat/tasmota_DF322A/POWER = ON (retained)
went to web admin console and hit the "Toggle" button. Device rebooted
00:00:00.001 HDW: ESP8266EX
00:00:00.050 CFG: Loaded from flash at FA, Count 106
00:00:00.057 QPC: Count 1
00:00:00.085 Project tasmota - tasmota-DF322A Version 13.2.0(tasmota)-2_7_4_9(2023-10-19T09:02:07)
00:00:00.526 WIF: Connecting to AP1 Sprenkle Channel 1 BSSId F4:F5:E8:6A:44:8F in mode 11n as tasmota-DF322A-4650...
00:00:01.760 WIF: Connected
00:00:02.010 HTP: Web server active on tasmota-DF322A-4650 with IP address 192.168.1.166
17:08:30.011 MQT: Attempting connection...
17:08:30.031 MQT: Connected
17:08:30.034 MQT: tele/tasmota_DF322A/LWT = Online (retained)
17:08:30.035 MQT: cmnd/tasmota_DF322A/POWER =
17:08:30.041 MQT: tele/tasmota_DF322A/INFO1 = {"Info1":{"Module":"Kauf Bulb","Version":"13.2.0(tasmota)","FallbackTopic":"cmnd/DVES_DF322A_fb/","GroupTopic":"cmnd/tasmotas/"}}
17:08:30.043 MQT: tele/tasmota_DF322A/INFO2 = {"Info2":{"WebServerMode":"Admin","Hostname":"tasmota-DF322A-4650","IPAddress":"192.168.1.166"}}
17:08:30.046 MQT: tele/tasmota_DF322A/INFO3 = {"Info3":{"RestartReason":"Hardware Watchdog","BootCount":37}}
17:08:30.048 MQT: stat/tasmota_DF322A/RESULT = {"POWER":"ON"}
17:08:30.049 MQT: stat/tasmota_DF322A/POWER = ON (retained)
17:08:33.416 QPC: Reset
17:08:34.404 MQT: tele/tasmota_DF322A/STATE = {"Time":"2023-11-29T17:08:34","Uptime":"0T00:00:08","UptimeSec":8,"Heap":26,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":57,"MqttCount":1,"POWER":"ON","Dimmer":31,"Color":"28114F0000","HSBColor":"262,78,31","White":0,"CT":153,"Channel":[15,6,31,0,0],"Scheme":0,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"Sprenkle","BSSId":"F4:F5:E8:6A:44:8F","Channel":1,"Mode":"11n","RSSI":90,"Signal":-55,"LinkCount":1,"Downtime":"0T00:00:03"}}
Issued "status 12" command (with a space) as requested:
17:09:52.011 CMD: status 12
17:09:52.016 MQT: stat/tasmota_DF322A/RESULT = {"Command":"Error"}
Issued "status12" without a space, since the previous command does not work:
17:11:17.843 CMD: status12
17:11:17.851 MQT: stat/tasmota_DF322A/STATUS = {"Status":{"Module":0,"DeviceName":"tasmota-DF322A","FriendlyName":["tasmota-DF322A"],"Topic":"tasmota_DF322A","ButtonTopic":"0","Power":1,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":1,"InfoRetain":0,"StateRetain":0,"StatusRetain":0}}
To shortcut things a bit, I will repeat the whole exercise issuing the status command without a space immediately following the reboot. I'll do that in a separate post for clarity.
Setup for failure:
17:17:54.512 CMD: backlog Color1 #28114F0000 ; Dimmer 31 ; Power0 1
17:17:54.533 MQT: stat/tasmota_DF322A/RESULT = {"POWER":"ON","Dimmer":31,"Color":"28114F0000","HSBColor":"262,78,31","White":0,"CT":153,"Channel":[15,6,31,0,0]}
17:17:54.745 MQT: stat/tasmota_DF322A/RESULT = {"POWER":"ON","Dimmer":31,"Color":"28114F0000","HSBColor":"262,78,31","White":0,"CT":153,"Channel":[15,6,31,0,0]}
17:17:54.947 MQT: stat/tasmota_DF322A/RESULT = {"POWER":"ON"}
17:17:54.951 MQT: stat/tasmota_DF322A/POWER = ON (retained)
Press toggle button on main menu
00:00:00.001 HDW: ESP8266EX
00:00:00.050 CFG: Loaded from flash at F9, Count 107
00:00:00.057 QPC: Count 1
00:00:00.085 Project tasmota - tasmota-DF322A Version 13.2.0(tasmota)-2_7_4_9(2023-10-19T09:02:07)
00:00:00.525 WIF: Connecting to AP1 Sprenkle Channel 1 BSSId F4:F5:E8:6A:44:8F in mode 11n as tasmota-DF322A-4650...
00:00:01.762 WIF: Connected
00:00:02.012 HTP: Web server active on tasmota-DF322A-4650 with IP address 192.168.1.166
17:18:49.005 MQT: Attempting connection...
17:18:49.021 MQT: Connected
17:18:49.024 MQT: tele/tasmota_DF322A/LWT = Online (retained)
17:18:49.026 MQT: cmnd/tasmota_DF322A/POWER =
17:18:49.031 MQT: tele/tasmota_DF322A/INFO1 = {"Info1":{"Module":"Kauf Bulb","Version":"13.2.0(tasmota)","FallbackTopic":"cmnd/DVES_DF322A_fb/","GroupTopic":"cmnd/tasmotas/"}}
17:18:49.034 MQT: tele/tasmota_DF322A/INFO2 = {"Info2":{"WebServerMode":"Admin","Hostname":"tasmota-DF322A-4650","IPAddress":"192.168.1.166"}}
17:18:49.036 MQT: tele/tasmota_DF322A/INFO3 = {"Info3":{"RestartReason":"Hardware Watchdog","BootCount":38}}
17:18:49.038 MQT: stat/tasmota_DF322A/RESULT = {"POWER":"ON"}
17:18:49.040 MQT: stat/tasmota_DF322A/POWER = ON (retained)
17:18:52.418 QPC: Reset
17:18:53.407 MQT: tele/tasmota_DF322A/STATE = {"Time":"2023-11-29T17:18:53","Uptime":"0T00:00:09","UptimeSec":9,"Heap":27,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":45,"MqttCount":1,"POWER":"ON","Dimmer":31,"Color":"28114F0000","HSBColor":"262,78,31","White":0,"CT":153,"Channel":[15,6,31,0,0],"Scheme":0,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"Sprenkle","BSSId":"F4:F5:E8:6A:44:8F","Channel":1,"Mode":"11n","RSSI":96,"Signal":-52,"LinkCount":1,"Downtime":"0T00:00:03"}}
Issued "status12"
17:19:34.458 CMD: status12 17:19:34.465 MQT: stat/tasmota_DF322A/STATUS = {"Status":{"Module":0,"DeviceName":"tasmota-DF322A","FriendlyName":["tasmota-DF322A"],"Topic":"tasmota_DF322A","ButtonTopic":"0","Power":1,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":1,"InfoRetain":0,"StateRetain":0,"StatusRetain":0}}
Do not waste time with Status12
, it has to be Status 12
, but it only provides details if used after a crash of Tasmota. After a restart which was not due to a crash, the error is the correct result. And "Hardware Watchdog" does not count as a "crash".
To illustrate, here's an example of using Status 12
(with a space) after a crash:
18:33:47.167 MQT: xxxxxxxx/stat/STATUS12 = {"StatusSTK":{"Exception":28,"Reason":"Exception","EPC", .....
Do not waste time with
Status12
, it has to beStatus 12
, but it only provides details if used after a crash of Tasmota. After a restart which was not due to a crash, the error is the correct result. And "Hardware Watchdog" does not count as a "crash".To illustrate, here's an example of using
Status 12
(with a space) after a crash:18:33:47.167 MQT: xxxxxxxx/stat/STATUS12 = {"StatusSTK":{"Exception":28,"Reason":"Exception","EPC", .....
Good. Glad it provided some useful info, even if it just eliminating something from consideration.
I cannot reproduce. I did the same configuration on a Wemos D1 Mini, no crash. I really suspect a power issue on the device. It's not a software problem
PROBLEM DESCRIPTION
Hitting "Toggle" button on web admin page causes device to reboot.
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:21:55:54.683 CMD: Grp 0, Cmd 'BACKLOG', Idx 1, Len 26, Pld -99, Data 'Template; Module; GPIO 255' 21:55:54.700 SRC: Backlog 21:55:54.703 CMD: Grp 0, Cmd 'TEMPLATE', Idx 1, Len 0, Pld -99, Data '' 21:55:54.710 MQT: stat/tasmota_DF322A/RESULT = {"NAME":"Kauf Bulb","GPIO":[0,0,0,0,416,419,0,0,417,420,418,0,0,0],"FLAG":0,"BASE":18} 21:55:54.911 SRC: Backlog 21:55:54.914 CMD: Grp 0, Cmd 'MODULE', Idx 1, Len 0, Pld -99, Data '' 21:55:54.918 MQT: stat/tasmota_DF322A/RESULT = {"Module":{"0":"Kauf Bulb"}} 21:55:55.116 SRC: Backlog 21:55:55.119 CMD: Grp 0, Cmd 'GPIO', Idx 1, Len 3, Pld 255, Data '255' 21:55:55.128 MQT: stat/tasmota_DF322A/RESULT = {"GPIO0":{"0":"None"},"GPIO1":{"0":"None"},"GPIO2":{"0":"None"},"GPIO3":{"0":"None"},"GPIO4":{"416":"PWM1"},"GPIO5":{"419":"PWM4"},"GPIO9":{"0":"None"},"GPIO10":{"0":"None"},"GPIO12":{"417":"PWM2"},"GPIO13":{"420":"PWM5"},"GPIO14":{"418":"PWM3"},"GPIO15":{"0":"None"},"GPIO16":{"0":"None"},"GPIO17":{"0":"None"}}
Status 0
:21:57:45.684 CMD: status 0 21:57:45.686 SRC: WebConsole from 192.168.1.124 21:57:45.689 CMD: Grp 0, Cmd 'STATUS', Idx 1, Len 1, Pld 0, Data '0' 21:57:45.696 MQT: stat/tasmota_DF322A/STATUS = {"Status":{"Module":0,"DeviceName":"tasmota-DF322A","FriendlyName":["tasmota-DF322A"],"Topic":"tasmota_DF322A","ButtonTopic":"0","Power":1,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":1,"InfoRetain":0,"StateRetain":0,"StatusRetain":0}} 21:57:45.705 MQT: stat/tasmota_DF322A/STATUS1 = {"StatusPRM":{"Baudrate":115200,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://ota.tasmota.com/tasmota/release/tasmota.bin.gz","RestartReason":"Hardware Watchdog","Uptime":"0T00:34:38","StartupUTC":"2023-11-28T20:23:07","Sleep":50,"CfgHolder":4617,"BootCount":30,"BCResetTime":"2023-11-27T23:13:13","SaveCount":80,"SaveAddress":"F4000"}} 21:57:45.715 MQT: stat/tasmota_DF322A/STATUS2 = {"StatusFWR":{"Version":"13.2.0(tasmota)","BuildDateTime":"2023-10-19T09:02:07","Boot":31,"Core":"2_7_4_9","SDK":"2.2.2-dev(38a443e)","CpuFrequency":80,"Hardware":"ESP8266EX","CR":"373/699"}} 21:57:45.725 MQT: stat/tasmota_DF322A/STATUS3 = {"StatusLOG":{"SerialLog":0,"WebLog":3,"MqttLog":4,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["Sprenkle",""],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00008029","2805C80001000600003C5A0A192800000000","00000080","00806000","00004000","00000000"]}} 21:57:45.740 MQT: stat/tasmota_DF322A/STATUS4 = {"StatusMEM":{"ProgramSize":635,"Free":368,"Heap":19,"ProgramFlashSize":1024,"FlashSize":1024,"FlashChipId":"146085","FlashFrequency":40,"FlashMode":"DOUT","Features":["00000809","8F9AC787","04368001","000000CF","010013C0","C000F981","00004004","00001000","54000020","00000080"],"Drivers":"1,2,3,4,5,6,7,8,9,10,12,16,18,19,20,21,22,24,26,27,29,30,35,37,45,62,68","Sensors":"1,2,3,4,5,6","I2CDriver":"7"}} 21:57:45.747 MQT: stat/tasmota_DF322A/STATUS5 = {"StatusNET":{"Hostname":"tasmota-DF322A-4650","IPAddress":"192.168.1.166","Gateway":"192.168.1.1","Subnetmask":"255.255.255.0","DNSServer1":"192.168.1.1","DNSServer2":"0.0.0.0","Mac":"C4:5B:BE:DF:32:2A","Webserver":2,"HTTP_API":1,"WifiConfig":4,"WifiPower":17.0}} 21:57:45.755 MQT: stat/tasmotaDF322A/STATUS6 = {"StatusMQT":{"MqttHost":"192.168.1.234","MqttPort":1883,"MqttClientMask":"DVES%06X","MqttClient":"DVES_DF322A","MqttUser":"DVES_USER","MqttCount":1,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30,"SOCKET_TIMEOUT":4}} 21:57:45.765 MQT: stat/tasmota_DF322A/STATUS7 = {"StatusTIM":{"UTC":"2023-11-28T20:57:45","Local":"2023-11-28T21:57:45","StartDST":"2023-03-26T02:00:00","EndDST":"2023-10-29T03:00:00","Timezone":"+01:00","Sunrise":"08:18","Sunset":"16:57"}} 21:57:45.773 MQT: stat/tasmota_DF322A/STATUS10 = {"StatusSNS":{"Time":"2023-11-28T21:57:45"}} 21:57:45.784 MQT: stat/tasmota_DF322A/STATUS11 = {"StatusSTS":{"Time":"2023-11-28T21:57:45","Uptime":"0T00:34:38","UptimeSec":2078,"Heap":19,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":31,"Color":"4F4F4F0000","HSBColor":"262,0,31","White":0,"CT":153,"Channel":[31,31,31,0,0],"Scheme":0,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"Sprenkle","BSSId":"F4:F5:E8:6A:44:8F","Channel":1,"Mode":"11n","RSSI":86,"Signal":-57,"LinkCount":1,"Downtime":"0T00:00:04"}}}
TO REPRODUCE
Steps to reproduce the behavior:
Console command: backlog Color1 #28114F0000 ; Dimmer 31 ; Power0 1 Press "Toggle" button on main web admin menu.
EXPECTED BEHAVIOUR
A clear and concise description of what you expected to happen. Bulb to turn off
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here. Information section from web admin page notes reboot reason as "Hardware Watchdog"
(Please, remember to close the issue when the problem has been addressed) Sure.