Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 3.69 KB

README.md

File metadata and controls

56 lines (38 loc) · 3.69 KB

Home Assistant config for pool control

This repository contains the config files for my Home Assiant installation as well as the wiring and part details.

Features

  • Control the weekday schedual of the pool pump and heat pump via the UI (Hydro off peak hours)
  • Control whether the pump and heat pump are following their scheduals or on manual control
  • Monitor the temperature of the water and air
  • Monitor the water presure at the filter
  • Warn if the pump is running, but there is no water presure
  • Monitor if the heat pump is running based on temperature increase of the water

UI

Changed from a MCP3008 to MCP3304 to get a better resolution of the pressure sensor.

Hardware

Wiring diagram

Replace MCP3008 with MCP3304 Wiring diagram

References

Install

Install the docker home assistant container

sudo docker run --restart always --init -d --name="homeassistant" --cap-add ALL -v /lib/modules:/lib/modules -v /sys:/sys --device /dev/ttyAMA0:/dev/ttyAMA0 --device /dev/mem:/dev/mem --privileged -v /home/pi/homeassiant-pool:/config -v /etc/localtime:/etc/localtime:ro --net=host homeassistant/raspberrypi3-homeassistant

Install gpiozero into the container sudo docker exec -it homeassistant pip install gpiozero

run in container sudo docker exec -it homeassistant /bin/bash

restart sudo docker restart homeassistant

Clone this repo into it's config folder. /home/homeassistant/docker

Add a secrets.yaml file after cloning. Contains the login and email details for gmail and recipients