{"id":163,"date":"2018-06-11T22:23:20","date_gmt":"2018-06-11T22:23:20","guid":{"rendered":"http:\/\/robertburich.com\/?p=163"},"modified":"2018-06-11T22:25:10","modified_gmt":"2018-06-11T22:25:10","slug":"updated-iot-project","status":"publish","type":"post","link":"https:\/\/robertburich.com\/index.php\/2018\/06\/11\/updated-iot-project\/","title":{"rendered":"Updated IoT Project"},"content":{"rendered":"<p>I updated the IoT project to display a snapshot of the IoT device whenever there is a change of state (i.e. color change or on\/off).\u00a0 You will need to refresh the Device History table and then you can select the timestamp that you want to view.\u00a0 I am using the AWS API gateway to pull the data from a DynamoDB table using a Lambda function. \u00a0I used javascript and jQuery to display the table and select the timestamp entry from the displayed table.<\/p>\n<p>I think I will make some updates to automatically display the full device history table along with a snapshot of the latest state.\u00a0 Then if you want to view images of previous states you can just select the corresponding timestamp.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I updated the IoT project to display a snapshot of the IoT device whenever there is a change of state (i.e. color change or on\/off).\u00a0 You will need to refresh the Device History table and then you can select the timestamp that you want to view.\u00a0 I am using the AWS API gateway to pull [&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-163","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/robertburich.com\/index.php\/wp-json\/wp\/v2\/posts\/163","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=163"}],"version-history":[{"count":2,"href":"https:\/\/robertburich.com\/index.php\/wp-json\/wp\/v2\/posts\/163\/revisions"}],"predecessor-version":[{"id":165,"href":"https:\/\/robertburich.com\/index.php\/wp-json\/wp\/v2\/posts\/163\/revisions\/165"}],"wp:attachment":[{"href":"https:\/\/robertburich.com\/index.php\/wp-json\/wp\/v2\/media?parent=163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/robertburich.com\/index.php\/wp-json\/wp\/v2\/categories?post=163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/robertburich.com\/index.php\/wp-json\/wp\/v2\/tags?post=163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}