ZME_WALLC button presses in vDev interface?
Posted: 08 Nov 2015 16:45
Hi, Question: Is there an existing way to wire up a switch device like the ZME_WALLC or an Aeon Labs key fob to the vDev interface, such that you can see button presses or state changes, without it controlling an actual, physical device? I had previously assumed that the switch itself would show up in the Home Automation interface somehow and therefore in the vDev interface...but instead it seems that a switch device like this is usually (exclusively?) intended to send messages directly to other devices or perhaps "activate a scene".
Neither of those really gives me a way to see button presses, unless I hook it up to an actual switch or dimmer. At first, I thought I'd create a "Dummy Device", and make the switch control that...but since that's not a true Z-Wave device, I can't add it to the switch's association groups, naturally. And I could put a Dummy Device in a scene and have the switch activate a scene...but I don't see a way to do that either, there are no scenes in the Home Automation interface where the Dummy Devices live.
What I want to do is be able to see the button presses through the vDev API, so I can wire that up to an external interface/software and do stuff based on the button action. Is this possible? I can write a code device, but before I start from scratch I wondered if I'm missing something, or if someone else has already accomplished this.
My thought is that I would try to make a code device that would increment the value each time the button was pressed, or set its value to the current timestamp when pressed, or something like that. Then again, I'm not absolutely sure I can see the button presses even through the Z-Wave devices API, either...
Any hints?
Neither of those really gives me a way to see button presses, unless I hook it up to an actual switch or dimmer. At first, I thought I'd create a "Dummy Device", and make the switch control that...but since that's not a true Z-Wave device, I can't add it to the switch's association groups, naturally. And I could put a Dummy Device in a scene and have the switch activate a scene...but I don't see a way to do that either, there are no scenes in the Home Automation interface where the Dummy Devices live.
What I want to do is be able to see the button presses through the vDev API, so I can wire that up to an external interface/software and do stuff based on the button action. Is this possible? I can write a code device, but before I start from scratch I wondered if I'm missing something, or if someone else has already accomplished this.
My thought is that I would try to make a code device that would increment the value each time the button was pressed, or set its value to the current timestamp when pressed, or something like that. Then again, I'm not absolutely sure I can see the button presses even through the Z-Wave devices API, either...
Any hints?