Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95370

How to turn on WLED via automation

$
0
0

@Vendo232 wrote:

Team

I would like to simply turn ON and OFF my WLED strip in automation calling for specific effect.
turn on Rainbow for 1 min for example

9 Rainbow Displays rainbow colors along the whole strip

So to turn ON Rainbow

action:
    service: mqtt.publish
    data_template:
      topic: [Device Topic.. XYZ ]/Segment/switch/set
      payload: on
      topic: [Device Topic.. XYZ ]/Segment/fx/set
      payload: 9

and to turn OFF

action:
    service: mqtt.publish
    data_template:
      topic: [Device Topic.. XYZ ]/Segment/switch/set
      payload: off

Do I have it right?

How would you setup “RANDOM” effect to be turned ON?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95370

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>