arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.2k stars 4.81k forks source link

Turning off RGBCWWW bulbs crashes Tasmota #20120

Closed jsprenkle closed 11 months ago

jsprenkle commented 11 months ago

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!

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"}}

- [ ] If using rules, provide the output of this command: `Backlog Rule1; Rule2; Rule3`:
```lua
  Rules output here: N/A

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"}}}

- [X] Set `weblog` to 4 and then, when you experience your issue, provide the output of the Console log:
```lua
  Console output here:

(This is post reboot dump. Once you hit the toggle button you cannot return to the console to obtain output)

22:14:36.980 MQT: stat/tasmota_DF322A/RESULT = {"GPIOs2":{"6656":"TM1637 DIO","6688":"DLP Tx","6720":"DLP Rx","6752":"SSD1351 DC","6784":"XPT2046 CS","6816":"CSE7761 Tx","6848":"CSE7761 Rx","6880":"VL53LXX XSHUT","6912":"MAX7219 CLK","6944":"MAX7219 DIN","6976":"MAX7219 CS","7008":"TFmini+ TX","7040":"TFmini+ RX","7072":"ZC Pulse","7104":"Input","7136":"I2S DOUT","7168":"I2S BCLK","7200":"I2S WS","7232":"I2S DIN","7264":"I2S WS IN","7296":"I2S BCLK IN","7328":"Interrupt","7360":"MCP2515 CS","7392":"HRG15 Tx","7424":"HRG15 Rx","7456":"VINDRIKTNING","7488":"BL0939 Rx","7520":"BL0942 Rx","7552":"HM330X SET","7584":"Heartbeat","7616":"Heartbeat_i","7648":"74x595 SRCLK","7680":"74x595 RCLK","7712":"74x595 OE","7744":"74x595 SER","7776":"SolaxX1 RTS","7808":"Option E","7840":"SDM230 Tx","7872":"SDM230 Rx","7904":"ADC MQ","7936":"CM110x TX","7968":"CM110x RX","8000":"BL6523 Tx","8032":"BL6523 Rx","8064":"ADE7880 IRQ","8096":"Reset","8128":"MS01","8160":"SDIO CMD","8192":"SDIO CLK","8224":"SDIO D0","8256":"SDIO D1","8288":"SDIO D2","8320":"SDIO D3","8352":"Flowrate","8384":"BP5758D Clk","8416":"BP5758D Dat","8448":"SM2335 Clk","8480":"SM2335 Dat","8512":"MP3 Busy","8544":"TM1621 CS","8576":"TM1621 WR","8608":"TM1621 RD","8640":"TM1621 DAT","8672":"Relay_b","8704":"Relay_bi","8736":"I2S MCLK","8768":"ModBr Tx","8800":"ModBr Rx","8832":"ADE7953 RST","8864":"NrgMbs Tx","8896":"NrgMbs Rx","8928":"ADE7953 CS","8960":"Dali RX","8992":"Dali TX","9024":"BP1658CJ Clk","9056":"BP1658CJ Dat","9088":"Dingtian CLK","9120":"Dingtian SDI","9152":"Dingtian Q7","9184":"Dingtian PL","9216":"Dingtian RCK","9248":"LD2410 Tx","9280":"LD2410 Rx","9312":"ModBr Tx Ena","9344":"NrgMbs Tx Ena","9376":"ME007 Tri","9408":"ME007 Rx","9440":"TuyaMCUBr Tx","9472":"TuyaMCUBr Rx","9504":"BioPDU PZEM0XX Tx","9536":"BioPDU PZEM016 Rx","9568":"BioPDU Bit","9600":"MCP23xxx Int","9632":"MCP23Sxx CS","9664":"PCF8574 Int","9696":"LoxO2 RX","9728":"GM861 Tx","9760":"GM861 Rx","9792":"Dingtian OE","9824":"HDMI CEC","9856":"HC8 Rx","9888":"I2S DAC"}}
22:14:37.013 SRC: MQTT
22:14:37.015 CMD: Grp 0, Cmd 'SWITCHDEBOUNCE', Idx 1, Len 0, Pld -99, Data ''
22:14:37.020 MQT: stat/tasmota_DF322A/RESULT = {"SwitchDebounce":50}
22:14:37.066 SRC: MQTT
22:14:37.068 CMD: Grp 0, Cmd 'BLINKTIME', Idx 1, Len 0, Pld -99, Data ''
22:14:37.072 MQT: stat/tasmota_DF322A/RESULT = {"BlinkTime":10}
22:14:37.119 SRC: MQTT
22:14:37.122 CMD: Grp 0, Cmd 'MQTTLOG', Idx 1, Len 0, Pld -99, Data ''
22:14:37.126 MQT: stat/tasmota_DF322A/RESULT = {"MqttLog":0}
22:14:37.164 SRC: MQTT
22:14:37.166 CMD: Grp 0, Cmd 'PULSETIME', Idx 2, Len 0, Pld -99, Data ''
22:14:37.170 MQT: stat/tasmota_DF322A/RESULT = {"PulseTime2":{"Set":0,"Remaining":0}}
22:14:37.216 SRC: MQTT
22:14:37.219 CMD: Grp 0, Cmd 'PULSETIME', Idx 4, Len 0, Pld -99, Data ''
22:14:37.223 MQT: stat/tasmota_DF322A/RESULT = {"PulseTime4":{"Set":0,"Remaining":0}}
22:14:37.268 SRC: MQTT
22:14:37.271 CMD: Grp 0, Cmd 'PULSETIME', Idx 6, Len 0, Pld -99, Data ''
22:14:37.276 MQT: stat/tasmota_DF322A/RESULT = {"PulseTime6":{"Set":0,"Remaining":0}}
22:14:37.313 SRC: MQTT
22:14:37.316 CMD: Grp 0, Cmd 'PULSETIME', Idx 8, Len 0, Pld -99, Data ''
22:14:37.320 MQT: stat/tasmota_DF322A/RESULT = {"PulseTime8":{"Set":0,"Remaining":0}}
22:14:37.366 SRC: MQTT
22:14:37.368 CMD: Grp 0, Cmd 'TEMPLATE', Idx 1, Len 0, Pld -99, Data ''
22:14:37.374 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}
22:14:37.419 SRC: MQTT
22:14:37.422 CMD: Grp 0, Cmd 'BUTTONDEBOUNCE', Idx 1, Len 0, Pld -99, Data ''
22:14:37.426 MQT: stat/tasmota_DF322A/RESULT = {"ButtonDebounce":50}
22:14:37.472 SRC: MQTT
22:14:37.474 CMD: Grp 0, Cmd 'BLINKCOUNT', Idx 1, Len 0, Pld -99, Data ''
22:14:37.479 MQT: stat/tasmota_DF322A/RESULT = {"BlinkCount":10}
22:14:37.515 SRC: MQTT
22:14:37.518 CMD: Grp 0, Cmd 'PULSETIME', Idx 3, Len 0, Pld -99, Data ''
22:14:37.523 MQT: stat/tasmota_DF322A/RESULT = {"PulseTime3":{"Set":0,"Remaining":0}}
22:14:37.570 SRC: MQTT
22:14:37.573 CMD: Grp 0, Cmd 'PULSETIME', Idx 7, Len 0, Pld -99, Data ''
22:14:37.577 MQT: stat/tasmota_DF322A/RESULT = {"PulseTime7":{"Set":0,"Remaining":0}}
22:14:37.612 SRC: MQTT
22:14:37.614 CMD: Grp 0, Cmd 'GPIO', Idx 1, Len 0, Pld -99, Data ''
22:14:37.618 MQT: stat/tasmota_DF322A/RESULT = {"GPIO":"Not supported"}
22:14:37.664 SRC: MQTT
22:14:37.666 CMD: Grp 0, Cmd 'PULSETIME', Idx 1, Len 0, Pld -99, Data ''
22:14:37.671 MQT: stat/tasmota_DF322A/RESULT = {"PulseTime1":{"Set":0,"Remaining":0}}
22:14:37.716 SRC: MQTT
22:14:37.719 CMD: Grp 0, Cmd 'INTERLOCK', Idx 1, Len 0, Pld -99, Data ''
22:14:37.723 MQT: stat/tasmota_DF322A/RESULT = {"Interlock":"OFF"}
22:14:37.770 SRC: MQTT
22:14:37.772 CMD: Grp 0, Cmd 'PULSETIME', Idx 5, Len 0, Pld -99, Data ''
22:14:37.776 MQT: stat/tasmota_DF322A/RESULT = {"PulseTime5":{"Set":0,"Remaining":0}}
22:14:39.437 QPC: Reset
22:14:40.410 MQT: tele/tasmota_DF322A/STATE = {"Time":"2023-11-28T22:14:40","Uptime":"0T00:00:09","UptimeSec":9,"Heap":22,"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":94,"Signal":-53,"LinkCount":1,"Downtime":"0T00:00:03"}}
22:14:41.401 APP: Boot Count 31
22:14:41.767 CFG: Saved to flash at F8, Count 100, Bytes 4096
22:14:45.425 MQT: tasmota/discovery/C45BBEDF322A/config = {"ip":"192.168.1.166","dn":"tasmota-DF322A","fn":["tasmota-DF322A",null,null,null,null,null,null,null],"hn":"tasmota-DF322A-4650","mac":"C45BBEDF322A","md":"Kauf Bulb","ty":0,"if":0,"ofln":"Offline","onln":"Online","state":["OFF","ON","TOGGLE","HOLD"],"sw":"13.2.0","t":"tasmota_DF322A","ft":"%prefix%/%topic%/","tp":["cmnd","stat","tele"],"rl":[2,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,0,0,0],"swc":[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],"swn":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"btn":[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,0,0,0,0],"so":{"4":0,"11":0,"13":0,"17":0,"20":0,"30":0,"68":0,"73":0,"82":0,"114":0,"117":0},"lk":1,"lt_st":5,"bat":0,"dslp":0,"sho":[],"sht":[],"ver":1} (retained)
22:14:45.435 MQT: tasmota/discovery/C45BBEDF322A/sensors = {"sn":{"Time":"2023-11-28T22:14:45"},"ver":1} (retained)

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.

s-hadinger commented 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 ?

jsprenkle commented 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 ?

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"}}

jsprenkle commented 11 months ago

Is "LoadAvg 99" an issue with the watchdog timer?

sfromis commented 11 months ago

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?

s-hadinger commented 11 months ago

Is "LoadAvg 99" an issue with the watchdog timer?

No. LoadAvg 99 is normal when PMW is enabled

jsprenkle commented 11 months ago

The command you should try was Status 12, not Status12 - spaces are very significant to computers 😉 Seeing LoadAvg 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

sfromis commented 11 months ago

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.

jsprenkle commented 11 months ago

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.

jsprenkle commented 11 months ago

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}}

sfromis commented 11 months ago

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", .....

jsprenkle commented 11 months ago

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", .....

Good. Glad it provided some useful info, even if it just eliminating something from consideration.

s-hadinger commented 11 months ago

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