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 - 'https://bintray.com/user/downloadSubjectPublicKey?username=openhab' | sudo apt-key add -
echo "deb http://dl.bintray.com/openhab/apt-repo 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:
http://goo.gl/nWboZ3
○○○ Other Videos ○○○
raspberry pi 2 osmc htpc kodi ► https://goo.gl/liO5e8
Customizing Windows 10 ► https://goo.gl/JVk21f
Raspberry Pi Amazon Echo ► https://goo.gl/Gzx4rBv
Windows 10 Privacy ► https://goo.gl/YmV8WT
Dual Monitor with Raspberry Pi ► https://goo.gl/NmSxRf
Adding Second Hard Drive to Laptop ► https://goo.gl/Mzqxeh
Raspberry Pi 2 Plex Media Server Install ► https://goo.gl/rpKDdx
Tweet me: @ http://twitter.com/novaspirittech
facebook: @ http://facebook.com/novaspirittech
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!