Installing OpenHab Home Automation On Raspberry Pi

This is a basic introduction on how to setup openhab on raspberry pi, i will be doing a quick blinky tutorial and getting everything setup for rpi. thanks for the view!

○○○ Quick Instructions ○○○

wget -qO – ‘’ | sudo apt-key add –

echo “deb stable main” | sudo tee /etc/apt/sources.list.d/openhab.list

sudo apt-get update

sudo apt-get install openhab-runtime

sudo systemctl enable openhab

sudo apt-get install openhab-addon-io-gpio

sudo apt-get install openhab-binding-addon-gpio

sudo nano /etc/default/openhab
change openhab:openhab to pi:pi

sudo nano /usr/lib/systemd/system/openhab.service
change user to pi and change group to pi

sudo systemctl daemon-reload

sudo service openhab restart

// folder locations locations

service configuration /etc/default/openhab
site configuration /etc/openhab
log files /var/log/openhab
userdata like rrd4j databases /var/lib/openhab
openHAB engine, addons and /webapps folder /usr/share/openhab

// end of folder locations

** /etc/openhab/configuration/items/home.items

Switch RaspiLED gpio=”pin:4″

** /etc/openhab/configuration/sitemap/home.sitemap

sitemap home label=”Home”

Frame label=”Rasperry Pi GPIO”

Switch item=RaspiLED

○○○ LINKS ○○○
Raspberry Pi 2:

○○○ Other Videos ○○○
raspberry pi 2 osmc htpc kodi ►

Customizing Windows 10 ►

Raspberry Pi Amazon Echo ►

Windows 10 Privacy ►

Dual Monitor with Raspberry Pi ►

Adding Second Hard Drive to Laptop ►

Raspberry Pi 2 Plex Media Server Install ►

Tweet me: @
facebook: @

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!


5 Open Source Home Automation Tools

The Internet of Things isn’t only a buzzword, it’s a swiftly growing fact.

With an ever-expanding variety of devices available to help you automate, protect, and monitor your own home, it has no time before been easier nor more tempting to try your hand at home automation. Whether you’re trying to control your HVAC(Heating Ventilating Air Conditioning) system from another location, add in a home theater, safeguard your home from thievery, fire, or other dangers, reduce your energy usage, or just control several lights, there are loads of devices available at your grasp.

While connected devices usually contain private components, a good first step in bringing open source into your home automation system is to assure the device which ties your devices together-and presents you with an user interface to them (the “hub”)-is open source. The good thing is, there are numerous choices around, with choices to run on everything from your always-on PC to a Raspberry Pi.

The following are several of our favs.


Calaos is designed as a full-stack home automation platform, together with a server application, touchscreen display screen interface, web application, native mobile apps for android and ios, and a preconfigured Linux operating system to run underneath. English speaking readers should be advised that, while some English documentation is accessible, part of the instructional material together with support online forums are generally in French.

Calaos is licensed under version 3 of the GPL and you can view its source code on GitHub.


Domoticz is a home automation system with a quite wide collection of supported devices, such as weather stations to smoke detectors to remote controls, with a great number of added 3rd party integrations documented on the project’s web page. It is designed with an HTML5 frontend, which makes it available from both desktop computer browsers in addition to most up-to-date mobile phones, and is lightweight, running on many low power items just like the Raspberry Pi.

Domoticz is written chiefly in C/C++ under the GPLv3, and its source code can easily be found on GitHub.

Home Assistant

Home Assistant is an open source home automation platform, and is designed to be comfortably deployed on just about any machine that could run Python 3, from a Raspberry Pi to a NAS device, and also arrives with a Docker container to make implementing on other systems a piece of cake. It combines with a variety of open source as well as business oriented solutions, allowing you to link, as an example, IFTTT, weather information, or your Amazon Echo device, to controls from locks to lights to even a command line notifier.

Home Assistant is released under an MIT license, and its source code readily available for download from GitHub.


OpenHAB (short for Open Home Automation Bus) is among the many most recognized home automation tools among open source buffs, with a significant user community and numerous supported devices and integrations. Written in Java, openHAB is easily portable across the majority of major platforms and in addition runs nicely on the Raspberry Pi. Supporting 100s of devices, openHAB is designed to be device-agnostic while making it easier for developers to add their own devices or plugins to the system. OpenHAB also ships android and ios apps for device control, plus a design tools so its possible to design your own UI for your home system.

One can find openHAB’s source code on GitHub licensed under the Eclipse Public License.


OpenMotics is a home automation system with both software and hardware under open source licenses, designed at providing an in depth system for controlling devices rather than sewing together a wide range of devices from diverse providers. In contrast to a lot of the other systems designed chiefly for effortless retrofitting, OpenMotics focuses on a hardwired solution. For more, see our full article from OpenMotics backend developer Frederick Ryckbosch.

The source code for OpenMotics is licensed under the GPLv2 and is available for download on GitHub.

These are not the only solutions, in fact. Scores of home automation fans decide on a various solution, or maybe make the decision to roll their particular. Several other potential options to think about incorporate LinuxMCE, PiDome, MisterHouse or smarthomatic. Other users go for personal smart home devices without adding them into a single complete system.

Leave a Comment

Your email address will not be published. Required fields are marked *