{"id":6,"date":"2015-06-20T23:11:29","date_gmt":"2015-06-20T23:11:29","guid":{"rendered":"http:\/\/www.spants.com\/blog\/?p=6"},"modified":"2015-07-04T22:31:55","modified_gmt":"2015-07-04T22:31:55","slug":"iotbox-an-internet-of-things-thingy","status":"publish","type":"post","link":"http:\/\/www.spants.com\/blog\/iotbox-an-internet-of-things-thingy\/","title":{"rendered":"IoTBox &#8211; an Internet of Things, thingy."},"content":{"rendered":"<p><strong>The final version of the IoTBox<\/strong><\/p>\n<figure id=\"attachment_37\" aria-describedby=\"caption-attachment-37\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.spants.com\/blog\/wp-content\/uploads\/2015\/06\/2015-06-28-14.38.19-e1435500948433.jpg\"><img loading=\"lazy\" class=\"wp-image-37 size-medium\" src=\"https:\/\/i0.wp.com\/www.spants.com\/blog\/wp-content\/uploads\/2015\/06\/2015-06-28-14.38.19-e1435499096502-300x225.jpg?resize=300%2C225\" alt=\"2015-06-28 14.38.19\" width=\"300\" height=\"225\" data-recalc-dims=\"1\" \/><\/a><figcaption id=\"caption-attachment-37\" class=\"wp-caption-text\">The final version<\/figcaption><\/figure>\n<p><em>The IoTBox is a small 5x5cm device with an OLED screen that displays MQTT messages, an RGB LED to show MQTT messages as a status colour, a button that triggers an MQTT message and a waterproof temperature sensor that sends MQTT messages and\/or a REST call. It can be updated &#8220;OTA&#8221; and is powered by the USB connector.<\/em><\/p>\n<p>These articles will show you how to build one.<\/p>\n<p><strong> Background to IoTBox<\/strong><\/p>\n<p>Back in December 2014, I started to look at a new Wifi chip that had just been released as a means of Internet\u00a0enabling various Arduino projects that I had been thinking about. I soon realised that this processor (the ESP8266) was actual more powerful than the Arduino and much much cheaper.<\/p>\n<p><!--more-->One of my first projects was to build a small screen (OLED 0.96&#8243;) to display information via <a href=\"http:\/\/www.nodered.org\" target=\"_blank\">NodeRed<\/a> from my <a href=\"http:\/\/www.tado.com\" target=\"_blank\">Tado<\/a> heating system and the various Ciseco sensors around the house. My home system is based around a Message Bus called MQTT and\u00a0I managed to find and modify some code by\u00a0<a href=\"http:\/\/nathan.chantrell.net\/20141230\/wifi-mqtt-display-with-the-esp8266\/\" target=\"_blank\">Nathan Chantrell<\/a>\u00a0that enabled me to build a cheap system to display various dynamic topics of interest &#8211; such as hot water temperature, room and outside temperatures.<\/p>\n<figure id=\"attachment_7\" aria-describedby=\"caption-attachment-7\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.spants.com\/blog\/wp-content\/uploads\/2015\/06\/2015-01-04-18.25.36-e1435501003255.jpg\"><img loading=\"lazy\" class=\"wp-image-7 size-medium\" src=\"https:\/\/i0.wp.com\/www.spants.com\/blog\/wp-content\/uploads\/2015\/06\/2015-01-04-18.25.36-e1435500992163-300x168.jpg?resize=300%2C168\" alt=\"2015-01-04 18.25.36\" width=\"300\" height=\"168\" data-recalc-dims=\"1\" \/><\/a><figcaption id=\"caption-attachment-7\" class=\"wp-caption-text\">MQTT display &#8220;thingy&#8221;<\/figcaption><\/figure>\n<p>Around this time, the company that I work for (IBM) was undergoing a change. Much more focus on ioT&#8230;. and the question arises: how can we show IoT working with our products?. I work with IBM Maximo, the leading\u00a0Enterprise Asset Management (maintenance) application.<\/p>\n<p>I had an idea, how about a wifi enabled sensor that has a display to show MQTT topics, an RGB LED to show status changes, a temperature sensor and a button to initiate tasks. All of these features should be MQTT enabled and not locked to IBM Maximo &#8211; I would like it to be relevant across the entire IoT product set.<\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-6\" class=\"share-twitter sd-button share-icon no-text\" href=\"http:\/\/www.spants.com\/blog\/iotbox-an-internet-of-things-thingy\/?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\"><span><\/span><span class=\"sharing-screen-reader-text\">Click to share on Twitter (Opens in new window)<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-6\" class=\"share-facebook sd-button share-icon no-text\" href=\"http:\/\/www.spants.com\/blog\/iotbox-an-internet-of-things-thingy\/?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\"><span><\/span><span class=\"sharing-screen-reader-text\">Click to share on Facebook (Opens in new window)<\/span><\/a><\/li><li class=\"share-reddit\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-reddit sd-button share-icon no-text\" href=\"http:\/\/www.spants.com\/blog\/iotbox-an-internet-of-things-thingy\/?share=reddit\" target=\"_blank\" title=\"Click to share on Reddit\"><span><\/span><span class=\"sharing-screen-reader-text\">Click to share on Reddit (Opens in new window)<\/span><\/a><\/li><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon no-text\" href=\"http:\/\/www.spants.com\/blog\/iotbox-an-internet-of-things-thingy\/?share=email\" target=\"_blank\" title=\"Click to email this to a friend\"><span><\/span><span class=\"sharing-screen-reader-text\">Click to email this to a friend (Opens in new window)<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>The final version of the IoTBox The IoTBox is a small 5x5cm device with an OLED screen that displays MQTT messages, an RGB LED to show MQTT messages as a status colour, a button that triggers an MQTT message and a waterproof temperature sensor that sends MQTT messages and\/or a REST call. It can be &hellip; <a href=\"http:\/\/www.spants.com\/blog\/iotbox-an-internet-of-things-thingy\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">IoTBox &#8211; an Internet of Things, thingy.<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-6\" class=\"share-twitter sd-button share-icon no-text\" href=\"http:\/\/www.spants.com\/blog\/iotbox-an-internet-of-things-thingy\/?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\"><span><\/span><span class=\"sharing-screen-reader-text\">Click to share on Twitter (Opens in new window)<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-6\" class=\"share-facebook sd-button share-icon no-text\" href=\"http:\/\/www.spants.com\/blog\/iotbox-an-internet-of-things-thingy\/?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\"><span><\/span><span class=\"sharing-screen-reader-text\">Click to share on Facebook (Opens in new window)<\/span><\/a><\/li><li class=\"share-reddit\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-reddit sd-button share-icon no-text\" href=\"http:\/\/www.spants.com\/blog\/iotbox-an-internet-of-things-thingy\/?share=reddit\" target=\"_blank\" title=\"Click to share on Reddit\"><span><\/span><span class=\"sharing-screen-reader-text\">Click to share on Reddit (Opens in new window)<\/span><\/a><\/li><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon no-text\" href=\"http:\/\/www.spants.com\/blog\/iotbox-an-internet-of-things-thingy\/?share=email\" target=\"_blank\" title=\"Click to email this to a friend\"><span><\/span><span class=\"sharing-screen-reader-text\">Click to email this to a friend (Opens in new window)<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[4,2,6],"tags":[9],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6n7xT-6","_links":{"self":[{"href":"http:\/\/www.spants.com\/blog\/wp-json\/wp\/v2\/posts\/6"}],"collection":[{"href":"http:\/\/www.spants.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.spants.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.spants.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.spants.com\/blog\/wp-json\/wp\/v2\/comments?post=6"}],"version-history":[{"count":15,"href":"http:\/\/www.spants.com\/blog\/wp-json\/wp\/v2\/posts\/6\/revisions"}],"predecessor-version":[{"id":67,"href":"http:\/\/www.spants.com\/blog\/wp-json\/wp\/v2\/posts\/6\/revisions\/67"}],"wp:attachment":[{"href":"http:\/\/www.spants.com\/blog\/wp-json\/wp\/v2\/media?parent=6"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.spants.com\/blog\/wp-json\/wp\/v2\/categories?post=6"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.spants.com\/blog\/wp-json\/wp\/v2\/tags?post=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}