---
title: "Кои сензори имат нужда от батерии? Един общ седмичен отчет"
description: "Всяка неделя в 09:00 телефонът казва кои батерии падат под 25 % или че всички са наред. Blueprint за Home Assistant събира всички батерийни сензори в един отчет."
canonical: "https://realhomeautomations.com/bg/projects/koi-senzori-imat-nuzhda-ot-baterii-edin-obsht-sedmichen-otchet/"
language: bg-BG
updated: 2026-11-23T16:24:03+00:00
---

# Кои сензори имат нужда от батерии? Един общ седмичен отчет

Всяка неделя в 09:00 телефонът казва кои батерии падат под 25 % или че всички са наред. Blueprint за Home Assistant събира всички батерийни сензори в един отчет.

> Канонична HTML страница: https://realhomeautomations.com/bg/projects/koi-senzori-imat-nuzhda-ot-baterii-edin-obsht-sedmichen-otchet/

- **Difficulty:** Начинаещи
- **Build time:** 20–40 минути
- **Време за четене:** 3 minutes

## Tools required

- Home Assistant (със сензори с батерия)
- Blueprint „Low Battery Notifications &amp; Actions“ (от Blackshome, от общността)
- Мобилното приложение на Home Assistant (за известията)


## What readers will learn

- Да получаваш един седмичен отчет за слабите батерии
- Да изключиш телефони и сензори, за които отчетът е излишен
- Understand why some batteries don't show up


## Skill requirements

- Да импортираш blueprint в Home Assistant

A door sensor quietly stops and you only find out when something doesn't fire. One weekly report solves this: once a week Home Assistant tells you which batteries are weak.

 ## Какво ще получиш

 A notification every Sunday at 09:00 with a list of the sensors whose battery is below a chosen threshold, or a short "all are fine". No separate sensor is needed for each device.

 ## Какво ни трябва

- Home Assistant with sensors that have a "battery" entity in percent;
- The blueprint "Low Battery Notifications & Actions" by Blackshome. It is from the community, not part of Home Assistant;
- Мобилното приложение на Home Assistant за известията.

 Статията е обяснение. Не е нужен определен продукт: подходят всички сензори, които Home Assistant показва с проценти на батерията.

 ## Как работи

 Blueprint-ът проверява всички обекти с процент на батерията, избира тези под праг и ги пакетира в едно съобщение. Часът и дните са настройка. Можеш да му дадеш и списък със сензори, които да пропуска.

 ## Как е у нас

 Marto uses the blueprint with all the sensors. The threshold is 25%, the time is 09:00 and the day is Sunday only. The report goes to two mobile devices with the title "Batteries" and with a quieter notification mode ("passive"). If there are no weak batteries, the message is "All batteries are fine.". The batteries of the phones and the watch are excluded from the report, as well as two sensors on the balcony.

 ## Стъпки

- Импортирай blueprint-а през **Settings → Automations & scenes → Blueprints → Import Blueprint**.
- Create an automation from it. For the choice of sensors leave "all".
- Задай праг, например 25 %, час 09:00 и ден от седмицата.
- Избери мобилните устройства, които да получават отчета.
- Exclude the sensors you aren't interested in: phones, watches, sensors with a normally changing level.
- Запази и пусни автоматизацията ръчно за проба.

 ## Ако искаш без blueprint

 Може да получиш същия списък с шаблон. Вариантът е примерен и показва само сензорите под 25 %. Ползвай го като съобщение в известие.

 ```
{% set low = namespace(items=[]) %}
{% for s in states.sensor
   if s.attributes.device_class == 'battery'
   and s.state | float(100) < 25 %}
  {% set low.items = low.items + [s.name ~ ': ' ~ s.state ~ ' %'] %}
{% endfor %}
{{ low.items | join('\n') if low.items else 'All batteries are fine.' }}
```

 The template doesn't see the sensors that are "unavailable": they are not below the threshold and won't appear. Watch them separately.

 ## Проверка на резултата

- The test run makes a notification with a list or with "all are fine";
- Сензор с нисък процент се появява в списъка;
- The excluded devices don't appear.

 ## If it doesn't work

- Сензор липсва в отчета → няма обект с процент на батерията → провери в картата на устройството;
- Some devices give "low battery" only as on/off, not as a percentage → add them to a separate check;
- No notification comes → the mobile app's service is different → choose the devices again.

 ## Ограничения

- Процентът е приблизителен и при много батерии пада рязко близо до края: 25 % е запас, не гаранция;
- A sensor that has lost connection won't report a low battery: the report doesn't replace a check for "unavailable";
- Blueprint-ът е от общността: след обновяване на Home Assistant провери, че още работи.

 ## Източници и статус на проверката

 Проверка по документация и по Home Assistant на Марто (само четене), 22.11.2026.

- [Home Assistant: Blueprints](https://www.home-assistant.io/docs/blueprint/)
- [Home Assistant: Templating](https://www.home-assistant.io/docs/configuration/templating/)
- [Home Assistant Companion: Notifications](https://companion.home-assistant.io/docs/notifications/notifications-basic/)