Home Automation Raspberry Pi setup

Raspberry Pi install

Setup locale

Update system

Install python3

Install Docker + Docker compose

https://docs.docker.com/engine/install/debian/

Upgrade Docker

Docker useful commands

Uninstall Docker


Install Home Assistant (discontinued)

Add this to the docker-compose.yml file:

---
version: "2.1"
services:
  homeassistant:
    image: lscr.io/linuxserver/homeassistant
    container_name: homeassistant
    network_mode: host
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Prague
    volumes:
      - /home/pi/homeassistant/data:/config
    devices:
      - /dev/ttyACM0:/dev/ttyACM0
    privileged: true
    restart: unless-stopped

Using custom ZHA quirks in Docker installed Home Assistant

Add this to the end of the config:

zha:
  custom_quirks_path: /config/custom_zha_quirks/

Download and unpack quirks from downloaded zip. Move desired custom quirk .py files to the custom_zha_quirks folder

Martin Púčik

Martin Púčik

Swift Developer

rss facebook twitter github youtube mail spotify lastfm instagram linkedin google google-plus pinterest medium vimeo stackoverflow reddit quora quora