This repository contains the config files for my Home Assiant installation as well as the wiring and part details.
- 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
Changed from a MCP3008 to MCP3304 to get a better resolution of the pressure sensor.
- Raspberry Pi 3
- 8 Channel DC 5V Relay
- Waterproof Digital Temperature Temp Sensor Probe DS18b20
- Pressure Transducer Sensor
MCP3008- MCP3304 Better resolution than the MCP3008
- Multiple DS18B20 temperature sensors - Raspberry Pi Forums
- Reading from a MCP3002 analog-to-digital converter
- Python code to use the MCP3008 analog to digital converter with a Raspberry Pi or BeagleBone black.
- Raspberry Pi Analog Water Sensor Tutorial | Rototron
- [Install docker] (https://howchoo.com/g/nmrlzmq1ymn/how-to-install-docker-on-your-raspberry-pi)
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