[quote=“jswim788, post:22, topic:193746”]Is there any way to get this virtual button push in Z-way to somehow trigger a scene in openLuup? This is from a HomeSeer dimmer with a 2 button push:
Ideally there would be some way to know the keyAttribute since that changes based on how many times the button is pushed. Also, the button is never turned off - if the opposite side of the paddle is pushed, button 220.127.116.11 gets the “on” instead of 18.104.22.168. As far as I can tell no “off” is ever sent. So I need some way to detect this message and act on it without depending on the state of this device.[/quote]
Indeed, it seems that the ZWay Virtual device interface, doesn’t report the value of some switches. What I have tried to do, in some cases, is to update the “LastTrip” variable with the time of the change. This way, you can, at least, trigger a scene.
My approach with the ZWay plugin has been to try and emulate the arrangement of devices which Vera shows when presented with the same ZWave device. This, however, turns out to be hard, if not impossible, in any generic way, and it seems as though Vera has a large look-up table, manufacturer dependent, to define how it should look. So, at the moment, the emulation is imperfect to say the least.
Having said that, your question prompts to to investigate further the initial thoughts I had for this interface, and that would be simply to echo the appearance of the ZWay virtual device interface. This leads to single devices presenting individual sensors as separate (child?) devices. It would seems to be a much more straight-forward approach and I might give that a go in the next few weeks. It would means that things would be less Vera-like, but so what?
However, it does also seem that the ZWay Virtual Device API is both incomplete and imperfectly implemented, so some things just don’t seem to work from their own software. However, perhaps we can hope that this improves in time (faster than Vera’s firmware does.)