All resources used in this project are available at the following address:

At various stages in the project, I provide download commands that fetch the database scripts, code files and supporting files required to make the stage function.

In addition there is a setup script and a complete SD Card Image file for anyone wanting to implement the project without working through the posts.

Using the setup script

This is the preferred quick way to setup a home hub, as compiled resources will be built on the target machine.  If you have the raspbian os installed, you can fetch the setup script with the following command…


edit the script to customise the settings…


make the script executable…

sudo chmod +x

and then run it…

sudo ./

This procedure will install all the necessary software and produce a working skeleton hub.

Using the SD Card Image

If you want to use the sd card image then you will need to:

1.  Download it
2. Unzip it to a .img file
3. Write it to an sd card
4. Insert into pi and boot
5. Login over ssh with pi/raspberry
6. Use sudo raspi-config to expand root filesystem and change password
7. reboot and enjoy