I would like to open an URL to switch a device from on to off / off to on
http://user:password@xx.xx.xx.xx/dev/ir_ctrl.cgi?ir=0
It does not need to open a webinterface but just perform the get command
[HSTouch] GET url on button press ON / OFF
[HSTouch] GET url on button press ON / OFF
Running HS3PRO on PC with Z-Wave / OpenTherm / Plugwise / RFXcom / MQTT / XAP400 / Logitech Media Server and Squeezelite on PI`s
Re: [HSTouch] GET url on button press ON / OFF
I created an event with the following
Camera Infrarood is a virtual devices used in HSTouch
Code: Select all
IF Camera Infrarood changes and becomes On
Then Execute the command: &hs.GetURL ("http://username:password@ipadress","/dev/ir_ctrl.cgi?ir=1", TRUE, 80)
Running HS3PRO on PC with Z-Wave / OpenTherm / Plugwise / RFXcom / MQTT / XAP400 / Logitech Media Server and Squeezelite on PI`s