WLED Random Turn On

Debug logging is on for all devices, but refresh interval is disabled. What setting do you recommend? Not even sure what refresh interval actually is. Sorry for my ignorance.

That’s good. Hopefully, it will capture the lights being turned on overnight. Assuming the event is being driven by Hubitat.

Soooo, of the 8 WLED devices, only 2 are generating logs (device and hub). The other 6 say No Logs in device logs and report nothing in hub logs although they are all configured exactly the same.

Did i do something incorrectly when i added the devices? They are functioning properly aside from no logs.

FWIW, I'm not sure, but i believe the 2 devices that are logging DO NOT suffer from the restarting issue.

I have no experience with these devices. But if you don't have them in too many automations, you could consider removing and re-adding them.

Try running configure on the ones with no logs. They will only generate logs when you interact with them. Try turning on or off and check logs again.

I've removed and readded tue offendi g devices...logs are now working as they should. Lets see if they come on tonight. :slight_smile:

Thank you all, again.

1 Like

My ESP32/WLED was a little funky too, similar issues.

Mine was bad wiring.

1 Like

@djh_wolf -- I've checked mine and all seems well. What was your wiring issue? Dont want to miss something. Thanks

1 Like

Not sure if this is related. I bought a Candeo WLED controller (esp8266) and it kept doing similar to this. It would lose connection and in the WLED webpage under info, it would show 'uptime' as if it had been recently rebooted. I tried everything, new power supply, old firmware, new firmware, new wiring..... it was quite annoying. I had given up and was ready to rip them out and swap for RGB LED's and then on the manufacturers website I found if you remove the mDNS entry (leave blank) it resolved it from rebooting. So far they've been running flawlessly for 3 months. If your problem persists it is worth a try (if you haven't already!)

1 Like

Sorry, should've been clearer.

My physical psu connection was poor.

Do you have "Turn LEDs on after power up/reset" checked" in WLED's LED Preferences.? This is not in Hubitat but using WLED app or IP address in browser. I believe that is default option when installed.

Yes, i do.....should i have it turned off?

Last night, i woke up and all devices were on!!!! One thing i noticed was devices are set to wifi channel 1 in WLED app, but router is set to auto. Would this be causing this problem?

Yes uncheck it! I've read that some ESP32s with USB-C have less than reliable power and might cause device to reset and affect WiFi connection. Something else could be causing it but I bet changing that setting will stop the LED lights from coming on. It's not stopping the cause but it's stopping the result.

@stephen_nutt...will do. Can you comment on my edit above regarding wifi channel?

Thanks

I think the WiFi channel in WLED setting refers to when it creates it's Access Point when you initially set it up or it loses Wi-Fi connection. I don't think it should have anying to do with your home's Wi-Fi setup

Ok....just grasping at straws here.

You may want to change your router to not use Auto for the WiFi channel. Your router might be changing the channel throughout the day, causing the ESP8266 to lose its connection, and then reconnect itself. Perhaps this could be contributing to the issue?

Thanks, thats the next thing I'll try. But the strange behavior only happens at night. Sometime between 10p and 4a.

Which is probably when the router's algorithm tries to optimize the WiFi channel.

There are some best practices when it comes to home automation and 2.4GHz WiFi channels. Even if you're not using Zigbee currently, it makes sense to set up your router's 2.4GHz WiFi as follows.

When using Zigbee, make sure to choose a Zigbee channel to prevent interference with 2.4GHz WiFi The most commonly used Zigbee channels, to avoid interference with 2.4GHz WiFi, are Zigbee channels 15, 20, and 25.

Make sure your 2.4GHz WiFi channel(s) are set to use 20MHz channel width, and use 2.4GHz WiFi channels 1, 6, or 11. Note: Zigbee channel numbers and 2.4GHz WiFi channel numbers are not the same. See the chart below.

1 Like

One more thought (apologies if this has already been asked...)

Are these devices shared from your Hubitat hub to Amazon Alexa? If yes, please go into your Amazon Alexa App on your smartphone and DISABLE Alexa HUNCHES. This 'feature' has caused countless users exactly light what you're experiencing for years, now. Hunches tries to learn your behaviors and automate your lights for you. It has never worked well, and should be disabled to avoid this type of problem.

1 Like