How silverfisk/home-automation works
This repository is a collection of Raspberry Pi home-automation scripts: it reads temperatures, logs indoor and outdoor readings, and controls a heat pump against a target. A separate documented workflow reads a boiler display from an Android webcam using OCR. The graph reflects the main workflows and documented capabilities; some scripts and the plotting/OCR implementations were not sampled, so their internal wiring is shown only where supported by comments or the README.
Main entry points: tempAutomation.rb Pump automation · plotTemp.gnuplot Temperature plot · outsidetemp.rb Outside temperature logger · temperv14 USB sensor driver
Components 21
Temperature sensing
- USB thermometer
- USB sensor driver
temperv14/temperv14 - Driver source
temperv14/temperv14.c - DS18B20 sensor
- 1-Wire reader
readDS18B20.rb - 1-Wire sensor file
Heat-pump control
- Pump automation
tempAutomation.rb - TellStick control
- Heat pump
- Pump status tool
pumpstatus.sh
Logging and display
- Indoor temperature log
- Pump action log
- Temperature plot
plotTemp.gnuplot - Published graph
- Outside temperature logger
outsidetemp.rb - Outside temperature log
- Boiler display OCR
readLCD.sh
Other components
- Operator
- Weather service
- Android webcam
- Boiler display
Connections 20
- Operator → Pump automation: configures
- Pump automation → USB sensor driver: reads temperature
- USB sensor driver → Driver source: implemented by
- USB thermometer → Driver source: USB readings
- Pump automation → Indoor temperature log: appends readings
- Pump automation → TellStick control: runs tdtool
- TellStick control → Heat pump: switches
- Pump automation → Pump action log: records actions
- Pump automation → Temperature plot: runs plotter
- Temperature plot → Indoor temperature log: reads log
- Temperature plot → Published graph: publishes
- Operator → 1-Wire reader: uses
- DS18B20 sensor → 1-Wire sensor file: updates
- 1-Wire reader → 1-Wire sensor file: reads
- Outside temperature logger → Weather service: requests weather
- Outside temperature logger → Outside temperature log: appends readings
- Android webcam → Boiler display OCR: provides image
- Boiler display → Android webcam: captured by
- Operator → Boiler display OCR: configures
- Operator → Pump status tool: checks status