How to set up scenes
Posted: 17 Apr 2015 18:00
Hello!
First of all, I would like to know how to set up a scene.
I have a remote control device (Aeon Panic Button) that activates a scene when pressed. In my situation, I need to execute an external script when button is pressed so I did the following in home automation:
* Activate module SwitchControlGenerator which traps events from remotes and create virtual devices for them.
* Create a logical rule using as condition (remote condition) the virtual device generated by
SwitchControlGenerator module. When value is on, it changes value of a binary switch which executes my external script.
My problem is that when I restart my raspberry, the virtual device generated by SwitchControlGenerator is not always present so my button doesn't do what I need. If I enter Home Automation and save again SwitchControlGenerator module, then I see in z-way-server.log that the device is created and then everything works as I expect.
I there any way to ensure that the virtual device is always present in the system? Maybe my approach is wrong and I should do it differently. Perhaps setting up scenes?
First of all, I would like to know how to set up a scene.
I have a remote control device (Aeon Panic Button) that activates a scene when pressed. In my situation, I need to execute an external script when button is pressed so I did the following in home automation:
* Activate module SwitchControlGenerator which traps events from remotes and create virtual devices for them.
* Create a logical rule using as condition (remote condition) the virtual device generated by
SwitchControlGenerator module. When value is on, it changes value of a binary switch which executes my external script.
My problem is that when I restart my raspberry, the virtual device generated by SwitchControlGenerator is not always present so my button doesn't do what I need. If I enter Home Automation and save again SwitchControlGenerator module, then I see in z-way-server.log that the device is created and then everything works as I expect.
I there any way to ensure that the virtual device is always present in the system? Maybe my approach is wrong and I should do it differently. Perhaps setting up scenes?