Boiler control via e-mail and image processing with Raspberry Pi
C C++ Python Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Raspboil is a project that uses a Raspberry Pi for a water boiler control via e-mail and image processing. The project uses the wiringPi library and openCV. The instructions assume that you already have Raspbian installed on your card. You will also need to create an e-mail address at gmail for your Raspberry Pi.

Project page:

To install wiringPi:

To install and use openCV:

sudo apt-get update
sudo apt-get install cmake
sudo apt-get install libopencv-dev

Building and installing the main daemon:

mkdir /home/pi/bin
cd boilerwatch
gcc boil.c -o boil -lwiringPi
cp boil /home/pi/bin
cd ..

Building and installing the image processing binary:

cd imageprocessing
cmake .
cp imageproc /home/pi/bin
cd ..

Installing the python scripts and the init script:

cp /home/pi/bin
cp /home/pi/bin
sudo cp boiler_script /etc/init.d/
sudo update-rc.d boiler_script defaults

After following these steps the raspboil project will be auto-started at system startup by the init script.

To use the project, replace the username and password in at line 113 with the gmail username and password that you created for your Raspberry Pi system. Also add your e-mail address from which the Raspberry Pi will receive mails in at line 12.