Post 1 made on Monday January 8, 2018 at 17:39 |
fredokl Lurking Member |
Joined: Posts: | January 2010 9 |
|
|
Hello, I domotized my house with a Fibaro box. I want to use my TSU9600 to shut the shutters or turn off the light. How can I proceed? The http command to send a command on the Fibaro box is:
http: //192.168.X.XX/api/callAction deviceID = 864 & name = turnoff?
I thought I would use this code but it does not work:
System.include ("com.philips.HttpLibrary.js"); turnOn = "http: //192.168.X.XX/api/callAction? deviceID = 864 & name = turnOn"; turnOff = "http: //192.168.X.XX/api/callAction? deviceID = 864 & name = turnOff"; var httpLib = com.philips.HttpLibrary;
Thank you for your help.
|
|
|