I m new to this stuff.
I have around 100 ws2812b leds up on the wall controlled by an esp and i love their effects, but when i try to make an script to automate them turning on and off i found out that if they turn off in the Rainbow effect u cant use it when they turn on. They need to be changed to another effect and then i can use the Rainbow one. And when the light turns on it is Solid but dosent appear in the input select as that
How are the leds incorporated into HA?
Hi Brushli009
what firmware are you using on the ESP ?
if you use Wled 8.6
you can change the default startup effect from solid to what ever you like
I used something from Bruh Automation and i dont really know anything more. I think they are a light component with an input select and when its selected it publishes it to mqtt
How i said im using something from bruh automation
I have tried to do some automation but no luck
- alias: 'light off'
trigger:
entity_id: light.camera
platform: state
to: 'off'
action:
service: input_select.select_option
data:
entity_id: input_select.holiday_led_effect
option: Solid
Of you using MQTT
Then you will need to add both the turn on and a set effect.
Each topic probably only does one thing.
IDK anything about the code used by bruh automation for this, but I do know from programming these things in arduino that the built in ‘rainbow’ animation function blocks, uses tons of cpu time, and is memory intensive (ie easy to crash). So not sure if it’s something you’re doing, or just a ‘known’ limitation when it comes to that rainbow animation. The way you describe it though, it could also just be a trivial bug in the code.
all you doing in that automation is changing the value of the input select
you still need to publish to the device via mqtt the effect
Bruh has marked all his stuff as (Obsolete) as none of it is current
you really should look at
it more recent
and has more features to intergrate with ledfx, xlights and more
Ill give it a try tommorow