How to tell if leak sensor goes offline

I've had some leak sensors stop working and need to be reconnected to the hub. I'm using a variety of Aqara and Tuya zigbee 3.0 sensors(I know aqaras have trouble staying connected). The problem is that I never knew they were offline until I tested one and didn't get any status change on hubitat. I'm using the birdslikewires zigbee-aqara water leak sensor driver.
Is it possible to create a rule to check these devices on some regular schedule to make sure they are still connected? I didn't seen a way in the basic rule app and I really haven't done anything more sophisticated than basic rules. Thanks for any help

As long as the sensors regular report in for some reason (e.g., battery), you can set up activity check using this community app. It is possible some battery devices never wake up from sleep unless triggered, but the leak sensors I have (a variety) all do.

[RELEASE] Device Activity Check - Get notifications for "inactive" devices - :gear: Custom Apps and Drivers / Custom Apps - Hubitat

5 Likes

Thank you! I'll give this a try

What interval have you found to work well with our leak sensors? Do you set them all to refresh before report?

Look at the events being reported by your sensors to determine what makes sense. I believe all of mine report battery level at least once a day, so I check activity once a day.

For a battery powered leak sensor, I don't think sending it a refresh would do anything. Those devices tend to not listen unless they initiate it. Your mileage may vary.

1 Like