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

WLED Curl with Playlist ID

$
0
0

How do I add this as an automation?

curl -X POST "http://[WLED-IP]/json/state" -d '{"on":"t","v":true}' -H "Content-Type: application/json"

https://kno.wled.ge/interfaces/json-api/

Currently using this:

    automation nov_colors:
      - alias: "WLED Nov"
    trigger:
      platform: state
      entity_id: calendar.wled
      to: "on"
    action:
      - service: rest_command.wled_api
        data:
          url: "http://[IP]/win&T=1&A=255&FX=65&FP=39"

    rest_command:
      wled_api:
        url: "{{ url }}"
        method: post

But this unfortunately doesn’t work with selecting a playlist to use.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106357

Trending Articles



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