openshwprojects / OpenBK7231T_App

Open source firmware (Tasmota/Esphome replacement) for BK7231T, BK7231N, BL2028N, T34, XR809, W800/W801, W600/W601, BL602 and LN882H
https://openbekeniot.github.io/webapp/devicesList.html
1.42k stars 251 forks source link

BL602 MagicHome power on/reboot put the lights on for a second #940

Open cirelkc opened 11 months ago

cirelkc commented 11 months ago

Describe the bug A clear and concise description of what the bug is.

Firmware:

To Reproduce Steps to reproduce the behavior:

Additional context I'm using another switch to control the power for 12v PSU which powers the magic home device. It only power on the device whenever i want the light on. In this setup, the lights will on for a short while then set the right temp / brightness.

Expect to resume to previous state (brightness & temp) after power loss / reboot. Other than this, the firmware is perfect.

openshwprojects commented 11 months ago

Hello, I think I heard it mentioned some time ago on Elektroda forum. It seems that something toggles the pin in the BL602 SDK itself, I may need to find time to investigate that. If you know how to compile a simlple BL602 hello world, you could check if this behaviour persists without OBK on top of that, hm...