Jump to content

Heartbeat entity not in sync


firstone

Recommended Posts

Posted

I would try this:

Quote

In order to reset the low battery node in the ISY all you need to do is query the node from the ISY after you replace the battery. Right click on the low battery node, the click on query. No need to reset or restore the sensor.

 

Posted

The problem was that node on ISY side was find. It's the entity in HA that was incorrect. Nor was battery low or needed to be replaced. 

Once I've triggered the sensor itself, battery node seemed to have synchronized on HA side though. 

Would be nice if I could send some command from HA to do it. Can I send query from HA? Not sure query will even work on battery powered devices.

Posted

There is a HA Query button entity for each device you can use.

And what you saw is just kind of a side effect of the way heartbeat nodes are translated to battery entities in Home Assistant, they'll go to Low if a heartbeat or trigger isn't received in 25 hours. If you're restarting HA frequently, these timers will get reset often, and it's better to have a low battery status 'stick' on a restart and then possibly not be seen again for several days.

Posted
5 hours ago, shbatm said:

There is a HA Query button entity for each device you can use.

And what you saw is just kind of a side effect of the way heartbeat nodes are translated to battery entities in Home Assistant, they'll go to Low if a heartbeat or trigger isn't received in 25 hours. If you're restarting HA frequently, these timers will get reset often, and it's better to have a low battery status 'stick' on a restart and then possibly not be seen again for several days.

Since the same 24 hours is true in ISY, and ISY had correct status, I can only assume that this one particular HB refresh wasn't received / processed by HA. 

I will try query from ha next time. Thank you.

  • 2 weeks later...
Posted (edited)

A few facts in random order:

  • Some battery sensors send a repetitive DON at the prescribed interval. others alternate DON and DOFF at the prescribed interval.  It's not really meaningful to look at the Heartbeat node in the admin console to know if a heartbeat has occurred.  It will be blank/unknown after a reboot, it will say On always or it will alternate on/off.
  • wireless devices can't be Queried unless they are already awake. 
  • Surface Mounted Open Close sensors, (2843-222 or equivalent) are HORRIBLE about missing heartbeats.  Sometimes the next day they generate a hearbeat with no intervention. Sometimes it takes popping the battery out for 10 seconds.  to decide to replace a battery in one of these I use battery age in days, number of transmissions, and battery voltage and some are better than others.... I have 4 that need constant heartbeat babysitting, and 4 i rarely have to mess with.  On the other hand the recessed open/close sensor and the leak sensors are more heartbeat perfect, I don't have any motion sensors.

 

Edited by MrBill
Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.4k
×
×
  • Create New...