API HC2

ON – OFF [ Wall-Plug / Dimmer / Relay Switch / etc … ] :

  • http://LOGIN:PASSWORD@IP/api/callAction?deviceID=ID&name=turnOn
  • http://LOGIN:PASSWORD@IP/api/callAction?deviceID=ID&name=turnOff

Variateur [ Dimmer ] :

  • http://LOGIN:PASSWORD@IP/api/callAction?deviceID=ID&name=setValue&arg1=VALUE

Volet roulants [ Roller Shutter ]

  • http://LOGIN:PASSWORD@IP/api/callAction?deviceID=ID&name=setValue&arg1=VALUE
  • http://LOGIN:PASSWORD@IP/api/callAction?deviceID=ID&name=setAjar
  • http://LOGIN:PASSWORD@IP/api/callAction?deviceID=ID0&name=stop

Module RGBW

  • http://LOGIN:PASSWORD@IP/api/callAction?deviceID=ID&name=turnOff
  • http://LOGIN:PASSWORD@IP/api/callAction?deviceID=ID&name=turnOn
  • http://LOGIN:PASSWORD@IP/api/callAction?deviceID=ID&name=setColor&arg1=VALUE&arg2=VALUE&arg3=VALUE&arg4=VALUE
  • http://LOGIN:PASSWORD@IP/api/callAction?deviceID=ID&name=startProgram&arg1=PROGRAM ID

Module virtuel

  • http://LOGIN:PASSWORD@IP/api/callAction?deviceID=ID&name=pressButton&arg1=BUTTONID
  • http://LOGIN:PASSWORD@IP/api/callAction?deviceID=ID&name=setSlider&arg1=SLIDERID&arg2=VALUE

Scènes

  • http://LOGIN:PASSWORD@IP/api/sceneControl?id=SCENE ID&action=start
  • http://LOGIN:PASSWORD@IP/api/sceneControl?id=SCENE ID&action=stop

Laisser un commentaire