ESP-Esay rules syntax ?
Posted: Tuesday 26 February 2019 9:27
I try to use the rules in ESP-Easy to control devices (dimmers) in Domoticz
when I let an ESP-Easy rule control the LED directly :
SendToHTTP 192.168.20.12,80,/led/1/100
works just fine
When I manually (in Chrome) control the Domoticz device with :
http://192.168.20.2:8080/json.htm?type= ... l&level=10
it also works just fine
but when I put the command in the ESP-Easy rule (with its proper syntax, from the tutorial https://www.letscontrolit.com/wiki/inde ... rial_Rules)
SendToHTTP 192.168.20.2,8080,/json.htm?type=command¶m=switchlight&idx=895&switchcmd=Set%20Level&level=10
it does nothing
am I mistaking the syntax ?
very frustrating ...
when I let an ESP-Easy rule control the LED directly :
SendToHTTP 192.168.20.12,80,/led/1/100
works just fine
When I manually (in Chrome) control the Domoticz device with :
http://192.168.20.2:8080/json.htm?type= ... l&level=10
it also works just fine
but when I put the command in the ESP-Easy rule (with its proper syntax, from the tutorial https://www.letscontrolit.com/wiki/inde ... rial_Rules)
SendToHTTP 192.168.20.2,8080,/json.htm?type=command¶m=switchlight&idx=895&switchcmd=Set%20Level&level=10
it does nothing
am I mistaking the syntax ?
very frustrating ...