Lets Build

How to Build Smart Heating with Raspberry Pi

RaspberryPi

Raspberry Pi

IOT (Internet of things) is common notion these days but what really you can do with it? what first thing you want to connect? how you can make something smart if it isn’t smart?  i.e Smart Heating, what are the pros and cons?

You only have two options, one buy off-the-shelf commercially available product (there are tons and tons of comparison between all commercially available solution so i m not going to go through any of that), second you could spend less and have fun building things yourself.

Fancy second option? then Let Get Started!!!

This Project is based on credit card size single board computer called Raspberry Pi, whole systems is presented using Apache web server, all information is stored in MySQL database. Python script is used to log temperature sensor data using One wire DS1820 temperature sensor, most of the code is written in PHP.

Before we deep dive into this project something very important: PiHome comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. DO NOT MAKE ANY CHANGES TO YOUR HEATING SYSTEM UNTIL UNLESS YOU KNOW WHAT YOU ARE DOING, contents provided here are for information and education purpose only, I take no responsibility for any loss or damage to you or your property.”

Following posts aren’t in sequence, if you want to follow all step by step please check this link.

Crontab/Schedules

PiHome Smart Heating controller required some task to be schedule on regular interval to function properly, add all following crontab jobs as root Database Cleanup: Delete Temperature records older then 3 days. Delete Node Battery status older then 3 months. Delete Gateway Logs data older then 3 days. if you want to keep all data comments following line.

Get CPU temperature and update database.

Update Weather from OpenWeather, Make sure you signup to openweather api and update api…

0
Read More

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

Buy PiHome Smart Heating – DIY Raspberry Pi Home Automation Kit for Smart Heating:  PiHome – Smart Heating Control is central heating control systems that runs on Raspberry Pi. You can control your home heating from your smartphone, laptop or tablet. PiHome is a wireless boiler control which mean you don’t need to run cables from PiHome controller to your boiler or to your heating zone valve or to any temperature sensors in any heating zone. PiHome can manage nearly…

16
Read More

Smart Home Gateway from NRF24L01 to Ethernet/WiFi

All nodes i.e temperature sensors, boiler relay module, zone relay module etc. are scattered around the house that are responsible for controlling light, heating and other IOT devices serves very little purpose if we can not communicate with them or pass some instructions. Most of the time these devices are battery powered and even ones with main powered don’t communicate through home WiFi and for the battery powered nodes WiFi isn’t the option due to the fact how WiFi works…

11
Read More

Raspberry pi Heating Boiler Control System Relay

Raspberry pi Heating Boiler Control System Relay: Control gas boiler from raspberry pi GPIO with 5v relay by connecting it to room thermostat connection on gas boiler without passing any voltage to gas boiler or at least this is how i did it as my gas boiler had thermostat connector available. You need to check this with your boiler user/technical manual. You can control high voltage electronic devices using relays modules that are readily available in the market. I am…

30
Read More

Build a Web Connected Raspberry pi Thermostat

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. I strongly suggest you to download PiHome Smart Heating img file for your raspberry pi with PiHome pre-installed and configured with all dependencies. You can download User Manual for PiHome Connection Wired Heating System Connected to Raspberry Pi GPIO 1-Wire DS18b20 Temperature Sensor Multi Zone Heating Control System Relay Raspberry pi…

68
Read More

Raspberry pi Multi Zone Heating Control System Relay

Raspberry pi Multi Zone Heating Control System Relay: If your house have Multi Zone Heating then you can control each zone heating independently with raspberry pi and this will save you lot on your heating cost considering that you don’t have to heat all the house all the time. In this post i will show you how to build wired multi zone heating control system relay and control it from raspberry pi gpio so we can open and close zone…

19
Read More

OS (Raspbian Jessie) Installation and WiFi Configuration

This step by step how-to will help you to install OS (Raspbian Jessie) on your Raspberry Pi, i have selected Raspbian Jessie for this purpose. this how-to also include Wi-Fi settings without connecting display to raspberry pi. Installing Linux OS (Raspbian Jessie) on Raspberry Pi Easiest cross-platform way to install Linux on your Raspberry Pi is using the NOOBS installer, but we are installing Raspbian using diskimager utility. Go to the Raspberry Pi download page Download the Raspbian zip file.…

11
Read More

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

LAMP is an acronym that stands for Linux Apache, MySQL and PHP, these are the components required to run and present web interface of PiHome Smart Heating Control. PHP 5 no longer supported by PiHome, you can use it as at your own discretion, also mysql users need to disable ‘ONLY_FULL_GROUP_BY’ sqlmode see GitHub for more information Note: if you are here for some troubleshoot Raspberry Pi LAMP (PHP and MySQL/MariaDB on a Raspberry Pi with phpMyAdmin) then check out…

28
Read More

Enable Serial Port on GPIO on Raspberry Pi 3 (Raspbian Jessie)

The Raspberry Pi GPIO serial port configuration has changed under Jessie and also with the Raspberry PI 3. By Default serial port is disabled and on RPI 3 Bluetooth made it even made it more confusing to enable Serial Port on GPIO. In this post i’ll describes how to enable serial port on GPIO. As i m not interested in Bluetooth so i m going to disable it and keep GPIO serial. In order to enable serial port edit /boot/config.txt…

1
Read More

Building a MySensors Serial Gateway

Connect Arduino to Raspberry Pi There are few ways to connect MySensors Serial Gateway (Arduino) to Raspberry pi, the easiest one is to connect Serial Gateway (Arduino) via USB port to raspberry pi. This is be easiest way and saves hassle of all wiring on other hand we can use serial pins on raspberry pi to connect to Arduino which is little bit difficult but we are here to build everything our self so let’s build pcb board with all…

13
Read More
ClisteWeb Technology LTD - egistration Number: 674662