Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manchicken/tilt_based_heater
A program to control a heater relay based on logs generated by the Tilt floating Bluetooth hydrometer.
https://github.com/manchicken/tilt_based_heater
hacktoberfest home-automation homebrewing raspberry-pi
Last synced: 18 days ago
JSON representation
A program to control a heater relay based on logs generated by the Tilt floating Bluetooth hydrometer.
- Host: GitHub
- URL: https://github.com/manchicken/tilt_based_heater
- Owner: manchicken
- License: mpl-2.0
- Created: 2020-10-29T04:12:47.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-22T13:11:19.000Z (almost 4 years ago)
- Last Synced: 2023-03-24T10:57:54.314Z (almost 2 years ago)
- Topics: hacktoberfest, home-automation, homebrewing, raspberry-pi
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tilt-Based Heater Controller
This is a simple heater controller that I wrote based off of the Tilt floating hydrometer,
as well as Digital Loggers AC/DC Control Relay.In order to build this, you need the `gpiozero` module.
I configure the Tilt to log to the device (the Pi, in this case). Then I use this script which watches that log file, parses out relevant fields, and then controls the AC/DC relay.
Note: I use GPIO port 26 right now. I'll likely make this a config entry at some point, but right now it's in the script.
I added a few safeties:
- If I can't parse the date or the temperature, I turn the heat off.
- If it's been too long (15 minutes) since I've seen an entry in the Tilt log file, I turn the heat off just in case the Tilt service bombed.
- I always default to turning the heat off. I don't know what the heat source is, so it might not be safe to leave the heat on.## References
- [Digital Loggers AC/DC Control Relay](https://www.pishop.us/product/iot-power-relay-version-2/) ([Docs on relay](http://www.digital-loggers.com/iot2spec.pdf))
- [Tilt Floating Hydrometer](https://tilthydrometer.com/)
- [Set up NodeRed for Tilt](https://tilthydrometer.com/blogs/news/install-tilt-pi-on-raspbian-buster-compatible-with-all-rpi-models-including-rpi-4)