currently not using this section correctly, when the project is complete the details will be updated. pictures will be added as well

2017/07/14 - have it auto logging in and starting the software, received the rest of the hardware

2017/06/29 - 1 flow meter is working, waiting on some parts before installing the other 2, thought it wasn't working but had a bad sensor

2017/06/23 - the monitor and wiring is complete

still very much a work in progress

modified the code following code for my needs

End game layout

display beer1 info and amount | beer2 info and amount | beer3 info and amount

display kegerator temp info - tried to add a 2nd temp (draft tower) as the test code stated, but either i didnt hook it up correctly or something else was wrong

display date/time

my code, which should be completed, maybe some minor updates here and there

If there are any questions, feel free to add them to the comments which I will attempt to check once a month.

this will be moved to the build steps when the hardware build steps are typed up

started with B+ but had an old model B around and used that instead, no coding changes needed

Install the Raspbian OS.

Configure Raspbian OS.

sudo raspi-config
  • 1 – Change default pi password
  • 2 – Hostname
  • 4 – Localization Option
    • I2 – Change Timezone
    • I4 – Change Wi-fi Country
      • US United States
  • 5 – Interfacing Options
    • P2 – SSH
      • Yes
  • 8 – Update

Disable Text Terminals from Blanking

sudo nano /etc/kbd/config
  • Edit the following lines to show as follows.

Configure the WiFi

sudo nano /etc/network/interfaces
  • Comment out the following lines by adding a # before each.
iface wlan0 inet manual
  wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
  • Add the following lines.
iface wlan0 inet dhcp
wpa-ssid “wireless-ssid”
wpa-psk “wireless-password”
    • “wireless-ssid” is the SSID and “wireless-password” is the password
  • Reboot.
sudo shutdown –r now

Software Install

  • Install Git
sudo apt-get update
sudo apt-get install git -y
  • Install Pygame
sudo apt-get update
sudo apt-get install python-pygame -y
  • Add OneWire Support
sudo nano /boot/config.txt
    • Edit the file adding the following line to the bottom.
  • Reboot.
sudo shutdown –r now

KS-KegBerry Code

  • Download the code
git clone
  • Run the code to test and exit it.
cd KS-KegBerry
sudo python

Setup Auto Login

sudo mkdir –pv /etc/systemd/system/getty@ttyl.service.d
sudo nano /etc/systemd/system/getty@ttyl.service.d/autologin.conf
    • Add the following lines and save/close the file.
ExecStart=-/sbin/agetty –autologin pi –noclear %I 38400 linux
  • Reboot.
sudo shutdown –r now

Run code on startup

sudo nano
    • Add the following to the lines, save and close.
# Navigate to home dir, then to program dir, then execute, then back home

cd /
cd home/pi/KS-KegBerry
sudo python
cd /
  • Make the file executable.
sudo chmod 755
  • Add logs directory to home directory.
sudo mkdir logs
  • Add to the Crontab.
    • Open up the Crontab.
sudo crontab -e
    • Add the following line to the bottom.
@reboot sh /home/pi/ >/home/pi/logs/cronlog 2>&1
  • Reboot.
sudo shutdown –r now

more to come