---
title: "Собствена аларма с eufy Chime: датчици по вратите и присъствие от телефоните"
description: "Аларма, сглобена от станция eufy, Zigbee датчици по вратите и присъствие от телефоните: управление от екраните на Home Assistant, автоматично въоръжаване и разоръжаване и превключвател „Не се въоръжавай сам“."
canonical: "https://realhomeautomations.com/bg/projects/sobstvena-alarma-s-eufy-chime-datchitsi-po-vratite-i-prisastvie-ot-telefonite/"
language: bg-BG
updated: 2026-11-23T16:28:38+00:00
---

# Собствена аларма с eufy Chime: датчици по вратите и присъствие от телефоните

Аларма, сглобена от станция eufy, Zigbee датчици по вратите и присъствие от телефоните: управление от екраните на Home Assistant, автоматично въоръжаване и разоръжаване и превключвател „Не се въоръжавай сам“.

> Канонична HTML страница: https://realhomeautomations.com/bg/projects/sobstvena-alarma-s-eufy-chime-datchitsi-po-vratite-i-prisastvie-ot-telefonite/

- **Difficulty:** Средно ниво
- **Build time:** 60–120 минути
- **Време за четене:** 5 minutes

## Tools required

- Датчик за врата (Sonoff SNZB-04PR1, по един на врата)
- Станция eufy (добавена през интеграцията eufy Security)
- Телефони с приложението на Home Assistant (за присъствие)
- Екран за таблото (таблет или телефон на стената)
- Zigbee хъб или адаптер (или Home Assistant със Zigbee адаптер)


## What readers will learn

- Да управляваш алармата от екраните на Home Assistant
- Да въоръжаваш и разоръжаваш автоматично по присъствието на телефоните
- Да изключваш автоматичното въоръжаване с един превключвател


## Skill requirements

- Добавяне на интеграции и Zigbee устройства в Home Assistant
- Автоматизации с условия

## Комплект за проекта

- [Умен сензор за врати и прозорци Sonoff SNZB-04PR1 – протокол Zigbee 3.0, захранване с батерия CR2477, известия в реално време при отваряне, eWeLink и Home Assistant](https://realhomeautomations.com/bg/produkt/smart-door-and-window-sensor-sonoff-snzb-04pr1-zigbee-3-0-protocol-cr2477-battery-powered-real-time-opening-alerts-ewelink-home-assistant/index.md)

We didn't buy a ready-made security system. We put it together from things we have anyway: a eufy station, Zigbee door sensors and the phones of Marto and Iliyana. The alarm is controlled from the Home Assistant screens, and it arms and disarms itself depending on who is home.

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

- An alarm panel on the Home Assistant screens (dashboards) with buttons for "home", "away" and "disarmed".
- Автоматично въоръжаване, когато и двамата са напуснали дома, и автоматично разоръжаване, когато единият се прибере.
- A "Don't arm by itself" switch for the days when grandma and grandpa look after the kids and there are people at home, while the hosts' phones are out.
- Звук от станцията и известие на телефоните при всяко въоръжаване и разоръжаване.
- A notification on the phones and the station going off if the front door opens while the system is armed "away".

 Ако искаш алармата да е изцяло в Home Assistant, с време за излизане и за вход, виж [Home Assistant като охранителна аларма](/bg/projects/home-assistant-kato-ohranitelna-alarma-vaorazhavane-zabavyane-na-vhoda-i-izvestie-pri-srabotvane/). Тук ни интересува другото: готовата станция на eufy плюс присъствие.

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

- **Основно устройство:** [Sonoff SNZB-04PR1, датчик за врата и прозорец](/bg/produkt/smart-door-and-window-sensor-sonoff-snzb-04pr1-zigbee-3-0-protocol-cr2477-battery-powered-real-time-opening-alerts-ewelink-home-assistant/): one per door. We have five sensors, one each on the front door, bathroom, bedroom, kids' room and living room.
- A eufy station, added in Home Assistant through the eufy Security integration. At our place the station is named "Home Chime". It is not part of our shop.
- The household's phones with the Home Assistant app, so that there is "presence" for each person.
- Екран за таблото: стар таблет или телефон на стената, виж [Стар таблет като контролен панел](/bg/projects/star-tablet-kato-kontrolen-panel-za-tselia-dom/).
- Нужен е Zigbee хъб или Home Assistant със Zigbee адаптер за датчиците.

 **По желание:** [Aqara Smart Lock U200](/bg/produkt/smart-lock-aqara-u200-kit-white-apple-homekit-matter/). При нас входната врата е с такава брава.

 ## Как работи

 Станцията е алармен панел: в Home Assistant тя е `alarm_control_panel.home_chime`. Next to it there is a mode selector (Guard Mode) with the values Away, Home, Schedule, Custom 1, 2 and 3, Geofencing and Disarmed, and separate settings for the volume of the alarm and of the station's prompts.

 Daily control is from the screens: the "Alarm panel" card shows the state and has buttons for arming and disarming. Next to it sits the "Don't arm by itself" switch.

 The automation watches the two phones ("person" entities). When both are out, an exit time of 5 minutes starts. If after that they are still out and the switch is off, the station arms "away", a sound comes from it and both phones get a notification. When either of them comes home, the station disarms, again with a sound and a notification.

 When grandma and grandpa are at home, you turn on the "Don't arm by itself" switch. Then automatic arming doesn't happen, while manual arming from the screen keeps working.

 Петте датчика по вратите са Zigbee и са добавени през ZHA. Всеки има и отделна проверка за отваряне на корпуса (tamper). Входната врата има още и брава, която сама се заключва 10 минути след като вратата се затвори.

 The triggering is the automation "Critical notification if front door opens when home is armed". When the front door opens while the panel is in "away" mode, it sends a critical notification to both phones with the title "The front door opened!" and sets off the station's alarm.

 ## Стъпки

- Добави станцията на eufy в Home Assistant. Проверката: появява се алармен панел и избор на режим.
- Сдвои Zigbee датчиците по вратите и ги кръсти по стаите.
- Add the phones to Home Assistant and link each to a "person" entity.
- Create a "Toggle" helper (Settings → Devices & Services → Helpers → Toggle) with the name "Don't arm by itself".
- Add the "Alarm panel" card and the switch to the dashboard (example below).
- Make the triggering automation: trigger "door opened", condition "the panel is in away mode", actions: a notification and setting off the station.
- Добави автоматизациите за въоръжаване и разоръжаване (примери по-долу).

 Всички имена на обекти по-долу са примерни: `person.martin`, `person.iliyana`, `input_boolean.alarm_no_self_arm` и `notify.mobile_app_*`. Замени ги със своите.

 Карта за таблото:

 ```
type: vertical-stack
cards:
  - type: alarm-panel
    entity: alarm_control_panel.home_chime
    states:
      - arm_home
      - arm_away
  - type: tile
    entity: input_boolean.alarm_no_self_arm
    name: Don't arm by itself
```

 Автоматично въоръжаване, когато и двамата са навън 5 минути:

 ```
alias: Alarm – arm "away" when both are out
triggers:
  - trigger: state
    entity_id:
      - person.martin
      - person.iliyana
    to: not_home
    for: "00:05:00"
conditions:
  - condition: state
    entity_id: person.martin
    state: not_home
  - condition: state
    entity_id: person.iliyana
    state: not_home
  - condition: state
    entity_id: input_boolean.alarm_no_self_arm
    state: "off"
  - condition: not
    conditions:
      - condition: state
        entity_id: alarm_control_panel.home_chime
        state: armed_away
actions:
  - action: alarm_control_panel.alarm_arm_away
    target:
      entity_id: alarm_control_panel.home_chime
  - action: eufy_security.chime
    target:
      entity_id: alarm_control_panel.home_chime
  - action: notify.mobile_app_martin
    data:
      title: The alarm is armed
      message: You are both out. The station is in "away" mode.
  - action: notify.mobile_app_iliyana
    data:
      title: The alarm is armed
      message: You are both out. The station is in "away" mode.
mode: single
```

 Автоматично разоръжаване, когато някой се прибере:

 ```
alias: Alarm – disarm when someone comes home
triggers:
  - trigger: state
    entity_id:
      - person.martin
      - person.iliyana
    to: home
conditions:
  - condition: state
    entity_id: alarm_control_panel.home_chime
    state: armed_away
actions:
  - action: alarm_control_panel.alarm_disarm
    target:
      entity_id: alarm_control_panel.home_chime
  - action: eufy_security.chime
    target:
      entity_id: alarm_control_panel.home_chime
  - action: notify.mobile_app_martin
    data:
      title: The alarm is disarmed
      message: Someone came home.
  - action: notify.mobile_app_iliyana
    data:
      title: The alarm is disarmed
      message: Someone came home.
mode: single
```

 Времето 5 минути е времето за излизане и е примерно. Ако GPS позицията скача, виж [Your phone checks you out while you're at home](/bg/projects/telefonat-te-otchita-navan-a-ti-si-vkashti-prisastvie-po-dvizhenie-vatre-ne-samo-po-gps/).

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

- Both of you go out and wait 5 minutes: the panel goes to "away", the station makes a sound and both phones get a notification.
- Turn on "Don't arm by itself" and repeat: the panel stays as it is.
- Прибери се: станцията се разоръжава със звук и известие.
- Arm "away" from the screen and open the front door: both phones get a notification and the station goes off.

 ## If it doesn't work

- No notification → the phone's service name is different → check in Developer Tools → Actions for "notify.mobile_app_…".
- The panel in Home Assistant doesn't show the mode → the change was made from the eufy app → refresh the panel: a change from the app can show with a delay.
- Arming by presence doesn't start → one of the phones is "unknown" → check the app's location permissions.
- No sound → the station doesn't support the chime service → use only the notification.

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

- Интеграцията eufy Security за Home Assistant е общностна, не официална. Нужен е eufy акаунт.
- Режимите Schedule и Geofencing се управляват от приложението на eufy. Home Assistant ги показва, но може да не ги променя.
- Датчиците на вратите са Zigbee и разчитат на твоя Zigbee адаптер. Без него сработване от врата няма.

 ## Свързани проекти

- [Home Assistant като охранителна аларма](/bg/projects/home-assistant-kato-ohranitelna-alarma-vaorazhavane-zabavyane-na-vhoda-i-izvestie-pri-srabotvane/)
- [An alarm that tells you why it won't arm](/bg/projects/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira/)
- [Умна брава и видеозвънец](/bg/projects/umna-brava-i-videozvanets-koy-e-na-vratata-otvaryane-ot-telefona-i-samozaklyuchvane/)
- [Your phone checks you out while you're at home](/bg/projects/telefonat-te-otchita-navan-a-ti-si-vkashti-prisastvie-po-dvizhenie-vatre-ne-samo-po-gps/)

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

 Checked on 23.11.2026. The "How it works" part about the station, the sensors, the lock and the triggering is from Marto's Home Assistant.

- [eufy Security за Home Assistant: режими на охрана и служби](https://github.com/fuatakgun/eufy_security)
- [Home Assistant: Alarm control panel](https://www.home-assistant.io/integrations/alarm_control_panel)
- [Home Assistant: карта Alarm panel](https://www.home-assistant.io/dashboards/alarm-panel/)
- [Home Assistant: Zigbee Home Automation](https://www.home-assistant.io/integrations/zha/)
- [Home Assistant: Person](https://www.home-assistant.io/integrations/person/)