WLED Random Turn On

This generally supports the notion that the "on" events are not being generated by Hubitat. It doesn't explain why disabling the device driver stops it from happening.

I know, right! I just disabled the device and will see if it repeats behavior. Approx times of on were 3:25pm and 3:45pm.

@styxman

Any chance you can put your WLED devices on a different VLAN from your Hubitat?

From what I've seen of the WLED integration you're using, it uses unicast TCP (basically http). So it should be simple to configure your VLANs to accept TCP requests from a different VLAN.

However, mDNS/Bonjour uses multicast, which by default cannot traverse VLANs. If there's no indication the the Hubitat hub is sending a TCP request to turn on the WLED, it could still result from some unknown mDNS traffic originating from the Hubitat hub. Putting the WLEDs in a different VLAN would block that traffic.

I think he said above he had mDNS disabled on the WLED devices, per someone elseโ€™s recommendation .

1 Like

I was under the impression that WLED required ESP32, Could there be a link here?

@jtp10181 is correct. Also, Bonjour is turned off on hub.

I would be glad to try your advice, but I'm not versed in setting up and using a vlan. Im using a Nighthawk Rax80 router...
Sorry for my ignorance.

Btw, since i disable the device from above, it has not come on and WLED app is showing a constant uptime.

Technically the restarts is just disabled, it is still running but not restarting on an interval. But it should not be causing any issues on its own.

It can run on 8266. See list of installation files:

I have it running on one 8266 of the 7 instances and I always have to be careful when updating that one to grab the 8266 version.

After all the work yesterday, the turn ons continued last night. The logs captured nothing at all.

The 8:31 instance is when i went to bed. The 10:50 instance was when i woke up and found the light on and turned it off through HE. About ready to ditch the WLED driver all together and just issue httpGet commands!!!

Heres what WLED is currently showing. All devices show approx same.

Thank you all again.

Is the 8 hour and 9 minute uptime correspond to the window on when the WLEDs probably turned on?

1 Like

Yes....and now I'm thinking the problem is on the esp8266 side and not HE or driver.

Just did an experiment....turned on a set of lights, disabled them in HE. Sometime later, I noticed they'd gone out and checked WLED....Uptime was 33 minutes....prior it was 7 hours approx.

Your thoughts?

I already thought that. I had you enable that debug logging to prove that the driver was not sending anything to the devices (which I already thought was the case by looking at the code).

Where would you think i might start....with the WLED app or re-double check wiring....or both. I would gladly post shot of config page if that would help.

Thanks

Very strange. I had this happen to me but never went in depth to figure out the cause. As soon as I unchecked the setting that I suggested early on in this thread, the lights quit coming back on so I considered problem solved even though I was treating the result, not the cause.

Question to all: I don't have any power-measuring smart plugs but if @styxman plugged the problem WLED(s) into one, would it track any voltage spikes?

EDIT: @styxman What type of power supply are you using for how many LEDs?

In this case: BTF-200-5 power supply lighting only 98 WS2812B. Should be more than enough, however i have strands of 700 leds (different size power supply) that are acting the exact same way.

And now, with all the changes weve made, lights are coming on during the day as well. Go figure.

Darn, I was hoping that you were trying to use a simple plug to power the LEDs and ESP8266 and that was causing problem. Is that power supply powering both ESP8266 and the LEDs? I didn't find the specific power supply when Googling. What is the voltage and amps for it? Are all of your WLED setups using 8266s?

Sorry for all of the questions but this is a mind-bender.

Looks like 5VDC, 40A.

1 Like

https://a.co/d/hDu5coM

All leds are using the 8266.

And the power supply is powering the LEDs and 8266? (grasping at straws....)

Sorry....yes, correct