-
Notifications
You must be signed in to change notification settings - Fork 409
Description
Describe the bug
This RGBCCT lightbulb I flashed OpenBeken to, worked wonderfully for weeks once adjusted for power save and current limits. I controlled it through Home Assistant connected to my local WiFi network with a static IP. The device worked flawlessly for several weeks, but one day it suddenly stopped responding to commands. Safe mode works well and AP mode accepts clients without any issues. But it cannot connect to the local network once configured, whether through DHCP or with a static IP, I tried both. Erasing the flash and changing the MAC address didn't fix the issue. I've tried several other APs including my mobile hotspot and it couldn't join a single one.
I did a teardown surgery on it and reflashed it but it didn't work. Once reset it became apparent only the AP mode worked. Upon attaching UART wires I found out it tries to connect to my local network and even though it seems to succeed, an error code is returned and tries again forever. I found no information anywhere about this error code and I'm not familiar with the source code to figure out a solution, so I request help here.
Firmware:
- Version: 1.18.177
- Device: Generic Tuya lightbulb based on W509Z2 kit
- Chip/model: LN882HKI
- Device config: RGBCCT based on BP5758
To Reproduce
Steps to reproduce the behavior:
- Establish UART connection on RX1/TX1 pair at 921600 baud
- Reset device in safe mode
- Fill out SSID and password, set a static IP configuration
- Enable WiFi network mode and restart device
- See UART logs
Screenshots
Additional context
This is my only IoT device and it used to work well for 2 weeks.
