{"id":99,"date":"2016-12-08T12:30:16","date_gmt":"2016-12-08T12:30:16","guid":{"rendered":"http:\/\/www.frigginawesome.net\/blog\/?p=99"},"modified":"2017-06-24T07:10:17","modified_gmt":"2017-06-24T07:10:17","slug":"my-venture-into-home-automation","status":"publish","type":"post","link":"http:\/\/www.frigginawesome.net\/blog\/?p=99","title":{"rendered":"My Venture into Home Automation"},"content":{"rendered":"<p>I have been working on home automation bits and pieces for a little while now and I&#8217;m finally getting a few things done.<\/p>\n<p>I started off with a USB Energenie (<a href=\"https:\/\/energenie4u.co.uk\/catalogue\/product\/ENER011\">https:\/\/energenie4u.co.uk\/catalogue\/product\/ENER011<\/a>) which has six sockets, 4 of which are controllable via USB. There is also an ethernet version which I don&#8217;t have sadly. I had originally controlled it with a Linux software called SIS-PM which provides a simple WebUI or control from the command line.<\/p>\n<p>As I had started to get more into it I decided to go down the MQTT route for comms between devices and front ends. So I setup Mosquitto. I found a bridge for the Energenie which subscribes to an MQTT topic and then allows control of the 4 sockets via MQTT messages. Great!<\/p>\n<p>Well my latest thing now is a small device called a Sonoff. These devices have an ESP8266 controller, which is Arduino compatible, connects over wifi and controls a relay all in one neat little package.<\/p>\n<p>They come with their own software on them which is cloud based but you can upload Sketches via the Ardino software just like you would with an Arduino. So I have a sketch written by\u00a0Jonathan Oxer who runs the Youtube Channel SuperHouse and also Director at Freetronics.\u00a0<a href=\"http:\/\/www.superhouse.tv\/17-home-automation-control-with-sonoff-arduino-openhab-and-mqtt\/\">http:\/\/www.superhouse.tv\/17-home-automation-control-with-sonoff-arduino-openhab-and-mqtt\/<\/a><\/p>\n<p>I now have more control over home stuff and can go about wiring up items with these devices.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have been working on home automation bits and pieces for a little while now and I&#8217;m finally getting a few things done. I started off with a USB Energenie (https:\/\/energenie4u.co.uk\/catalogue\/product\/ENER011) which has six sockets, 4 of which are controllable via USB. There is also an ethernet version which I don&#8217;t have sadly. I had &hellip; <a href=\"http:\/\/www.frigginawesome.net\/blog\/?p=99\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">My Venture into Home Automation<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[18],"tags":[20,21,19],"class_list":["post-99","post","type-post","status-publish","format-standard","hentry","category-home-automation","tag-esp8266","tag-mqtt","tag-sonoff"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.frigginawesome.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/99","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.frigginawesome.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.frigginawesome.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.frigginawesome.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.frigginawesome.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=99"}],"version-history":[{"count":5,"href":"http:\/\/www.frigginawesome.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/99\/revisions"}],"predecessor-version":[{"id":131,"href":"http:\/\/www.frigginawesome.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/99\/revisions\/131"}],"wp:attachment":[{"href":"http:\/\/www.frigginawesome.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=99"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.frigginawesome.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=99"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.frigginawesome.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}