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.08k stars 4.78k forks source link

SM2135 LED Bulb - switch between rgb/wy mode causes restart #10356

Closed SintraDD closed 3 years ago

SintraDD commented 3 years ago

PROBLEM DESCRIPTION

An LED lamp (MagicHome) with SM2135 cannot be switched between rgb/wy mode the bulb randomly reset (software watchdog) on power on/power off

REQUESTED INFORMATION

Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!

- [ ] If using rules, provide the output of this command: `Backlog Rule1; Rule2; Rule3`:
```lua
  Rules output here:
- [ ] Set `weblog` to 4 and then, when you experience your issue, provide the output of the Console log:
```lua
  Console output here:

TO REPRODUCE

Switch form RGB to WY Mode via the GUI causes reboot {"RestartReason":{"Exception":4,"Reason":"Software Watchdog","EPC":["400043e6","00000000","00000000"],"EXCVADDR":"00000000","DEPC":"00000000","CallChain":["40106a8f","4000410f","40004a3c","40106d20","40201c38","40242ef6","40201c88","40103918","40207fd7","4021543c","40230895","40101234","40101258","40101234","4021a135","4021a2c2","4021a376","4021a498","4021a7c2","4021a8e9","40229b6c","4020d2a4","40229ee1","401011ca","4021f8f1","40231147","40100a40","402459c8","40101e49"]}

EXPECTED BEHAVIOUR

like described at https://github.com/curzon01/Tasmota/commit/b42955bd084d4ff605fcf6e4014f9a357dd86dd4 all channels should be power off, before power on rgb or wy mode

SCREENSHOTS

If applicable, add screenshots to help explain your problem.

ADDITIONAL CONTEXT

on this lamp GPIO4 is SM2135 Data, GPIO5 is SM2135 CLK i used model mode 4 in config, because this mode is the onliy one, where i could power off the bulb with the off button The Lamp has a ESP8285 with 2MB R and B Channel is crossed, you must use "SetOption37 54" (SM2135 Ch1=r, Ch2=G, Ch3=B, Ch4=warm, Ch5=cold)

(Please, remember to close the issue when the problem has been addressed)

ascillato2 commented 3 years ago

Please, could you be so kind on completing the troubleshooting template in order to have more information so as to properly help you?

Remember to read the Contributing Guideline and Policy. Thanks.


Support Information

See Docs for more information. See Chat for more user experience. See Community for forum. See Code of Conduct