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.
|
|
Post 2 made on Thursday January 11, 2018 at 11:46 |
Barry Gordon Founding Member |
Joined: Posts: | August 2001 2,157 |
|
|
The case of the name (turnOff vs turnoff) is not the same. Perhaps that is your problem
|
|
OP | Post 3 made on Sunday February 4, 2018 at 09:58 |
fredokl Lurking Member |
Joined: Posts: | January 2010 9 |
|
|
Thanks Barry, the good case of the name is turnOff. But it doesn't work.
|
|
Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our
Marketplace. For information on how to advertise your service or product
click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.