Closed idfxken closed 4 years ago
Thanks for reporting. This has come up a couple of times (#600, probably #523).
I have unfortunately not found a reliable way to reproduce the issue, which obviously makes it tricky to fix.
My best guess so far is that there's a memory leak, and something in the chain of settings parsing/loading, serializing/saving is barfing and not handling the failure gracefully.
Will definitely look into this when I have the chance, but if anyone has a reliable way to reproduce the issue, that'd make it 100x easier to fix.
Ill comment in #600 what I think it can be in my case
I have the same issue on multiple locations. To reproduce: -Leave it run loooong enough -Change some setting or upload a settings.json -Soft reboot Settings and Devices are gone, but it will stay connected. Hw reset button or soft reboot doesn't help, I have to power cycle the unit and restore settings to make it work again.
It just happened for the 3rd time: lighthub/about:
{"firmware":"milight-hub","version":"1.10.5","ip_address":"192.168.1.24","reset_reason":"External System","variant":"nodemcuv2","free_heap":6408,"arduino_version":"2_4_2","queue_stats":{"length":0,"dropped_packets":47}}
No idea if this is usefull: While all my settings are completely gone, all the lights can still be controlled perfectly except 1 group, the exact same group alerted me the last time aswell.
I'm going to close this as a duplicate of #600.
Describe the bug
When I came home, my lights didn't function, and after checking the milighthub has lost all settings (settings.json contains only "{ }" )
Steps to reproduce
Leave it running long enough.
Setup information
ha with autodiscovery , mixed cct, cct+rgbww, + rgb lights (around 7 groups)
Firmware version
1.10.5
Output of http://milight-hub.local/about
Output of http://milight-hub.local/settings
Additional context
Weirdly it did stay connected to my wpa2 wifi?
Stupid me forgot to backup the settings aswell...