PiTherm is a docker-compose service built for Raspberry Pi. With $15 in hardware (in addition to the Pi), PiTherm turns your Pi into a smart thermostat that can be controlled using Siri with Homebridge or on your smartphone with the built-in web interface. Additionally, PiTherm can be configured to detect the presence of your smartphone and set your AC or furnace to a more energy efficient set-point when you're not home.
- install docker and docker-compose
./prep_host.sh
- reboot
docker-compose up -d
./seed_db.sh
- Modify env vars in the
.env
file - Create your homebridge config and plugins named:
./homebridge/plugins.txt
./homebridge/package.json
- Requires 3 relays driven by 3 GPIO pins to control heat/cool/fan.
- by default, driven on GPIO pins 22 (heat), 23 (fan), and 25 (cool)
- can be found for $8
- Uses $3 1wire temperature sensor (ds18b20)
- connected via the 1wire GPIO pin
- If PiTherm cannot see the temperature sensor, you may need to update your firmware:
sudo apt update && sudo apt upgrade
sudo apt install rpi-update
sudo rpi-update
- Paul Jordan @ paullj1[at]gmail[dot]com