{"id":129,"date":"2015-11-30T17:15:51","date_gmt":"2015-11-30T17:15:51","guid":{"rendered":"http:\/\/www.spants.com\/blog\/?p=129"},"modified":"2015-11-30T17:28:28","modified_gmt":"2015-11-30T17:28:28","slug":"iotbox-and-the-internet-of-things-foundation","status":"publish","type":"post","link":"http:\/\/www.spants.com\/blog\/iotbox-and-the-internet-of-things-foundation\/","title":{"rendered":"IoTBox and the Internet of Things Foundation"},"content":{"rendered":"<p>The IoTBox was born out of the realisation that we needed a physical &#8220;tool&#8221; to show how we can interact with other systems &#8211; such as IBM Maximo. We\u00a0have always talked about how easy it is to integrate &#8211; but how could we prove it?.<\/p>\n<p>The IoTBox started with the ability to use REST calls to update <img loading=\"lazy\" class=\"wp-image-131 alignleft\" src=\"https:\/\/i0.wp.com\/www.spants.com\/blog\/wp-content\/uploads\/2015\/11\/mqtt.jpeg?resize=128%2C128\" alt=\"mqtt\" width=\"128\" height=\"128\" srcset=\"https:\/\/i0.wp.com\/www.spants.com\/blog\/wp-content\/uploads\/2015\/11\/mqtt.jpeg?w=225 225w, https:\/\/i0.wp.com\/www.spants.com\/blog\/wp-content\/uploads\/2015\/11\/mqtt.jpeg?resize=150%2C150 150w\" sizes=\"(max-width: 128px) 100vw, 128px\" data-recalc-dims=\"1\" \/>systems with temperature readings. This was\u00a0useful, but hardly IoT!. Next, MQTT support was added &#8211; the temperature can be sent, along with Button presses to an MQTT broker and the RGB LED and screen can be changed with MQTT messages.\u00a0This, combined with Node Red, allows us to manipulate messages, \u00a0create alerts and provide &#8216;intelligence&#8217; to the small processor in the IoTBox.<\/p>\n<p>However, although we can talk to our servers and pcs across the Internet &#8211; this is not really cloud based.<\/p>\n<p><img loading=\"lazy\" class=\"wp-image-133 alignright\" src=\"https:\/\/i0.wp.com\/www.spants.com\/blog\/wp-content\/uploads\/2015\/11\/iotThumb.png?resize=128%2C129\" alt=\"iotThumb\" width=\"128\" height=\"129\" srcset=\"https:\/\/i0.wp.com\/www.spants.com\/blog\/wp-content\/uploads\/2015\/11\/iotThumb.png?w=236 236w, https:\/\/i0.wp.com\/www.spants.com\/blog\/wp-content\/uploads\/2015\/11\/iotThumb.png?resize=150%2C150 150w\" sizes=\"(max-width: 128px) 100vw, 128px\" data-recalc-dims=\"1\" \/>With this in mind, I decided to also add the ability for the IoTBox to talk with IBM&#8217;s Internet of Things Foundation. This cloud offering is free to use for development and includes services such as Node Red, Real Time Analytics, Time Series databases and of course &#8211; Watson!.<\/p>\n<p>The IoTF Real Time Analytics Team have made some great enhancements recently: The ability to create alerts from sensor values &#8211; this includes E-mail, Node Red calls and now <a href=\"https:\/\/developer.ibm.com\/iotfoundation\/blog\/2015\/11\/18\/analytics-and-actions-improved-in-iot-real-time-insights\/\">IFTTT integration<\/a>!.<\/p>\n<p>The IoTBox will use both modes of IoTF &#8211; Quickstart (no registration required) and Registered (allows the full use of IoTF).<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.spants.com\/blog\/wp-content\/uploads\/2015\/11\/Screen-Shot-2015-11-30-at-17.04.53.png\"><img loading=\"lazy\" class=\"size-medium wp-image-134 alignleft\" src=\"https:\/\/i0.wp.com\/www.spants.com\/blog\/wp-content\/uploads\/2015\/11\/Screen-Shot-2015-11-30-at-17.04.53.png?resize=300%2C288\" alt=\"Screen Shot 2015-11-30 at 17.04.53\" width=\"300\" height=\"288\" srcset=\"https:\/\/i0.wp.com\/www.spants.com\/blog\/wp-content\/uploads\/2015\/11\/Screen-Shot-2015-11-30-at-17.04.53.png?resize=300%2C288 300w, https:\/\/i0.wp.com\/www.spants.com\/blog\/wp-content\/uploads\/2015\/11\/Screen-Shot-2015-11-30-at-17.04.53.png?resize=1024%2C983 1024w, https:\/\/i0.wp.com\/www.spants.com\/blog\/wp-content\/uploads\/2015\/11\/Screen-Shot-2015-11-30-at-17.04.53.png?w=1342 1342w, https:\/\/i0.wp.com\/www.spants.com\/blog\/wp-content\/uploads\/2015\/11\/Screen-Shot-2015-11-30-at-17.04.53.png?w=948 948w\" sizes=\"(max-width: 300px) 100vw, 300px\" data-recalc-dims=\"1\" \/><\/a>The new IoTF Registered mode allows the LED and OLED screen to be controlled by the IoTF cloud.<\/p>\n<p>For example, a cloud based Maximo offering can create a \u00a0work order based on a temperature reading from the IoTBox. The LED on the IoTBox could turn blue and a message on the screen will alert the user to the new work order number.<\/p>\n<p>This is now very easy to do!. In the following post, I will detail the full steps required to connect to IBM&#8217;s IoTF cloud service.<\/p>\n<p>&nbsp;<\/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-129\" class=\"share-twitter sd-button share-icon no-text\" href=\"http:\/\/www.spants.com\/blog\/iotbox-and-the-internet-of-things-foundation\/?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-129\" class=\"share-facebook sd-button share-icon no-text\" href=\"http:\/\/www.spants.com\/blog\/iotbox-and-the-internet-of-things-foundation\/?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-and-the-internet-of-things-foundation\/?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-and-the-internet-of-things-foundation\/?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 IoTBox was born out of the realisation that we needed a physical &#8220;tool&#8221; to show how we can interact with other systems &#8211; such as IBM Maximo. We\u00a0have always talked about how easy it is to integrate &#8211; but how could we prove it?. The IoTBox started with the ability to use REST calls &hellip; <a href=\"http:\/\/www.spants.com\/blog\/iotbox-and-the-internet-of-things-foundation\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">IoTBox and the Internet of Things Foundation<\/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-129\" class=\"share-twitter sd-button share-icon no-text\" href=\"http:\/\/www.spants.com\/blog\/iotbox-and-the-internet-of-things-foundation\/?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-129\" class=\"share-facebook sd-button share-icon no-text\" href=\"http:\/\/www.spants.com\/blog\/iotbox-and-the-internet-of-things-foundation\/?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-and-the-internet-of-things-foundation\/?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-and-the-internet-of-things-foundation\/?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":[2,6,7],"tags":[9,14,10,11],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6n7xT-25","_links":{"self":[{"href":"http:\/\/www.spants.com\/blog\/wp-json\/wp\/v2\/posts\/129"}],"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=129"}],"version-history":[{"count":4,"href":"http:\/\/www.spants.com\/blog\/wp-json\/wp\/v2\/posts\/129\/revisions"}],"predecessor-version":[{"id":136,"href":"http:\/\/www.spants.com\/blog\/wp-json\/wp\/v2\/posts\/129\/revisions\/136"}],"wp:attachment":[{"href":"http:\/\/www.spants.com\/blog\/wp-json\/wp\/v2\/media?parent=129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.spants.com\/blog\/wp-json\/wp\/v2\/categories?post=129"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.spants.com\/blog\/wp-json\/wp\/v2\/tags?post=129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}