Skip to content

alanmcna/fermmon

Repository files navigation

What / why?

Set-up to monitor my brew fermentation (over a ~10 day period) to watch for co2 levels to drop to indicate the brew is done.

Also have a Rowi (API enabled plug) to turn on my heater belt if the temp drops low.

Currently a WIP - will improve and add some 3d print files for the housing ( fits on top of the airlock).

hardware

  • pi-zero 2w
  • ccs811 - air quality sensor (sparkfun)
  • DS18b20 - Temperature Sensor Probe - Stainless steel
  • rowi 2
  • Mangrove Jack starter brew kit
  • Thermowell 300mm - cut to suit

/boot/firmware/config.txt

# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=spi=on

# Enable I2C clock stretching
dtparam=i2c_arm_baudrate=10000

...

dtoverlay=w1-gpio
enable_uart=1

packages

  • git
  • r-recommended
  • r-cran-zoo
  • python3-pip

python packages

Note: see also https://github.com/sparkfun/Qwiic_CCS811_Py but there is a pull request open for this

services

 sudo cp *.service /etc/systemd/system/
 systemctl enable fermmon.service http.service 

cron

# m h  dom mon dow   command
*/5 * * * * cd /home/ubuntu/fermmon && /usr/bin/Rscript fermmon.r >/dev/null

testing

  • readTemp.py to check if the 1-wire temperature probe is working
  • testRowi.py to check that Rowi is working
  • check cron ** journalctl -u cron -f
  • creck for debugging messages ** journalctl -u fermmon -f

Co2 and tVOC text Int/Ext Temp and Humidity

references

About

Some monitoring of my brew fermenter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published