Wled: Easy switch in the GUI for Normal, E131 and UDP

Created on 20 Nov 2019  路  10Comments  路  Source: Aircoookie/WLED

It would be nice to include a switch in the GUI to quickly switch between normal, E131 and UDP modes. For instance currently I have setup LEDFX as E131 and Hyperion with UDP, everytime I want to switch between dancing lights to TV ambilight or normal effect, I have to stop the streaming services. If there were a switch to stop listening to E131 and keep UDP or viceversa I could have the streaming services opened and just switch them by WLED GUI.

enhancement

Most helpful comment

Although I would always recommend turning off Live streaming signal sources when not using them (as it adds load to your network and might impact the performance of your WLED installation), I will add such a toggle/feature to the upcoming new UI!

All 10 comments

I recently tried WLED and it is amazing. I was looking for this feature and found someone having the same interest. This is a nice feature and I would surely vote for it. Can have a switch or a trigger to overwrite the UDP by other effect if there is blank signal from Hyperion.
Thanks a lot

Although I would always recommend turning off Live streaming signal sources when not using them (as it adds load to your network and might impact the performance of your WLED installation), I will add such a toggle/feature to the upcoming new UI!

Great thanks. Can it be an auto switch that can be triggered on by in coming UDP and off when there is no data?
Thanks again for such a great software.

Thanks for this and looking forward to it being implemented for my setup which is similar to above.

A toggle will be great, at the moment I either disabling an instance of Hyperion or UDP in WLED. As suggested an automatic switch to normal mode on black in input from Hyperion would be awesome but not sure how feasible it would be to implement for you.

Edit: I had been working on this for a few days but had kept missing the continuous output setting in the smoothing section of Hyperion settings, it is independent of smoothing and when unchecked WLED detects it stopping and returns the the previous state which is perfect :)

So I have been working on something very similar to integrate hyperion with diyhue.

See my post here.
https://github.com/diyhue/diyHue/issues/322

The issue with hyperion and a USB grabber is that it continues to send a UDP stream even on a no signal scenario.

I tried WLED today and of course its the same issue where Hyperion takes over 'Realtime' and doesn't give back 'Normal' control to WLED.

Hence what led me to this thread. I have added an MQTT switch to my diyhue code and this blocks the UDP stream allowing diyhue control the strip again.

Ideally the UDP stream should stop but this is not the case for most Hyperion users (that use a USB grabber) and requires a workaround.

@Aircoookie do you plan on making the switch accessible by home assistant/MQTT? . Really great work on WLED by the way!

Great thanks. Can it be an auto switch that can be triggered on by in coming UDP and off when there is no data?
Thanks again for such a great software.

An auto switch can only be designed if the signal is consistent. I have created an auto block of UDP on an always black signal (r=0,g=0,b=0) which is easy but if there is a continuous noisy signal (which is my case with hyperion "no signal" screen) then it becomes quite hard.

Even hyperion cannot manage to detect a no signal within its 'signal detect' settings.

This is now partially implemented in 0.10.0, you can override all live sources and run WLED effects. It doesn't support detecting and switching between different live sources though, but I cannot recommend running two live sources simultaneously anyways :) Will keep this open though

Is there will can call the switch manually with the API so we can use it in home assistant?

Is there will can call the switch manually with the API so we can use it in home assistant?

This would be something I'm very interested in also as per my above comments either. Perhaps a way to toggle it over MQTT?

It is toggleable via the JSON api state lor property. See https://github.com/Aircoookie/WLED/wiki/JSON-API
Unfortunately no MQTT yet, but I gotta add JSON support to MQTT at some point soon!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

exeljb picture exeljb  路  4Comments

Brausmith picture Brausmith  路  4Comments

PKCubed picture PKCubed  路  4Comments

athlon1900 picture athlon1900  路  3Comments

Sasquatch6ft9 picture Sasquatch6ft9  路  4Comments