So I have a bunch of WADWAZ contact switches and it has always annoyed me that I could not use the external sensor on them readily with the generic driver. So... I am now providing the first public iteration of a driver I have written for it.
Major features (at present) are:
- State variables for both the internal and external contact switch
- Provides tamper notification and tamper can be reset
- Can select in preferences how the Hubitat contact capability will be triggered by one of multiple methods:
- Internal Contact - Will only provide events for the internal switch but will update the external switch attribute
- External Contact - Will only provide events for the external switch but will update the internal switch attribute
- Either Open / Both Closed - Will provide an open event if EITHER switch is open but will only trigger closed event if BOTH are closed
- Either Closed / Both Open - Will provide a closed event if EITHER switch is closed but will only trigger open event if BOTH are open
Driver can be obtained (as usual) at my website:
https://www.drdsnell.com/projects/hubitat/drivers/WADWAZ.groovy