Notify using %text% or %device%

I am attempting to get a low battery notification for my plethora of battery devices. I am using one condition for any less than 40. I then want to notify myself which device triggered the condition. It seems to report a low battery randomly for Deck Door which is 100%. If you look at the screenshot, you’ll see it’s saying 61% for Deck Door but it appears to be Deck Door Laundry that is at 61%.

  1. Why is it triggering at 61%?
  2. Why is it saying Deck Door when it is Deck Door Laundry?

I believe this is an artifact of combining multiple devices into a single "any" trigger (any change on any device will trigger if at least one matches your criteria, even if the specific event/device isn't one that currently does). Separating your triggers into separate triggers for each device will work differently, likely what you want.

You may also wish to consider other options. Battery reporting is notoriously unreliable, which is one reason I wrote this custom app: [RELEASE] Device Activity Check - Get notifications for "inactive" devices, though you can still use it for battery levels if you want.

2 Likes

EDIT: sorry for the redundant post, I see @bertabcd1234 had you covered already.

My guess to both would be that the rule has in fact never triggered at all and those values are not valid.

Not sure it will work the way you want with a sticky trigger on any multiple attributes, especially a long one (pretty sure it won't - long story). Unless you have assessed that your devices don't report monotonically decreasing battery values (and even so, who cares, unless the values swing up and down widly, which would make them unusable), it's safe to remove the "and stays".

Recommend you have a look at the community app called "Device Activity Check"

I have a simple app that iterates thru my devices once per day and notifies any that are under 40%.

Thanks for the quick responses. So if I "OR" each device battery check in the trigger, that should work? It's a bit disconcerting the why it is written that from a logical point of view if any battery reports less than 40, it should cause the trigger and the reporting device should be indicated. I don't understand why it wouldn't work. I see the battery level reports in the logs, but like I said, I get random triggers (less than 24 hours apart) that send a notification, but it is always the deck door. I really like the hub and it's flexibility, but this really degrades the intuitiveness I was hoping for.

I installed the Device Activity Check and it looks really nice for what I need. I set up the group of battery devices and just to test it out, I set the battery level threshold to 70. I ran the "Test Notification Now" and got nothing. I set the time of day to notify at 12:00PM and tried again. Nothing. If I look at the View current report, there are three sensors less than 70 showing. What am I doing wrong?

Never mind. Got it. Needed to click Done and go back in a hit Test Notification Now and it reported them. Thanks again.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.