i want have a rule for when espeasy is connect to wifi.
i am using this code but dont work :
Code: Select all
on WiFi#Connected do
SendToHTTP 192.168.1.201,8080,/json.htm?type=command¶m=switchlight&idx=25&switchcmd=On
SendToHTTP 192.168.1.142,80,/control?cmd=EXTGPIO,2,1
endon
means this rule and this device is a "ping sensor" for me.
can you help me for found problem of this rule ?