Page 1 of 1
How to manage a Scene
Posted: 24 May 2014 23:51
by SolarFlor
Dears,
May I treat a Scene like a Device?
I have just built a scene that is turning on simultaneous more devices (Switches and Plugs). I would like now to manage it as I device for example using a comand like
http://IP:8083/ZAutomation/OpenRemote/S ... aryOff/5/0
Thanks for your help
Re: How to manage a Scene
Posted: 25 May 2014 00:36
by PoltoS
OpenRemote module uses Z-Way API and not Home Automotion API as basis.
But instead of OpenRemote module you can use irect API calls in the OpenRemote app. Like:
/ZAutomation/api/v1/devices/ZWayVDev_6:0:37/command/off
Re: How to manage a Scene
Posted: 25 May 2014 00:58
by SolarFlor
...but should I associate my Scene to a Device?
your call is working but only for devices but not for Scene
Re: How to manage a Scene
Posted: 25 May 2014 09:28
by PoltoS
You can do same for Scene - just use Scene Id and command "on". There are also Group Devices module, that allows to group several devices together in one. It acts as ordinary device (switchBinary or switchMultilevel).
Re: How to manage a Scene
Posted: 25 May 2014 10:43
by SolarFlor
PoltoS wrote:You can do same for Scene - just use Scene Id and command "on".
Sorry PoltoS, but could you please edit the following call to work with a LightScene4?
/ZAutomation/api/v1/devices/ZWayVDev_6:0:37/command/off
Thanks
Re: How to manage a Scene
Posted: 27 May 2014 01:13
by Pipistrello77
I guess is ...../devices/LightScene_4/....
Re: How to manage a Scene
Posted: 27 May 2014 13:40
by n0ahg
SolarFlor wrote:PoltoS wrote:You can do same for Scene - just use Scene Id and command "on".
Sorry PoltoS, but could you please edit the following call to work with a LightScene4?
/ZAutomation/api/v1/devices/ZWayVDev_6:0:37/command/off
Thanks
/ZAutomation/api/v1/devices/LightScene_4/command/on
Re: How to manage a Scene
Posted: 27 May 2014 21:51
by SolarFlor
Many Thanks
I will try soon