Build a Web connected raspberry pi thermostat and control your heating from any smart devices. , simply follow these steps and you will be up and running in no time.

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

Import MySQL database from /MySQL Database folder and add all view tables.

Step 5

Change Database Settings in st_inc/_config.inc.php

Create following three  symbolic link in /var/www/cron

Step 6

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

Step 7

Make All Cron job folder scripts executable and Setup Cron Jobs as per cronjob cron/CronJobs List

Step 8

Build MySensors WiFi Gateway

Step 9

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

Login Page

Login Page