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

Automation Curl Weburl

$
0
0

i’ve done several switches via weburl like

curl -X PUT -d '{"toggle":true}' "http://192.168.1.71/cm?user=admin&password=TasSw71=11&cmnd=power%20toggle"

but now i’ve a shutter to toggle with this command

echo "TXP:0,0,10,10920,91,42,0,57,18,4,8,8,4,4,8,8,4,8,4,8,4,8,4,8,4,4,8,4,8,4,8,4,8,8,4,8,4,8,4,8,4,4,8,4,8,8,4,8,4,4,8,8,4,4,8,8,4,8,4,8,4,8,4,8,4,4,8,4,8,8,4,4,8,4,8,4,8,8,4,8,4,4,8,4,8,8,4,8,120,0;" | nc -u 192.168.1.129 49880

It’s working in terminal but I’ve no idea how to curl this

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 105737

Trending Articles



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