Not sure if you guys can help here. I use OpenHab2 for my home automation. I'd very much like to keep all of the code in OpenHab and not have some code running on the ISY and most code running in OpenHab. So I got some leak sensors the other day (4317 rev 2.6). I installed them in the ISY admin console and saw three items for each: Wet, Dry, and Heartbeat. Cool, it has a heartbeat, I thought to myself. But why both a wet and dry item??? But whatever....
Then I found this excellent thread. OK, battery powered, that means we can't poll it. Got it. Has an internal clock so it should send a heartbeat back to the ISY every 24 hours, sweet. I then set up everything in OpenHab. I tested them with some water and I got my email notifications that I also set up. But I am not getting the heartbeats. Right now I have it set up to email me at every heartbeat, just for testing. I get one email right about the time that I first started up each sensor, but then that's it. One heartbeat and then no more. But, if I reboot my ISY, then I get one more heartbeat at that same time as before, but then no heartbeats after that. So, you see, I don't think I have an OpenHab issue, but more an issue of not knowing how the sensors are supposed to work.
So, do I need to reboot my ISY every night to get an proper heartbeat check each day? That seems a little excessive. I was thinking I could plug my ISY into a switchlinc, and write a program in the ISY to cycle the switchlinc each night, but that seemed kind of meta.