I'am busy to connect my airco to ESP-Easy receiving data string works great.
The mode of the airco is transferred in a string like "FAN"
Now I try to make in the rules of ESP-Easy an if statement with this string see the code below
Code: Select all
If [Airco2#mode] = 'FAN'
SendToHTTP 192.168.1.100,8080,/json.htm?type=command¶m=switchlight&idx=384&switchcmd=Set%20Level&level=10
Endif
Has someone any suggestions to send the HTTP command when the "Fan" string is received?