Code: Select all
On sw0#Switch do
SendToHTTP 192.168.0.87,8080,/json.htm?type=command¶m=switchlight&idx=22&switchcmd=On
endon
Code: Select all
Admin initiated a switch command (22/GAZ/on)
When I send from browser:
Code: Select all
http://192.168.0.87:8080/json.htm?type=command¶m=switchlight&idx=22&switchcmd=On
Code: Select all
User: Admin initiated a switch command (22/GAZ/On)
How send "On" not "on" from rules?