Changing device type for wall controller
-
Ah, what a coincidence! It has been a bit finicky to work with over the years with Vera, but I managed to include it into Z-way successfully without any problems.
@ArcherS said in Changing device type for wall controller:
It has been a bit finicky to work with over the years with Vera
It was the very first device I paired with Vera, and, indeed, the reason I got Vera (although I subsequently set a direct association to another switch...!). It was a nightmare to get going, but has served me well for around 7 years. Probably still one of the most-used switches I have.
The batteries are weird. I have to chop up a small 9V cell to give me six of them.
Happy days.
-
Yes unusual batteries, AAAA type. They are a bit rare, you can buy them in some places here in Sweden. Creative to chop up 9V cells, I will try that next time they run out.
It was significantly easier to include into Z-way than into Vera anyway... To be honest most devices so far seem to be.
-
You should find that the latest ZWay plugin development branch v20.5.12 fixes this by giving you a scene controller just like you had in Vera.
I haven't been able to test it independently (my device of that sort is currently firmly attached to my Vera ZWave network) but it shares code with other scene controllers, so should (might?) be OK.
You will need to delete that specific ZWay plugin child device so that it is recreated and configured correctly after an openLuup restart. As usual, this should take almost no time at all.
AFAIK, it should raise no problems with existing device configurations.
-
Now it works!
I created a Reactor that uses the two variables "zway_Remote_16-0-1-B" (for on/off) and "zway_Remote_16-0-1-B_LastUpdate" (for the time the wall controller is pressed).The Reactor has two conditions for triggering "on" and two for triggering "off". This is to handle the case that the wall controller e.g. could be in "off" when I want to turn the Aeotech Switch off (e.g. when I have turned it on from HomeWave directly).
To make this work I created two expressions "TimeAtOn" and "TimeAtOff" in which I store the time when the controller state changes from on->off and vice versa.Just as a note, I also checked the variable "LastSceneTime" and it also gets updated with the time stamp. The variable "sl_SceneActivated" however always remains "null" for some reason. I do not know if this is intentional or not.
Thank you very much for your time and patience!
//ArcherS
-
Glad it works!
I have definitely only done a partial job here. My goal would have been for you not to have to use either of the zway_Remote... variables. The sl_SceneActivated variable is blank because the switch doesn’t present a scale variable. I could set a default of 0 or 1 for example.
I’m not a Reactor user myself, so that all looks beyonds me. In fact, my normal modus operandi is simply to use scene controller buttons as toggle switches, so on/off state is not an issue.