Seeking better Contact Sensor driver for Zigbee

I have some Third Reality Contact Sensors (zigbee).

My system monitoring flags them constantly as ‘not active in xx days’ on Inactivity Monitor and my Battery monitoring. It is accurate as they are in places I may not trigger manually for days on end such as my Patio, my Garage Door, or a linen closet that has a walk in light.
The driver that is commonly recommended is the ‘Generic Zigbee Contact Sensor (No Temp)’ and is what I currently use.

This driver doesn’t seem to do any form of health check. Even a Refresh seems to have no effect. Most devices in my network have some form, whether Ping/Pong, or Refresh or some other form of tickle.

The units work fine with this driver except for this - The person who wrote the best Third Reality driver is/was a Jonathan Bradshaw but he is no longer active here at the HE Community. (He wrote the 3R Plug outlet driver with power monitoring which I’ve implemented a modded version of).

Before I embark on writing a custom driver, I was wondering if anyone has anything already done for this device - or a way to tickle a contact sensor?

I was hoping that the Battery reporting isn’t being watched or something - according to some docs the battery is supposed to report in daily…
Exposes

Contact (binary)

Indicates if the contact is closed (= true) or open (= false). Value can be found in the published state on the contact property. It's not possible to read (/get) or write (/set) this value. If value equals false contact is ON, if true OFF.

Battery low (binary)

Indicates if the battery of this device is almost empty. Value can be found in the published state on the battery_low property. It's not possible to read (/get) or write (/set) this value. If value equals true battery low is ON, if false OFF.

Battery (numeric)

Remaining battery in %, can take up to 24 hours before reported. Value can be found in the published state on the battery property. It's not possible to read (/get) or write (/set) this value. The minimal value is 0 and the maximum value is 100. The unit of this value is %.

Voltage (numeric)

Voltage of the battery in millivolts. Value can be found in the published state on the voltage property. It's not possible to read (/get) or write (/set) this value. The unit of this value is mV.

I'm using @kkossev's Tuya Zigbee Contact Sensor driver for my MOES contact sensors from Ali Express.

I've found some Third Reality devices work with Tuya drivers.

2 Likes

Tuya Contact Sensor+ with healthStatus

I use this for all of my Third Reality contact sensors.

This is Great! I don’t see the OTA firmware button, but that didn’t work on HE anyway… :slight_smile:

THANK YOU - and Thank you @kkossev - your drivers are blessed.

1 Like