{"id":18143,"date":"2018-01-29T15:30:46","date_gmt":"2018-01-29T14:30:46","guid":{"rendered":"http:\/\/www.recantha.co.uk\/blog\/?p=18143"},"modified":"2018-01-29T14:44:56","modified_gmt":"2018-01-29T13:44:56","slug":"diy-electricity-meter-using-a-raspberry-pi-zero-w-and-some-mqtt-api-wizardry","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=18143","title":{"rendered":"DIY electricity meter using a Raspberry Pi Zero W and some MQTT\/API wizardry"},"content":{"rendered":"<p><a href=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/electricity_meter.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18144\" src=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/electricity_meter.jpg?resize=500%2C375&#038;ssl=1\" alt=\"\" width=\"500\" height=\"375\" srcset=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/electricity_meter.jpg?w=500&amp;ssl=1 500w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/electricity_meter.jpg?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/electricity_meter.jpg?resize=260%2C195&amp;ssl=1 260w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/electricity_meter.jpg?resize=160%2C120&amp;ssl=1 160w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p>Kelly Hirano wanted to see how switching devices in his home on and off affected his electricity usage. Excited by the possibilities of reading the data from his SmartMeter, he discovered that he could buy a product (<a href=\"https:\/\/www.amazon.com\/dp\/B07681Y7ZV\/\" target=\"_blank\" rel=\"noopener\">a Rainforest Eagle-200<\/a>) which would expose the data via an API. Looking at their <a href=\"https:\/\/rainforestautomation.com\/wp-content\/uploads\/2017\/02\/EAGLE-200-Local-API-Manual-v1.0.pdf\" target=\"_blank\" rel=\"noopener\">API documentation<\/a>, he dug into the data using a Raspberry Pi Zero W and sent it out to a\u00a0<a href=\"https:\/\/mosquitto.org\/\" target=\"_blank\" rel=\"noopener\">MQTT broker running Mosquito<\/a>, as well as recording it locally. He added a <a href=\"https:\/\/shop.pimoroni.com\/products\/four-letter-phat\" target=\"_blank\" rel=\"noopener\">Pimoroni Four Letter pHAT<\/a>\u00a0to the Zero to display the data. You can <a href=\"https:\/\/kellyhirano.tumblr.com\/post\/170232890722\/iot-project-instantaneous-power-demand-with\" target=\"_blank\" rel=\"noopener\">read a bit more over on his blog<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kelly Hirano wanted to see how switching devices in his home on and off affected his electricity usage. Excited by the possibilities of reading the data from his SmartMeter, he discovered that he could buy a product (a Rainforest Eagle-200)&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=18143\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":18144,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[25,39,86],"tags":[622],"class_list":["post-18143","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-home-automation","category-programming","category-raspberry-pi-zero","tag-electricity-meter"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>DIY electricity meter using a Raspberry Pi Zero W and some MQTT\/API wizardry - Raspberry Pi Pod<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=18143\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DIY electricity meter using a Raspberry Pi Zero W and some MQTT\/API wizardry - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"Kelly Hirano wanted to see how switching devices in his home on and off affected his electricity usage. Excited by the possibilities of reading the data from his SmartMeter, he discovered that he could buy a product (a Rainforest Eagle-200)&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=18143\" \/>\n<meta property=\"og:site_name\" content=\"Raspberry Pi Pod\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/recantha\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-01-29T14:30:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i1.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/electricity_meter.jpg?fit=500%2C375&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"500\" \/>\n\t<meta property=\"og:image:height\" content=\"375\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Michael Horne\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@recantha\" \/>\n<meta name=\"twitter:site\" content=\"@recantha\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Horne\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18143#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18143\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"DIY electricity meter using a Raspberry Pi Zero W and some MQTT\/API wizardry\",\"datePublished\":\"2018-01-29T14:30:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18143\"},\"wordCount\":118,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18143#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/electricity_meter.jpg?fit=500%2C375&ssl=1\",\"keywords\":[\"electricity meter\"],\"articleSection\":[\"Home automation\",\"Programming\",\"Raspberry Pi Zero\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=18143#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18143\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18143\",\"name\":\"DIY electricity meter using a Raspberry Pi Zero W and some MQTT\/API wizardry - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18143#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18143#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/electricity_meter.jpg?fit=500%2C375&ssl=1\",\"datePublished\":\"2018-01-29T14:30:46+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18143#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=18143\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18143#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/electricity_meter.jpg?fit=500%2C375&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/electricity_meter.jpg?fit=500%2C375&ssl=1\",\"width\":500,\"height\":375},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18143#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DIY electricity meter using a Raspberry Pi Zero W and some MQTT\/API wizardry\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/\",\"name\":\"Raspberry Pi Pod\",\"description\":\"Experiences with the Raspberry Pi micro computer and microcontroller\",\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\",\"name\":\"Raspberry Pi Pod\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"width\":800,\"height\":337,\"caption\":\"Raspberry Pi Pod\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/recantha\/\",\"https:\/\/x.com\/recantha\",\"https:\/\/www.linkedin.com\/in\/recantha\/\",\"https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\",\"name\":\"Michael Horne\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"caption\":\"Michael Horne\"},\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"DIY electricity meter using a Raspberry Pi Zero W and some MQTT\/API wizardry - Raspberry Pi Pod","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.recantha.co.uk\/blog\/?p=18143","og_locale":"en_US","og_type":"article","og_title":"DIY electricity meter using a Raspberry Pi Zero W and some MQTT\/API wizardry - Raspberry Pi Pod","og_description":"Kelly Hirano wanted to see how switching devices in his home on and off affected his electricity usage. Excited by the possibilities of reading the data from his SmartMeter, he discovered that he could buy a product (a Rainforest Eagle-200)&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=18143","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2018-01-29T14:30:46+00:00","og_image":[{"width":500,"height":375,"url":"https:\/\/i1.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/electricity_meter.jpg?fit=500%2C375&ssl=1","type":"image\/jpeg"}],"author":"Michael Horne","twitter_card":"summary_large_image","twitter_creator":"@recantha","twitter_site":"@recantha","twitter_misc":{"Written by":"Michael Horne","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18143#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18143"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"DIY electricity meter using a Raspberry Pi Zero W and some MQTT\/API wizardry","datePublished":"2018-01-29T14:30:46+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18143"},"wordCount":118,"commentCount":1,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18143#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/electricity_meter.jpg?fit=500%2C375&ssl=1","keywords":["electricity meter"],"articleSection":["Home automation","Programming","Raspberry Pi Zero"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=18143#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18143","url":"https:\/\/www.recantha.co.uk\/blog\/?p=18143","name":"DIY electricity meter using a Raspberry Pi Zero W and some MQTT\/API wizardry - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18143#primaryimage"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18143#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/electricity_meter.jpg?fit=500%2C375&ssl=1","datePublished":"2018-01-29T14:30:46+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18143#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=18143"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18143#primaryimage","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/electricity_meter.jpg?fit=500%2C375&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/electricity_meter.jpg?fit=500%2C375&ssl=1","width":500,"height":375},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18143#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"DIY electricity meter using a Raspberry Pi Zero W and some MQTT\/API wizardry"}]},{"@type":"WebSite","@id":"https:\/\/www.recantha.co.uk\/blog\/#website","url":"https:\/\/www.recantha.co.uk\/blog\/","name":"Raspberry Pi Pod","description":"Experiences with the Raspberry Pi micro computer and microcontroller","publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.recantha.co.uk\/blog\/#organization","name":"Raspberry Pi Pod","url":"https:\/\/www.recantha.co.uk\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","width":800,"height":337,"caption":"Raspberry Pi Pod"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/recantha\/","https:\/\/x.com\/recantha","https:\/\/www.linkedin.com\/in\/recantha\/","https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg"]},{"@type":"Person","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263","name":"Michael Horne","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","caption":"Michael Horne"},"url":"https:\/\/www.recantha.co.uk\/blog\/?author=1"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/electricity_meter.jpg?fit=500%2C375&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2RsaV-4ID","jetpack-related-posts":[{"id":18022,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=18022","url_meta":{"origin":18143,"position":0},"title":"E-ink status display uses MQTT and a Raspberry Pi to provide status updates","author":"Michael Horne","date":"8 January 2018","format":false,"excerpt":"IoT enthusiast James Sutton has created this lovely e-ink status display using a Raspberry Pi Zero and a Pimoroni Inky pHAT. It uses an MQTT service to provide status updates to the display and there's a web-based interface to change that status. You can read how he did it and\u2026","rel":"","context":"In &quot;GPIO boards&quot;","block_context":{"text":"GPIO boards","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=20"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/einkdisplay.jpg?fit=900%2C600&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/einkdisplay.jpg?fit=900%2C600&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/einkdisplay.jpg?fit=900%2C600&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/einkdisplay.jpg?fit=900%2C600&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":17415,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=17415","url_meta":{"origin":18143,"position":1},"title":"Touchscreen home alarm control panel for Home Assistant and the Raspberry Pi","author":"Michael Horne","date":"2 August 2017","format":false,"excerpt":"Colin O'Dell\u00a0has taken a Raspberry Pi Zero W, an Adafruit 3.5\" touchscreen, a PIR motion sensor and a 3D-printed enclosure and created a home alarm control panel. The system uses Z-Wave door sensors which send MQTT messages to the Pi via the Home Assistant\u00a0open-source home automation platform. The PIR sensor\u2026","rel":"","context":"In &quot;Accessories&quot;","block_context":{"text":"Accessories","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=54"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/alarm.jpg?fit=900%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/alarm.jpg?fit=900%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/alarm.jpg?fit=900%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/alarm.jpg?fit=900%2C675&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":16882,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=16882","url_meta":{"origin":18143,"position":2},"title":"Weather forecasting cloud has a Raspberry Pi Zero W at its core","author":"Michael Horne","date":"30 May 2017","format":false,"excerpt":"My apologies for the lack of updates recently. I had a bit of a health problem involving a medication imbalance and it meant I couldn't concentrate on anything but the bare essentials. I've also been busy rehearsing for a\u00a0new musical called Cloud at Sharnbrook Mill Theatre in Bedfordshire. It goes\u2026","rel":"","context":"In &quot;Accessories&quot;","block_context":{"text":"Accessories","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=54"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/05\/weatherforecastingcloud.jpg?fit=768%2C1024&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/05\/weatherforecastingcloud.jpg?fit=768%2C1024&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/05\/weatherforecastingcloud.jpg?fit=768%2C1024&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/05\/weatherforecastingcloud.jpg?fit=768%2C1024&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":16947,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=16947","url_meta":{"origin":18143,"position":3},"title":"Create a weather forecasting lamp using a Raspberry Pi Zero","author":"Michael Horne","date":"20 June 2017","format":false,"excerpt":"\"The Modern Inventor\" has written a great Instructable which helps you to create your very own weather forecasting lamp called the Storm Glass. The lamp, which has been given the ability to simulate lightning, fog, rain and thunder using off-the-shelf parts is partly a glass tube and partly 3D-printed and\u2026","rel":"","context":"In &quot;Accessories&quot;","block_context":{"text":"Accessories","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=54"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/06\/weather_lamp_header.jpg?fit=1024%2C575&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/06\/weather_lamp_header.jpg?fit=1024%2C575&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/06\/weather_lamp_header.jpg?fit=1024%2C575&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/06\/weather_lamp_header.jpg?fit=1024%2C575&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":4428,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=4428","url_meta":{"origin":18143,"position":4},"title":"Distributed processing with the #RaspberryPi and RabbitMQ","author":"Michael Horne","date":"4 June 2013","format":false,"excerpt":"Adam Bloom from Pivotal has written a guide to installing and using RabbitMQ on a cluster of Raspberry Pis. Here's what they say about RabbitMQ: With Pivotal RabbitMQ, we have a highly scalable, efficient, easy-to-deploy message queue. Beyond the long list of support for languages and protocols that could connect\u2026","rel":"","context":"In &quot;Software&quot;","block_context":{"text":"Software","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=49"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":16336,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=16336","url_meta":{"origin":18143,"position":5},"title":"Wirelessly control an ESP8266 with MQTT messages from a Raspberry Pi","author":"Michael Horne","date":"3 February 2017","format":false,"excerpt":"Rui Santos from Portugal has written an excellent, comprehensive tutorial for those who want to get into ESP8266 boards and control them from a Raspberry Pi. He uses Python on the Raspberry Pi, with imported MQTT libraries, and C code for the Arduino-like ESP8266. The ESP8266, which is on the\u2026","rel":"","context":"In &quot;Accessories&quot;","block_context":{"text":"Accessories","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=54"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/02\/Raspberry-Pi-Publishing-MQTT-Messages-to-ESP8266-explained.png?fit=1032%2C268&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/02\/Raspberry-Pi-Publishing-MQTT-Messages-to-ESP8266-explained.png?fit=1032%2C268&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/02\/Raspberry-Pi-Publishing-MQTT-Messages-to-ESP8266-explained.png?fit=1032%2C268&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/02\/Raspberry-Pi-Publishing-MQTT-Messages-to-ESP8266-explained.png?fit=1032%2C268&ssl=1&resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/18143","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=18143"}],"version-history":[{"count":1,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/18143\/revisions"}],"predecessor-version":[{"id":18145,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/18143\/revisions\/18145"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/media\/18144"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=18143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=18143"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=18143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}