{"id":61,"date":"2018-05-19T17:40:30","date_gmt":"2018-05-19T17:40:30","guid":{"rendered":"http:\/\/54.236.244.85\/?p=61"},"modified":"2018-06-11T22:13:43","modified_gmt":"2018-06-11T22:13:43","slug":"aws-iot-project","status":"publish","type":"post","link":"https:\/\/robertburich.com\/index.php\/2018\/05\/19\/aws-iot-project\/","title":{"rendered":"AWS IoT Project"},"content":{"rendered":"<p>I&#8217;ve always been interested in IoT (Internet of Things) so I&#8217;ve been using the AWS IoT services to play with IoT and learn about AWS.\u00a0 I&#8217;ve setup a web application that allows you to control IoT devices using AWS IoT and shadow devices.\u00a0 The functionality I&#8217;ve implemented so far has been:<\/p>\n<ul>\n<li>Wrote a IoT device simulator using Python<\/li>\n<li>Re-purposed my\u00a0 (high-powered) home workstation to run Vmware&#8217;s ESXi v6.5 so I can run the device simulator as one of the virtual machines under Ubuntu v16.04.<\/li>\n<li>I have an older Intel Galileo Gen2 board that will function as the IoT device in the end but it&#8217;s easier to use the Device Simulator for now &#8211; plus I wanted to learn Python so what better way to do that.<\/li>\n<li>I chose to use the MQTT protocol for the device simulator as opposed to MQTT over the Websocket protocol.\u00a0 I&#8217;ll probably go back and retry it with MQTT over Websockets later.<\/li>\n<li>The AWS shadow device is so cool, I&#8217;ll add an architecture diagram later to the website.<\/li>\n<li>The AWS IoT topic uses a rule to update a DynamoDB table with the current IoT device status.\u00a0 This DynamoDB update also triggers a Lambda function to add a timestamp to the row in the DynamoDB table.<\/li>\n<li>The Web application\u00a0 and server (running in the AWS cloud) uses Linux, Apache, MySQL, PHP, Javascript, jQuery &#8211; AJAX, and HTML5\/CSS3 Drag-n-Drop features to allow the client to change the IOT device status.<\/li>\n<li>I think what I want to do next is to build an Alexa Skill to allow me to control the IoT device too.\u00a0 Guess I&#8217;ll have to buy an Amazon Echo!<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve always been interested in IoT (Internet of Things) so I&#8217;ve been using the AWS IoT services to play with IoT and learn about AWS.\u00a0 I&#8217;ve setup a web application that allows you to control IoT devices using AWS IoT and shadow devices.\u00a0 The functionality I&#8217;ve implemented so far has been: Wrote a IoT device [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-61","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/robertburich.com\/index.php\/wp-json\/wp\/v2\/posts\/61","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/robertburich.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/robertburich.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/robertburich.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/robertburich.com\/index.php\/wp-json\/wp\/v2\/comments?post=61"}],"version-history":[{"count":3,"href":"https:\/\/robertburich.com\/index.php\/wp-json\/wp\/v2\/posts\/61\/revisions"}],"predecessor-version":[{"id":161,"href":"https:\/\/robertburich.com\/index.php\/wp-json\/wp\/v2\/posts\/61\/revisions\/161"}],"wp:attachment":[{"href":"https:\/\/robertburich.com\/index.php\/wp-json\/wp\/v2\/media?parent=61"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/robertburich.com\/index.php\/wp-json\/wp\/v2\/categories?post=61"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/robertburich.com\/index.php\/wp-json\/wp\/v2\/tags?post=61"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}