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
How to manage a Scene
Re: How to manage a Scene
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
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
...but should I associate my Scene to a Device?
your call is working but only for devices but not for Scene
your call is working but only for devices but not for Scene
Re: How to manage a Scene
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
Sorry PoltoS, but could you please edit the following call to work with a LightScene4?PoltoS wrote:You can do same for Scene - just use Scene Id and command "on".
/ZAutomation/api/v1/devices/ZWayVDev_6:0:37/command/off
Thanks
-
- Posts: 19
- Joined: 13 Mar 2014 00:14
Re: How to manage a Scene
I guess is ...../devices/LightScene_4/....
Re: How to manage a Scene
/ZAutomation/api/v1/devices/LightScene_4/command/onSolarFlor wrote:Sorry PoltoS, but could you please edit the following call to work with a LightScene4?PoltoS wrote:You can do same for Scene - just use Scene Id and command "on".
/ZAutomation/api/v1/devices/ZWayVDev_6:0:37/command/off
Thanks
Re: How to manage a Scene
Many Thanks
I will try soon
I will try soon