Hello, it’s My first blueprint but I thought it might be useful to others.
This blueprint allows you to detect whether someone has entered or left home using a combination of:
• Door sensor trigger
• Wi-Fi SSID (via Companion App)
• GPS device tracker
It’s useful for reliable presence detection, especially where GPS isn’t enough (e.g., apartment buildings or poor signal areas).
Features
• Detects entry or exit based on Wi-Fi and GPS change
• Sends mobile notifications
• (Optional) Logs key data to Logbook
• Works with Home Assistant Companion App (Android/iOS)
Import this Blueprint
Click below to import directly into your Home Assistant:
Required Inputs
Field | Description |
---|---|
Person Name | Used in logs and notification messages (e.g., John) |
Door Sensor | Triggers the automation (binary_sensor, door class) |
Wi-Fi SSID Sensor | Provided by Companion App (sensor.*_ssid) |
GPS Tracker | device_tracker.* entity (Companion App) |
Home SSID Name | Your actual Wi-Fi name, e.g., HomeNetwork_5G |
Notification Service | Notify target, e.g., notify.mobile_app_johns_iphone |
Enable Logbook | (Optional) Toggle logging of presence tracking |
How it works
-
When the door opens, it stores current SSID & GPS state.
-
It sends location request and updates.
-
Over ~15 minutes, it checks if either SSID or GPS changed:
• SSID home → not home → Exit
• SSID not home → home → Entry
• GPS home → not_home → Exit
• GPS not_home → home → Entry
- When detected, it:
• Sends notification
• (Optionally) Logs to Logbook
• Stops automation to avoid repeat triggers
Example Notifications
• John has left home (Wi-Fi)
• John has arrived home (GPS)
• 3 minutes before door opened – SSID: true, GPS: home
• Automation completed
Requirements
• Home Assistant Companion App
• Door sensor (binary_sensor, device_class: door)
• SSID and GPS sensors (Companion App)
• Mobile notify service
Credits
Created by @MacSiem