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.

Raspberry pi 4

Boot Raspberry Pi 4 from USB SSD

Booting Raspberry pi from SSD is more reliable then small might SD card that never designed for Operating System. After long waiting finally native USB boot for raspberry Pi 4 is here. I know it is in beta now but i can not wait to get my hands dirty with this. Now lets boot Raspberry pi 4 from USB SSD disk. Note: Its not the final release and upgrade at your own risk. You still need SD card to boot…

0
Read More

PiHome with iOS HomeKit

PiHome Smart Heating has been designed to offer control your multi zone heating system. Apple HomeKit support adds great connectivity to an already feature rich open source Smart Heating solution. Homekit is a home accessories management framework developed by Apple. It allows Apple devices owners to control connected objects from different manufacturers using a single interface. It enhances Siri’s capability to interpret commands intended for those devices. To make PiHome work with Siri you need to install Homebridge and the…

0
Read More

PiHome with Amazon Echo Voice Control

Alexa is Amazon’s digital assistant. Alexa is a lot like Apple’s Siri, but instead of existing within your phone or computer, Alexa lives in Amazon cloud. A few years ago, the coordinated smart home felt like a dream but Amazon Echo changed the way with interact with smart home devices over voice.  Lets make PiHome work with Amazon echo. Update PiHome Lets update your PiHome software from Github to latest. login to your raspberry pi and issue following commands.

0
Read More
Serial Gateway on Raspberry Pi Zero GPIO

Serial Gateway on Raspberry Pi Zero GPIO

There are few ways to connect Serial Gateway to Raspberry pi. The easiest one is to connect Serial Gateway via USB port to raspberry pi. Due to the size of raspberry pi zero i prefer to have small PCB which will serve me purpose of gateway, zone and boiler controller. This can reduce the cost of having multi zone smart heating at the same time. Connecting Serial Gateway on Raspberry Pi Zero GPIO Raspberry pi GPIO are 3.3v tolerant but…

0
Read More
LoRa Sensors, Zone Controller and ESP8266 Gateway

LoRa Sensors, Zone Controller and ESP8266 Gateway

LoRa stand for Long Rang, in this post i will show you what i m up to with LoRa Sensors, Zone Controller and ESP8266 Gateway. PiHome infrastructure i.e. battery powered temperature sensors, zone controller, boiler controller and esp8266 smart home gateway is built with nRF24L01 wireless which operate at 2.4Gh. nRF24L01 is cheap solution but it has range limitation and unable to penetrate through the solid walls and you need repeaters installed around the place to get full coverage. Its…

1
Read More

PiHome version 1.73

Once more contribution to PiHome Smart Heating by the community. PiHome community always working hard to improve some of exiting feature to make things better. If you have any feedback or run into any issues you can always find help on PiHome site. This release packed with some serious improvements and bug fixes, to name some of them as follow: Highlights in This Release #135 Romanian language Added Latvia language Added #133 Added exception logging and Error handling to Gateway…

0
Read More

Roadmap/Feature for PiHome

  i have tons of email from lots of people requesting different features and upgrades so i thought to have post on site about roadmap/feature requests for PiHome so we can share ideas what we can do and what is needed and how community can help and contribute, right now everything is under one post but once we get things moving we can have one dedicate page for each upgrade. List of request/features Under Floor Heating with Higher Inertia E-mail…

39
Read More

Smart Heating Flow Chart

This is step by step process/flow chart on how PiHome Smart Heating make decision when to turn on heating and when its time to turn it off and save on gas bill and keep desirable temperature at any given time. The chart is self explanatory, leave comments below for any suggestion or improvements you think I should add. (Thank to Paul Harness for updating this) Check out PiHome Shop for all you need for your Smart Heating

0
Read More

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…

14
Read More