AWTRIX Lite - Phone/Device Battery Tracking Blueprint

This blueprint will allow you track the phone battery status on an Awtrix Lite device. The upside is this is cool.

The downside is I took advantage of the icon property and as such you will have to upload a set of custom icons available here: HomeAssistant/icons/phone at master · jeeftor/HomeAssistant · GitHub

Static Battery Images

Charging Images

Home Assistant publishes an icon property which is basically battery_80 or battery_charging_80 - so the easy mode was to name the icons accordingly so they can be loaded by the blueprint.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

Update

Added pushIcon support - however - you may need to delete you’re automation before hand because it doesn’t seem like I can pass in a default value …

5 Likes

Thank you for this, it works great except for the pushIcon but I noticed that you put it twice in the payload, the last one being “pushIcon”:1. I think the one with the variable is just ignored.

Hello, can you make it display for more than one phone? two automations do not work.

If you change the application name you should be able to have it for 2 phones

1 Like

it works, thank you

I can’t for the life of me figure out, how to download the icons… :crazy_face:

Would really like to try this!!!

Disregard, got them downloaded!!!

First of all thanks for the Blueprint,
basically it works - but somehow i don´t get how to implement the Icons in front of the Text.
I downloaded them and but them into AWTRIX - buy you mentioned to change the icon names - but i didn´t see somehow the names associated. The only i see is “Battery_sensor.attributes” ?

I get same no icons what am I missing

Hello,
Thanks for this sharing !
I successfully set it in my HA, now for me the question is : how can I optmize, modify some parameters, as such as the frequency of notification, the treshold to enable the notification etc. I am not familiar with the automations/YAML…

Thank you very much

Best way to get Support is travel on Discord. I’m currently on the system rebuild right now so I don’t really have good dev box to help y’all on, but maybe maybe in a couple days

Hi Jeef, thanks for this blueprint! Everything seems to work except battery-100 doesn’t load when my battery is 100% charged and not on the charger. battery-charging-100 does work as expected. Have you had this problem and know how to fix it?

Hi. Update. I ended making a separate, automation that manually assigns all of the icons to the proper battery levels and states so the icon called battery-100 would properly load. Thank you though for making this blueprint it was great inspiration.

2 Likes

Could you please explain a example for beginners? I’m still struggleing.


mames13

1m

I’m not a pro with Home Assistant yet but it *might be helpful if you provide some more detail about your struggles (like if it is with this blueprint or all blueprints). If it’s a more general question (like say, about using all Home Assistant blueprints), I’ve found it helpful to create a new post asking for help.

@mames13 please could you share the automation code to display the battery at 100%? Thanks a lot :slight_smile:

I was actually going to add a threshold to the automation → because I realized I want to use this for “other” things as well … that might solve the issue… :person_shrugging:

(just got my 4th clock for one of my kids)

@geeftor
how can I do it?
have you updated the blueprint code? thanks

please can anyone who managed to get the icons working 100% tell us how they did it??? thanks :sweat_smile: :laughing:

Hi guys… sorry I’ve been absent :slight_smile: I was working on an update for this blueprint but got 8-ways sidetracked.

Som questions. The /5second is hardcoded in the blueprint and there isn’t an easy way (right now) to override it. You can edit the blueprint code for that.

I dont think I ever used this with a 100% battery but I need to check back into that.

I can’t get the battery icons displayed on the Ulanzi Clock. Tried icons file names with “-” and “_” but no luck so far.

I am only getting phone name and % bar below.

Icons are loaded into Ulanzi Clock under folder “ICONS”.

Any help?