With the addition of CSRF protection the following is not possible anymore!

Controlling an installation from the Browser URL prompt

You can control your installation from your Browser URL prompt using the JSON interface.
For information on the methods available check this link (For Release 1 version) http://developer.digitalstrom.org/Architecture/dss-json.pdf

You can call the commands on your Browser URL prompt using the following format:
https://YourDSSIP/json/class/method?param1=x&param2=y
-- Note that browsers will cache these requests, so calling the same URL a second time will NOT execute the action but simply return, whatever the browser got the first time. To avoid this, add a parameter with a random value (e.g. append &_dc=123456) and change that value at every new call!

Where YourDSSIP is the IP of your dSS for example: 192.158.0.22
class is one of the JSON classes available (For example apartment, zone, device, circuit...)
method is one of the available methods to that class (For example getName, callScene)
params are the parameters taken by the method (For callScene: groupID and sceneNumber)
-- Note that the classes, method and parameter names are case sensitive

For example, to call the first light scene on the apartment use:
https://192.168.0.22/json/apartment/callScene?groupID=1&sceneNumber=17

If you need to pass values to the class you can also pass them in the URL. For example to turn on the lights on the first room use:
https://192.168.0.22/json/zone/callScene?id=2&groupID=1&sceneNumber=17

In this case id=2 is the ID of the room you want to use

Make sure to use the Scene values described in the Scene table:Scene_table

You can get the ID's of the Zone's and devices using the property tree Erweitete Ansicht -> SW:System -> System Eigenschaften

JSONURL.jpg - Example of JSON call over Web browser URL prompt (20.3 KB) Miguel Rodriguez, 06/23/2011 04:02 PM