Python apps for home automation
open sourceApache-2.0self-hostablefree
AppDaemon is a loosely coupled, multi-threaded, sandboxed Python execution environment for writing home automation apps. Apps are Python classes that listen for state changes, events and schedules from Home Assistant or an MQTT broker and call services in response, so automations too complex for a hub's own rules can be written as ordinary code. It also serves HADashboard, a configurable dashboard for wall-mounted tablets. It installs with pip, as a multi-arch Docker image or as a Home Assistant add-on. Apache-2.0, founded by Andrew Cockburn.
Problems it solves
- my Home Assistant automations are too complex for YAML, I'd rather write them in Python
- write home automation logic as Python classes with schedules and event listeners
- react to MQTT messages with my own Python code without writing a daemon from scratch
- a wall-mounted tablet dashboard for my smart home
- keep my automations in version-controlled Python files outside Home Assistant
- run time-based and state-based automations that survive a Home Assistant restart
Features
- Python apps that respond to state changes, events and schedules
- multi-threaded, sandboxed execution of apps
- Home Assistant and MQTT plugins
- HADashboard, a dashboard for wall-mounted tablets
- installs with pip, Docker (multi-arch images) or as a Home Assistant add-on
Capabilities
| Has an API | plan not known |
|---|---|
| Takes plugins | plan not known |
| Has official SDKs | plan not known |
Alternatives
The same job
These do what AppDaemon does.
- Node-RED Low-code programming for event-driven applications
