How Home Assistant made me love automation flows in real life
Описание и применение
Автоматизация доступа к дому, сигнализации и автомобиля с помощью Home Assistant, включая последовательное открытие ворот, управление сигнализацией Verisure и блокировку Toyota, улучшив безопасность и удобство.
Задача
Automating physical access and home systems was cumbersome and manual, lacking integration with Home Assistant.
Результат
Automated gate sequences, alarm modes, and car lock/unlock, reducing manual steps and improving home security and convenience.
Рабочий процесс
- 1. Reverse engineered Alfred Smart REST API to create rest_commands for each gate.
- 2. Built scripts to open gates in sequence with timed waits, adjustable via a popup.
- 3. Added health check badge polling API to detect offline status.
- 4. Implemented GPS-based arrival prompt with accuracy filtering and gate selection.
- 5. Integrated Verisure alarm via Securitas HACS integration, adding Disarmed/Partial/Full buttons.
- 6. Extended Toyota HACS integration with custom lock.py to enable lock/unlock and timed notifications.
- 7. Created panel buttons for arriving/going out to open garage doors in sequence.
- 8. Configured Home Assistant dashboard with Bubble Card and Mushroom for control and monitoring.
Доказательства
I rebuilt both as rest_commands in Home Assistant, sending the same headers the web app does.
The alarm disarms when we get home. Me and my partner are not detected home after closing the door, but no alarm was set? It is automatically set.
I wrote a lock.py for it. That made the car automations possible: unlocked for 3 minutes → a notification, still unlocked at 6 → lock it.
- Дата записи: 2026-09-22T00:45:46.684Z