šŸŖ« Low Battery Notifications & Actions

@Alwin_Hummels

I just do this as shown in the FAQ.

Blacky :smiley:

Thanx for the quick reply, as I understand this is a manual process I canā€™t just simple fetch the data from the battery notes integration or do i read it wrong?

But when running with fully kiosk and without sidebar on a tablet the user cannot see the notification. Is it possible for you to implementate an useful entity for dashboard ?

@Alwin_Hummels

Sorry I donā€™t use that integration as I try to just keep things simple. I just keep a stock of batteries as AA, AAA or CR2032 so when I get the notification I just add to the to do list and then just know what battery I need or just replace them when I get notified. You could always reference the battery using the integration.

Blacky :smiley:

1 Like

@Thor_Sten

Maybe this is a WTH topic as it is running this month.

WTH - Dynamic Notification In Dashboard

Vote here WTH - Dynamic Notification In Dashboard

Blacky :smiley:

New Update 2.8

Stay Charged, Stay Smart! Customize it your way and letā€™s automate your battery maintenance! :battery::zap:

New Feature :new:

  • Unknown Sensors - It will now detect battery sensors that report as Unknown.

Maintenance :toolbox:

  • Clean up some code.

If you like this blueprint? Consider hitting the :heart: button in the top post :+1:

If you like my blueprints, and would like to show your support or just say thank you? Click Here :smiling_face_with_three_hearts:

Enjoy

Blacky :grinning:

4 Likes

I have it set up in an automation for low batteries where it sends a notification to the phone and does a tts message over a speaker. When all batteries are ok it works fine for the phone but how would i go about doing the same for the tts?

How can i disable batteries are okay message? I only want to bss notified when batteries are low?

@RogerB1

You will have to make sure your condition is correct in your TTS. Have a look at point 6 or 7 in this FAQ click here as this can help you through it.

Blacky :smiley:

@johnsnow

Depending on if your notifying a device (mobile phone) or notification in the UI. Just select the one your afterā€¦ see below.

Blacky :smiley:

Does this look right
EDIT: works flawlessly. THANKYOU

if:
  - condition: template
    value_template: "{{ sensors == '' }}"
then:
  - action: tts.cloud_say
    metadata: {}
    data:
      cache: false
      language: en-IE
      entity_id: >-
        media_player.foyer_speaker,media_player.master_bedroom,media_player.arc_ultra
      message: I am not seeing any low Batteries. You are all clear
if:
  - condition: template
    value_template: "{{ not sensors == '' }}"
then:
  - action: tts.cloud_say
    metadata: {}
    data:
      cache: false
      language: en-IE
      entity_id: >-
        media_player.foyer_speaker,media_player.master_bedroom,media_player.arc_ultra
      message: I have Detected some low batteries. Here they are. {{sensors}}
1 Like

I tried with "Use The Time Trigger " disabled but ā€œDevice Notification Optionsā€ enabled and never got any notification when the battery dropped below 20% on my switchbot lock or ring keypad.

I tried with "Use The Time Trigger " enabled and ā€œDevice Notification Optionsā€ enabled, I get notifications daily since my ring keypad is below 20% but if everything is above 20% it still sends a notification daily with ā€œYES! All batteries are okay :)ā€

I do not want any notifications in the UI and only want a notification on my phone when batteries are below 20%, so how can i stop ā€œYES! All batteries are okay :)ā€ notification?

EDIT:

I believe my mistake was using ā€œEnable UI Notification + Okay Confirmation Messageā€ instead of ā€œEnable Device Notificationā€

1 Like

thanks for the great blueprint. Much appreciated.

is there anyway of setting a due date when adding to the todo list?

that would be a big improvment for me :slight_smile:

thanks
Philipp

@phischi

When you add it to a to-do list and you have chosen Add To-Do List Action Buttons + Confirmation Message when you receive the confirmation message if you click on it, it will take you directly to your selected To-Do list and you will see the new task. You then just click on the task and add your due date.

Blacky :smiley:

The guided use of Blueprints is simply fantastic, even for novices with no prior experience, thanks to the authorā€™s ingenuity!
However, the ā€˜Okay Confirmation Messageā€™ setting in the Blueprint settings is a bit confusing to me, as it seems to send an ā€˜Okay Confirmation Messageā€™ to a given target if no battery level drops below the specified value at any time the check is triggered. To be honest itā€™s not what I want, I just want to be reminded when I need it, but when I actually tested it I didnā€™t seem to get an alert when the battery was all fine (and I did get an alert if there was an abnormality)

@Collide3796

Welcome to the community and thanks for your kind words.

See below the options you have.

Hope this helps. If you have any questions just ask.

Blacky :smiley:

1 Like

@Blacky
Thanks for your quick reply. I know why I didnā€™t understand it before. My first reaction to the description of Okay Confirmation Message is that after turning it on, a confirmation button will be added to the notification, and the notification will disappear only when the confirmation button is pressed. Maybe itā€™s because my English is not very good that I made a jokešŸ¤£.

Maybe the Action Buttons function is what I understand as adding buttons to notification messages and adding family to-dos after pressing them? I tried the following configuration, but the notification message is the same as usual, and the button to add to-do is not found.

@Collide3796

There are two types of confirmation messages:

  1. No Low Batteries to Report:
    The first confirmation message appears when there are no low batteries to report. This serves as a reassurance that everything is functioning as expected and no action is needed.
  2. Action Button Confirmation:
    The second confirmation message is triggered when you press an action button. For example, if you choose to add the battery list to a to-do list, youā€™ll receive a confirmation message. Tapping this confirmation message will take you directly to your to-do list, allowing you to view and edit it as needed.

iPhone-Specific Interaction:

For iPhone users, thereā€™s a nuance to interacting with these messages due to how Apple handles notifications:

  • When you receive the low battery notification, tap, hold, and release to access the action button.
  • If you only tap the notification, it will dismiss the message, and you wonā€™t see the action button. Unfortunately, this behavior is determined by Appleā€™s system and cannot be adjusted.

Blacky :smiley:

@timo

This has nothing to do with this blueprint.

I ask you kindly remove / delete your post and stay on topic.

Blacky :smiley:

Great BP, thanks a lot for making it!