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

RESTful command to external (webhook) server

$
0
0

Hello all,
Looking to use the RESTful command to send a command to an external webhook server to open and close the bedroom blinds at a certain time.

rest_command: 
       mbedroom_shades_up:
          url: “https://server:9443/set/xxxxxxxxxxxxx/open/12” 
          method: get 
          content_type: “text/plain” 
      mbedroom_shades_down: 
          url: “https://server:9443/set/xxxxxxxxxxxxx/favorite/12” 
          method: get 
          content_type: “text/plain”

is this the correct implementation? I know I will need to very actual indent and spacing once in the config file.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106312

Trending Articles



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