Your own alarm with eufy Chime: door sensors and presence from phones
An alarm put together from a eufy station, Zigbee door sensors and presence from phones: control from the Home Assistant screens, automatic arming and disarming and a “Don’t arm by itself” switch.
- Level
- Intermediate
- Active time
- 60–120 minutes
- Home Assistant required
- Yes
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.
What you will get
- An alarm panel on the Home Assistant screens (dashboards) with buttons for “home”, “away” and “disarmed”.
- Automatic arming when both have left home, and automatic disarming when one of them comes back.
- 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 sound from the station and a notification on the phones at every arming and disarming.
- A notification on the phones and the station going off if the front door opens while the system is armed “away”.
If you want the alarm entirely in Home Assistant, with an exit time and an entry time, see Home Assistant as a security alarm. Here we are interested in something else: the ready-made eufy station plus presence.
What you need
- Main device: Sonoff SNZB-04PR1, a door and window sensor: 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.
- A screen for the dashboard: an old tablet or a phone on the wall, see An old tablet as a control panel.
- You need a Zigbee hub or Home Assistant with a Zigbee adapter for the sensors.
Optional: Aqara Smart Lock U200. Our front door has such a lock.
How it works
The station is an alarm panel: in Home Assistant it is 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.
The five door sensors are Zigbee and were added through ZHA. Each also has a separate check for opening of the housing (tamper). The front door also has a lock that locks itself 10 minutes after the door closes.
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.
Steps
- Add the eufy station to Home Assistant. The check: an alarm panel and a mode selector appear.
- Pair the Zigbee door sensors and name them by room.
- 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.
- Add the arming and disarming automations (examples below).
All the entity names below are examples: person.martin, person.iliyana, input_boolean.alarm_no_self_arm and notify.mobile_app_*. Replace them with your own.
Dashboard card:
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
Automatic arming when both are out for 5 minutes:
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
Automatic disarming when someone comes home:
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
The 5-minute time is the exit time and is an example. If the GPS position jumps, see Your phone checks you out while you’re at home.
Checking the result
- 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.
- Come home: the station disarms with a sound and a notification.
- 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.
Limitations
- The eufy Security integration for Home Assistant is a community one, not official. A eufy account is needed.
- The Schedule and Geofencing modes are managed by the eufy app. Home Assistant shows them, but may not change them.
- The door sensors are Zigbee and rely on your Zigbee adapter. Without it there is no triggering from a door.
Related projects
- Home Assistant as a security alarm
- An alarm that tells you why it won’t arm
- Smart lock and video doorbell
- Your phone checks you out while you’re at home
Sources and verification status
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.
At home
Marto
At Marto’s, the alarm is controlled from the Home Assistant screens. It arms itself when Marto and Iliyana are out, disarms when they come home, and has a “Don’t arm by itself” switch for the days when grandma and grandpa look after the kids.
Need a hand?
We can set up and install everything in this project. In some regions we install it ourselves — ask us.
Contact us



