However, there is an issue. The device reports CLOSED when the contacts are open and OPEN when the contacts are closed. I'm sure this will cause for me as my brain deteriorates over time.
This thread discusses inverting dry contact event state, but while I get the gist of it, I don't yet understand all the pieces well enough to put it together with virtual device.
Q: How can I invert the sense of this dry contact sensor?
Yes, the driver can be used to change this. You have to do the following with the device page open: set the preferences as you want them, then wake up the device, save preferences. It has to be done rather quickly. Worked for me.
From the user guide:
Send a wake up notification.
In order to send your sensors new configuration commands from your Z-Wave controller or gateway, it will need to be
woken up.
Wake Up the device by removing the cover.
The hit the tamper switch once.
Note: Door / Window Sensor 7 remains awake until the housing is closed again.
Alternatively, you can set the parameters using Mike Maxwell’s Z-Wave Tool driver:
Edit: Here is the User Guide with full instructions:
Thanks for your prompt response!
Yes, I was able to get it to work through the auto-detected driver by "saving preferences" immediately after pressing the tamper switch.
Separately, I observe that the driver allows one to invert the open/closed sense of the magnet sensor.
It would require source code for the driver. Source code for the built-in drivers is not publicly available. Of course, you could always write your own.
Are you sure about that? Now, I haven’t used the external contacts on mine, but the user guide seems to imply that you can change the sense of the external contact sense input:
Note: Please note that the contact Digital Input (#3) and Ground (#4) is a normally open (NO) contact. Closing the contact sends out a command (Open or Close). To change the input type to NC, set parameter 2 to value 1 [1 byte].
You could always use Mike Maxwell’s Z-Wave Tool (see above) if it can’t be done with the standard driver. Same issue about wake-up applies when setting the parameter.
After trying again I was able to get this to work.
Seems fragile ... It took me multiple attempts, including some switching back and forth between magnet and dry-contact.