A Raspberry Pi config for home automation with Home Assistant
Home Assistant: Installs the Home Assistant Docker configuration so you can manage smart devices across your home network. Use Home Assistant to automate your home!
Supports the install of either the normal Home Assistant Core or the powerful Home Assistant Supervisor (formerly referred to as Hassio / Hass.io). The later is only recommended for experienced users.
AirConnect: Installs the AirConnect Docker configuration so you can send audio to UPnP/Sonos/Chromecast players using AirPlay.
- Install Ansible. The easiest way (especially on Pi or a Debian system) is via Pip:
- (If on Pi/Debian):
sudo apt-get install -y python3-pip
- (Everywhere):
pip3 install ansible
- (If on Pi/Debian):
- Clone this repository:
git clone https://github.com/martinbrose/home-pi.git
, then enter the repository directory:cd home-pi
. - Install requirements:
ansible-galaxy collection install -r requirements.yml
(if you seeansible-galaxy: command not found
, restart your SSH session or reboot the Pi and try again) - Make copies of the following files and customize them to your liking:
example.inventory.ini
toinventory.ini
(replace IP address with your Pi's IP, or comment that line and uncomment theconnection=local
line if you're running it on the Pi you're setting up).example.config.yml
toconfig.yml
- Run the playbook:
ansible-playbook main.yml
Visit the Pi's IP address (e.g. http://192.168.1.10:8123/).
This project is inspired and based on the excellent Internet Pi.
Check it out for a Raspberry Pi Configuration for Internet connectivity.
MIT
This project was created in 2022 by Martin Brose.