Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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 .42


TY

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.

  • 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 False

Then

$Battery_LOW = 1

Else

- No Actions - (To add one, press 'Action')

  • 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

  • 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 program

2) 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')

  • Author
41 minutes ago, walkman9999 said:

$HB_BackDoor_Armed is 1

Is 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.

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:

If

triggerlinc is switches on

or

Triggerlinc is switched of

Then

Wait 24 hours

Send notification

This 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 by paulbates

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:

  • 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

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.