Build a Web connected raspberry pi thermostat and control your heating from any smart devices, Pihome comes with following two options one Wired to GPIO and wireless with nRF24L01.

Buy PiHome Smart Heating – DIY Raspberry Pi Home Automation Kit for Smart Heating

eBay Store

You can download User Manual for PiHome Connection

Wired Heating System Connected to Raspberry Pi GPIO

nRF24L01 Wireless Heating System Based on MySensors Library

Step 1

OS (Raspbian Jessie) Installation and WiFi Configuration

Step 2

Install Apache, PHP and MySQL on a Raspberry Pi (LAMP)

Step 3

MySQL Access From Remote Computer

Step 4

Install git and then clone pihome project from GitHub to your Apache document root location.

MySQL/MariaDB

If you set to MySQL users and password as per instructions then run setup.php from command line otherwise modify setup.php with correct MySQL username and password and save it.

If you are using using Raspberry PI LAMP image from here then you need to perform these steps to create MySQL Database username and password.

Run setup to install PiHome Smart Heating on your Raspberry Pi.

setup.php will create pihome database and then import table structure, create table view, save db config file with and create all relevant cron jobs.

Set your timezone on your Raspberry pi and then set timezone settings in your MySQL/MariaDB Database(pihome->System->Timezone).

Step 5 – 7 Depends on your choice of Wired to GPIO or Wireless nRF24L01 System

Step 5

Change database and MySensors WiFi gateway settings in cron/wifigw.py

Step 6

Build MySensors WiFi Gateway

Step 7

Build 18650 Battery Powered Temperature Sensors

Now brows to your raspberry pi IP address while connected to your home Wi-Fi and you should see page.  Default login username is admin and password pihome

PiHome Login Page

PiHome Login Page