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