2012-02-26, 20:42
Shoop_NL Wrote:Would be nice if i have an example of a command line.
I do not seem to find a good example at http://www.switchking.se/en
Probably would look something like:
this is a http command line from X10-commanderCode:http://192.168.0.10:8086/?x10command=DEVICE~sendplc~"A4 OFF"
is it something like this?
Yes it looks almost the same as your example above.
Here is a guide of how the command line works in SK. (SK calls this Rest.)
Unfortunately I only found it in Swedish. http://www.switchking.se/en/faq/guides/u...-addresses
The code below shows how to switch ON/OFF and dimm a device.
Code:
http://servernamn:8800/devices/{id}/turnon
http://servernamn:8800/devices/{id}/turnoff
http://servernamn:8800/devices/{id}/dim/{level}