Im sure this must be easy and simple for somone with the right knowledge ? i have tried and still cant get this to work .
I run my openremote from my Qnap server at home and seems most times when i add new
http command switches and items to my design then the panel will not load on my web browser or on my android phone , seems to get stuck in some sort of loading loop so i cant see any of my items ( i also control my home KNX from the openremote app)
the commands by http are: (supposing the switch you want to control is at ip 192.168.10.253)
talking to relay.cgi
From any web browser connected to the plug, you can now issue commands to the smart plug.
http://192.168.10.253/cgi-bin/relay.cgi?state will inquire whether the relay is on or off.
http://192.168.10.253/cgi-bin/relay.cgi?on will tell the smart plug to turn the relay on.
http://192.168.10.253/cgi-bin/relay.cgi?off will tell the smart plug to turn the relay off.
http://192.168.10.253/cgi-bin/relay.cgi?toggle will toggle the relay from on to off, or off to on.
how do i convert these into open remote switches and sensors ? i have tried all kinds of combos and cant seem to get anywhere.
i really need help!
anyway not sure if anyone has done it before ? inf not i would be willing to pay someone (via paypal ) to tell me how to do it … .
some background from people who made relay.cgi
http://benlo.com/esp8266/KankunSmartPlug.html
http://www.anites.com/2015/01/hacking-kankun-smart-wifi-plug.html
THANKS!!
json.cgi (1.48 KB)