How to Build Smart Heating with 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 OpenVPN is a great way to access a home network from a remote location. In addition it can be used to secure network communications when connecting to public Wi-Fi. Since the RPi is very low-powered single board computer it is ideal for setup your own Raspberry VPN server with OpenVPN. OpenVPN comes with Easy_RSA, a simple package for using the RSA encryption. Let’s find out how you can how to setup OpenVPN on Raspberry Pi device. Why VPN?…
The WiringPi is required to interact with Raspberry Pi’s GPIO pins, it plays very important part to control zoned heating system, In this post i will show you how to install WiringPi on your Raspberry Pi. With WiringPi we can control multi zone heating system and your boiler relay that is connected directly on your Raspberry pi GPIO pin. if you want to build wireless zoned heating system then follow Wireless Arduino Multi Zone Controller Relay with nRF24L01. Install WiringPi…
I prefer to use WiFi on Raspberry Pi as it makes RPi portable and limits the numbers of cable attached to this small mighty computer lets do Raspberry Pi WiFi setup to have less cables attached to this might computer. Setup WiFi on Raspberry Pi Lets setup wifi on raspberry pi so we can go wireless, First you need to scan for wifi networks, use the command sudo iwlist scanning wlan0 scan to list all available wifi networks in your…
You can not simply run command from php file to Reboot/Shutdown Raspberry Pi as you would from shell and it wouldn’t be very convenient to login to shell and issue Reboot/Shutdown command each time you need to bring reboot or shutdown your Raspberry Pi. You need to write script that would reboot Raspberry Pi. Some OS configuration changes to allow the reboot command from web application. Php page to execute script to shutdown or reboot Raspberry Pi. Python Script for…
We need to modify few things before we can continue to next step: disable power management so we can connect pi over WiFi reliably, make our SD card lost longer by moving logs to USB stick, disable GUI as we don’t need GUI running and utilize CPU time, expand file system to utilize all SD card space. Disable Power Management for Raspberry PI I am using cheap generic USB WI-Fi dongle, the latest image has built-in support for most WiFi…