Saturday at 04:45 PM1 day I feel like I've seen a thread that references a solution to this, but search fails me. I don't see a battery status exposed for the triggerlink nodes, but my goal is to receive a notification when it is time to change the battery. Any ideas or links are welcomed. EISY and TriggerLink 2421 .42TY
Saturday at 04:56 PM1 day I haven’t used triggerlinc but as I recall they are like Insteon leak sensors, you create programs that look for a daily I’m alive signal and if it’s not sensed, it’s likely a failed battery.
Saturday at 05:16 PM1 day Author I do not have much experience with programming on EISY but below is a framework, I know it is incomplete and any pointers are appreciated. Seems like for battery powered device such as TriggerLink, there would have to be some type of additional IF? BackDoor - [ID 005C][Parent 0001]If 'Main House / Sensors / BackDoor' Responding is FalseThen $Battery_LOW = 1Else - No Actions - (To add one, press 'Action')
Saturday at 05:58 PM1 day Author Still just a framework, I will build this out with some detail but this is my current approach based on u/paulbates. I think the idea below is to not inform if things are OK, but set variable (which informs downstream) if the heartbeat condition is not met. Not exactly sure how to test unobtrusively, so any feedback is welcomed. BackDoor - [ID 005C][Parent 0062]If 'Main House / Sensors / BackDoor / Back Door-Heartbeat' Status is Off Or 'Main House / Sensors / BackDoor / Back Door-Heartbeat' Status is On Then Wait 25 hours Else $Battery_LOW = 1
8 hours ago8 hr Author Well, that wasn't working. I enlisted ChatGPT for an answer and we wrote the following program pairs for Insteon heartbeat-enabled devices:1) A program to monitor the heartbeat (using control rather than status - this was important) and if heartbeat is received, restart the timer program2) The timer program that fires the notify if the timer ever expires. Logic seems sound, we'll see how it works in production._BackDoor-HB - [ID 0064][Parent 0048]If $HB_BackDoor_Armed is 1 Then Wait 25 hours Send Notification to 'Prowl-Normal' content 'Battery-BackDoor' Repeat Every 24 hours Send Notification to 'Prowl-Normal' content 'Battery-BackDoor' Else - No Actions - (To add one, press 'Action') ________________________________________BackDoor-Notify - [ID 0064][Parent 0048]If $HB_BackDoor_Armed is 1 Then Wait 25 hours Send Notification to 'Prowl-Normal' content 'Battery-BackDoor' Repeat Every 24 hours Send Notification to 'Prowl-Normal' content 'Battery-BackDoor' Else - No Actions - (To add one, press 'Action')
7 hours ago7 hr Author 41 minutes ago, walkman9999 said:$HB_BackDoor_Armed is 1Is this what you're referring to? If so, this variable is always 1 (set to 1, init is 1). I think it is used to make the program "active". The problem I had with my first iteration was that there was nothing to trigger it. If this isn't what you're referring to, let me know. I'm trying to work thru the possible logic problems.
6 hours ago6 hr The program will run as long as the variable is 1. If you set it to 1 when you leave town for a period longer than one day, then you'll eventually get a battery notice which will be incorrect info.That program logic is designed for Insteon wireless sensors that have a 24 hour heartbeat node.Another way to do it (pseudo code), which also depends on how you use the backdoor:Iftriggerlinc is switches onorTriggerlinc is switched ofThenWait 24 hoursSend notificationThis way looks for the triggerlinc to activate at all and not dependent on variable logic. If there is some activity it has battery. Same problem though, that if you close the door and leave (or don't use the door for 24 hours) it will send the notifcation Edited 6 hours ago6 hr by paulbates
5 hours ago5 hr Here is the thread I think you're looking for, as per your first post. I used that as a basis for my own monitoring of my triggerlincs and leak sensors:
2 hours ago2 hr Author 3 hours ago, paulbates said:program logic is designed for Insteon wireless sensors that have a 24 hour heartbeat node. Referring to this thread, I was under the impression that TriggerLinks had heartbeat sent once/24h or so. Further reading seems to indicate that the heartbeat behavior is dependent on the version and I have a mix of the v.43 and .42. All sensors expose a "Heartbeat" component but I will report back on behavior. It looks like the original thread (linked above by Guy Lavoie) also relies on a heartbeat, so unless I can leverage that function I don't know how to approach the battery warnings. Some sensors are on rarely used doors so it is a concern.Appreciate the insight so far, any other info welcomed.TY
2 hours ago2 hr Your only option is to monitor the heartbeat of the triggerlinc, but you may not know the battery failed for 24 hours. If you have zwave installed, then the zwave sensors monitor the actual battery voltageZooz 800 Series Z-Wave Long Range XS Open | Close Sensor ZSE41 800LR - The Smartest House
Create an account or sign in to comment