My light has started randomly turning on for no reason. Is there a log available somewhere to see what is triggering it to turn on?
most in this case ist the Power connect a capaciter 470uF to the Vin and Gnd as near as to ESP as you can do it.
secondly there is the RST this may give the chip a Rest pulse if it becomes GND earth signal
AT this time of the Year and specialy NORTH of 50 Deg Earth the signal may come from SPACE
CORONAL Sun Flair
Nothing has changed on the device in months. Are there any logs to see if this is the cause?
Are you connected to a HomeAssistant setup?
What are you using to power your ESP?
What are you using to power your LEDs?
Whatās the basic wiring diagram?
Itās not connected to Home Assistant, but I do have it connected to Home Bridge and Alexa.
This is the board.
I have the data connected to pin D2. The leds are powered directly from the USB C brick I am using to power the ESP board. Here is a basic wiring diagram.
More reports like this lately . Does it mean your esp reboots or just wled turn on ? you can check this by continuously pinging the ip to see which case is that .
If wled reboots then you would need to find the reason for that ( version , wiring ā¦etc ) but if not then might be something external is turning it on . In all cases to mitigate the issue until you verify , make sure you have setup the led preference page with āTurn LEDs on after power up/resetā unchecked and also make sure to set preset 0 at boot ( or use a preset at boot that is with black color ) .
For log you could use debug build flags or use the bins from here WLED-wemos-shield/resources/Firmware/@Aircoookie/Dev/0.15.0-b6/Debug_builds at master Ā· srg74/WLED-wemos-shield Ā· GitHub
You can also click on the āInfoā button and it will show you the devices uptime.
Sure you can do that but i never go to ui as it might be a while until a reboot is there
@ALDIY @Jinx thank you both for the ideas. Iāll try that tomorrow. It doesnāt appear to be rebooting, but I hadnāt thought to check that. Have there been other reports of this @ALDIY ?
Yes i seen a few , might be even before and I missed them . As this could be HW related so no way to say its the same case each time
I have the same board. Also see ārandomly turning onā - when I do, itās because my Hubitat hub somehow makes the ESP reboot and it was set to LED Preferences > Apply preset [ x ] at boot.
āApply presetā apparently overrides āOff at Sunriseā in the Timers and Macros.
I set x=0 which āuses values from aboveā - though Iām not sure what value that would be as I donāt see any other presets specified.
As mentioned, you might try this. Though the real key would be confirm if it is rebooting and determine why.
Actually another thing. I donāt know how or why, but back in older WLED days 13.x I think⦠I had an issue where sometimes lights would turn on from having some of the sync group check boxes checked, even though sync was off. For the heck of it if you are not using sync I would uncheck the different groups. Not likely the issue here, but still a safe option
Thank You everyone. I will give all of these things a try. I need to spend some time sitting in front of it and see what it does when it turns itself on. Iām also going to temporarily remove Alexa and HomeKit (Home Bridge) control.
We did just install a Hubitat hub a few days ago, but we didnāt add this as a device, so I donāt know how it could be impacting it.
solder a low ESR electrolytic capacitor between 3,3V and GND, if your board have a 3,3V outpot after the regulator IC. 470µF is a good choice. Soder so near, as possible
Did some testing tonight and @ALDIY you were right, itās rebooting, kind of. Itās not a full hardware reboot, more a restart.
So for background, I have this light turn on every night and sunset and auto launch a playlist of about a dozen presets. It changes ever 30 seconds.
To test, tonight I turned it on and let it run through its normal playlist, but I set the āon bootā preset to one I never use. Sure enough after it did its normal thing for a bit that preset all off a sudden started playing. I noticed the light was stuttering a little after too. Like it does when itās booting up.
Is there any way to tell why this is happening. I canāt easily access the board anymore and I just used the off the shelf installer.
@gitter2741 I did just install a Hubitat hub a few days ago, but itās not setup to control this device. Is yours setup to control your device, or is it just causing interference?
No - Iāve not even tried to connect them, or even connect anything to my Hub yet. Just installed my Hub, got it on the LAN. Then a week or so later, started into my WLED journey. Started noticing WLED lights were on at weird / random times and finally traced it to rebooting.
Here is the thread I started: (we got the AI bot involved - hence this response warning)
So it seems Hubitat is the culprit. I unplugged my hub last night and have not had one issue with the WLED light since. Has anyone had any ideas why these two are fighting?
Ok, so my husband did some sleuthing on the Hubitat end. Apparently this issue started happening a few months ago as a result of an update that was meant to make the HomeKit connection more reliable. This created a mDNS āstormā that started interfering with other devices, particularly the ESP boards.
The good news is people have found a temporary workaround until the Hubitat fixes their software. It is basically to disable Bonjour on the Hubitat. We switched that off and see how it goes.
See this thread for more info.
Yep. Saying au revoir to Bonjour seems to have fixed it. Been running 35+hours straight now. Thanks for all the posting and helping work through this!