{"id":674,"date":"2018-01-22T09:22:02","date_gmt":"2018-01-22T17:22:02","guid":{"rendered":"http:\/\/ismellsmoke.net\/\/?p=674"},"modified":"2018-01-22T09:47:26","modified_gmt":"2018-01-22T17:47:26","slug":"home-automation-hacking-part-ii","status":"publish","type":"post","link":"https:\/\/ismellsmoke.net\/?p=674","title":{"rendered":"Home Automation Hacking Part-II"},"content":{"rendered":"<p>In <a href=\"https:\/\/ismellsmoke.net\/\/?p=661\" target=\"_blank\" rel=\"noopener\">Part-1<\/a>\u00a0of this hacking series, I set the stage for an adventure in home automation hacking. My goal is to start small, grow a system over time, and share the experience.<\/p>\n<p>To follow along on my openHAB adventure, instead of creating an enormous blog entry, I decided to document it in a PDF &#8216;How-To&#8217; document. I have found these types of documents are highly valuable to those folks that are new to the Raspberry Pi and Linux, and\/or those who have little programming experience. Download the PDF and configuration files below:<\/p>\n<p><div class=\"sdm_download_button_box_default\"><div class=\"sdm_download_link\"><a href=\"https:\/\/ismellsmoke.net\/?sdm_process_download=1&download_id=680\" class=\"sdm_download green\" title=\"openHAB How-To\" >&#039;How-To openHAB&#039;<\/a><\/div><\/div>\u00a0<div class=\"sdm_download_button_box_default\"><div class=\"sdm_download_link\"><a href=\"https:\/\/ismellsmoke.net\/?sdm_process_download=1&download_id=687\" class=\"sdm_download green\" title=\"openHAB config files\" >&#039;openHab Config&#039;<\/a><\/div><\/div><\/p>\n<p>Here in Part-II, we explore my adventures with openHAB.<\/p>\n<p><a href=\"https:\/\/ismellsmoke.net\/\/wp-content\/uploads\/2018\/01\/openhab.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-665\" src=\"https:\/\/ismellsmoke.net\/\/wp-content\/uploads\/2018\/01\/openhab-300x144.png\" alt=\"\" width=\"300\" height=\"144\" srcset=\"https:\/\/ismellsmoke.net\/wp-content\/uploads\/2018\/01\/openhab-300x144.png 300w, https:\/\/ismellsmoke.net\/wp-content\/uploads\/2018\/01\/openhab-768x369.png 768w, https:\/\/ismellsmoke.net\/wp-content\/uploads\/2018\/01\/openhab-500x240.png 500w, https:\/\/ismellsmoke.net\/wp-content\/uploads\/2018\/01\/openhab.png 944w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>To learn more about openHAB, read Part-I of this series or head over to their <a href=\"http:\/\/www.openhab.org\/\" target=\"_blank\" rel=\"noopener\">web site<\/a>.\u00a0I started knowing nothing about openHAB, so I spent a lot if time in the documentation. Next, I burned an image of openHABian and fired it up on a Raspberry Pi 3.<\/p>\n<p>In a couple of weeks of study and hacking, I have a working home automation system that is quite cool. Below is a view of my openHAB system as seen in a browser.<\/p>\n<p><a href=\"https:\/\/ismellsmoke.net\/\/wp-content\/uploads\/2018\/01\/openhab-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-691 size-full\" src=\"https:\/\/ismellsmoke.net\/\/wp-content\/uploads\/2018\/01\/openhab-1.png\" alt=\"\" width=\"842\" height=\"694\" srcset=\"https:\/\/ismellsmoke.net\/wp-content\/uploads\/2018\/01\/openhab-1.png 842w, https:\/\/ismellsmoke.net\/wp-content\/uploads\/2018\/01\/openhab-1-300x247.png 300w, https:\/\/ismellsmoke.net\/wp-content\/uploads\/2018\/01\/openhab-1-768x633.png 768w, https:\/\/ismellsmoke.net\/wp-content\/uploads\/2018\/01\/openhab-1-364x300.png 364w\" sizes=\"auto, (max-width: 842px) 100vw, 842px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/ismellsmoke.net\/\/wp-content\/uploads\/2018\/01\/openhab-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-692 size-full\" src=\"https:\/\/ismellsmoke.net\/\/wp-content\/uploads\/2018\/01\/openhab-2.png\" alt=\"\" width=\"839\" height=\"300\" srcset=\"https:\/\/ismellsmoke.net\/wp-content\/uploads\/2018\/01\/openhab-2.png 839w, https:\/\/ismellsmoke.net\/wp-content\/uploads\/2018\/01\/openhab-2-300x107.png 300w, https:\/\/ismellsmoke.net\/wp-content\/uploads\/2018\/01\/openhab-2-768x275.png 768w, https:\/\/ismellsmoke.net\/wp-content\/uploads\/2018\/01\/openhab-2-500x179.png 500w\" sizes=\"auto, (max-width: 839px) 100vw, 839px\" \/><\/a> <a href=\"https:\/\/ismellsmoke.net\/\/wp-content\/uploads\/2018\/01\/openhab-4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-694 size-full\" src=\"https:\/\/ismellsmoke.net\/\/wp-content\/uploads\/2018\/01\/openhab-4.png\" alt=\"\" width=\"838\" height=\"186\" srcset=\"https:\/\/ismellsmoke.net\/wp-content\/uploads\/2018\/01\/openhab-4.png 838w, https:\/\/ismellsmoke.net\/wp-content\/uploads\/2018\/01\/openhab-4-300x67.png 300w, https:\/\/ismellsmoke.net\/wp-content\/uploads\/2018\/01\/openhab-4-768x170.png 768w, https:\/\/ismellsmoke.net\/wp-content\/uploads\/2018\/01\/openhab-4-500x111.png 500w\" sizes=\"auto, (max-width: 838px) 100vw, 838px\" \/><\/a> <a href=\"https:\/\/ismellsmoke.net\/\/wp-content\/uploads\/2018\/01\/openhab-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-693 size-full\" src=\"https:\/\/ismellsmoke.net\/\/wp-content\/uploads\/2018\/01\/openhab-3.png\" alt=\"\" width=\"829\" height=\"241\" srcset=\"https:\/\/ismellsmoke.net\/wp-content\/uploads\/2018\/01\/openhab-3.png 829w, https:\/\/ismellsmoke.net\/wp-content\/uploads\/2018\/01\/openhab-3-300x87.png 300w, https:\/\/ismellsmoke.net\/wp-content\/uploads\/2018\/01\/openhab-3-768x223.png 768w, https:\/\/ismellsmoke.net\/wp-content\/uploads\/2018\/01\/openhab-3-500x145.png 500w\" sizes=\"auto, (max-width: 829px) 100vw, 829px\" \/><\/a><!--more--><\/p>\n<p>The below screen-shot shows what my system looks like on my Android phone in the OpenHAB app.<\/p>\n<p><a href=\"https:\/\/ismellsmoke.net\/\/wp-content\/uploads\/2018\/01\/openhab-5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-695\" src=\"https:\/\/ismellsmoke.net\/\/wp-content\/uploads\/2018\/01\/openhab-5-214x300.png\" alt=\"\" width=\"214\" height=\"300\" srcset=\"https:\/\/ismellsmoke.net\/wp-content\/uploads\/2018\/01\/openhab-5-214x300.png 214w, https:\/\/ismellsmoke.net\/wp-content\/uploads\/2018\/01\/openhab-5.png 474w\" sizes=\"auto, (max-width: 214px) 100vw, 214px\" \/><\/a><\/p>\n<p>And this is what a Pushover notification looks like on my phone.<\/p>\n<p><a href=\"https:\/\/ismellsmoke.net\/\/wp-content\/uploads\/2018\/01\/pushover-1-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-700\" src=\"https:\/\/ismellsmoke.net\/\/wp-content\/uploads\/2018\/01\/pushover-1-1-300x127.png\" alt=\"\" width=\"300\" height=\"127\" srcset=\"https:\/\/ismellsmoke.net\/wp-content\/uploads\/2018\/01\/pushover-1-1-300x127.png 300w, https:\/\/ismellsmoke.net\/wp-content\/uploads\/2018\/01\/pushover-1-1.png 412w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Now that I have an understanding of how openHAB works, I will move on to the <a href=\"https:\/\/home-assistant.io\/\" target=\"_blank\" rel=\"noopener\">Home Assistant<\/a> platform and build the same automation setup. Stay tuned for Part-III.<\/p>\n<p><em>Sopwith<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Part-1\u00a0of this hacking series, I set the stage for an adventure in home automation hacking. My goal is to start small, grow a system over time, and share the experience. To follow along on my openHAB adventure, instead of &hellip; <a href=\"https:\/\/ismellsmoke.net\/?p=674\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,5,6,3],"tags":[],"class_list":["post-674","post","type-post","status-publish","format-standard","hentry","category-code","category-general","category-how-to","category-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=\/wp\/v2\/posts\/674","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=674"}],"version-history":[{"count":23,"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=\/wp\/v2\/posts\/674\/revisions"}],"predecessor-version":[{"id":712,"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=\/wp\/v2\/posts\/674\/revisions\/712"}],"wp:attachment":[{"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=674"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=674"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ismellsmoke.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}