API LIST
inverters
http://<LOGIN>:<PASS>@<IP>/api/callAction?deviceID=<ID>&name=setValue&arg1=<VALUE>
ON / OFF (ex: Wall Plug , micro-modules FGS211 , FGS221 , etc.)
http://<LOGIN>:<PASS>@<IP>/api/callAction?deviceID=<ID>&name=turnOn
http://<LOGIN>:<PASS>@<IP>/api/callAction?deviceID=<ID>&name=turnOff
shutters
http://<LOGIN>:<PASS>@<IP>/api/callAction?deviceID=<ID>&name=setValue&arg1=<VALUE>
http://<LOGIN>:<PASS>@<IP>/api/callAction?deviceID=<ID>&name=setAjar
http://<LOGIN>:<PASS>@<IP>/api/callAction?deviceID=<ID>&name=stop
Module FG-RGBW
http://<LOGIN>:<PASS>@<IP>/api/callAction?deviceID=<ID>&name=turnOff
http://<LOGIN>:<PASS>@<IP>/api/callAction?deviceID=<ID>&name=turnOn
http://<LOGIN>:<PASS>@<IP>/api/callAction?deviceID=<ID>&name=setColor&arg1=<VALUE>&arg2=<VALUE>&arg3=<VALUE>&arg4=<VALUE>
http://<LOGIN>:<PASS>@<IP>/api/callAction?deviceID=<ID>&name=startProgram&arg1=<PROGRAM ID>
virtual modules
ID = device ID
arg1 = button ID
arg2 = slider value (only for slider)
http://<LOGIN>:<PASS>@<IP>/api/callAction?deviceID=<ID>&name=pressButton&arg1=<BUTTON ID>
http://<LOGIN>:<PASS>@<IP>/api/callAction?deviceID=<ID>&name=setSlider&arg1=<SLIDER ID>&arg2=<VALUE>
Scenes
ID = SceneID
http://<LOGIN>:<PASS>@<IP>/api/sceneControl?id=<SCENE ID>&action=start
http://<LOGIN>:<PASS>@<IP>/api/sceneControl?id=<SCENE ID>&action=stop
Thermostatic heads Danfoss Living Connect
http://<LOGIN>:<PASS>@<IP>/api/callAction?deviceID=<ID>&name=setTargetLevel&arg1=<TEMP VALUE>
http://<LOGIN>:<PASS>@<IP>/api/callAction?deviceID=<ID>&name=setTime&arg1=<TIME VALUE>
Notifications
ID = Device (Iphone, e-mail et cetera)
arg1 = Notification template
http://<LOGIN>:<PASS>@<IP>/api/callActiondeviceID=9&name=sendDefinedPushNotification&arg1=1
Panel "Energy"
http://<LOGIN>:<PASS>@<IP>/api/energy/now-3600/now/single/devices/power/58
Recoveries of states and values requettes JSON:
http://<LOGIN>:<PASS>@<IP>/api/rooms
http://<LOGIN>:<PASS>@<IP>/api/scenes
http://<LOGIN>:<PASS>@<IP>/api/devices
http://<LOGIN>:<PASS>@<IP>/api/devices?id=316 # Specific value of a device
http://<LOGIN>:<PASS>@<IP>/api/virtualDevices
http://<LOGIN>:<PASS>@<IP>/api/globalVariables
http://<LOGIN>:<PASS>@<IP>/api/weather
http://<LOGIN>:<PASS>@<IP>/api/sections
http://<LOGIN>:<PASS>@<IP>/api/users
http://<LOGIN>:<PASS>@<IP>/api/energy/now-3600/now/single/devices/power/58
etc.
Changing / creating variable
curl -X PUT -d '{"name": "Test", "value": "122"}' http://admin:
[email protected]
curl -X POST -d 'name=newvariable&value=0' .....
curl -X PUT -d '{"name":"newvariable", "value":"0", "isEnum":true, "enumValues":["0", "1"]}' .....
Source: http://tutoriels.domotique-store.fr/content/49/45/fr/api-commander-le-home-center-par-des-requêtes-http.html