{"id":24765,"date":"2018-06-01T20:00:00","date_gmt":"2018-06-01T20:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/premier_developer\/?p=24765"},"modified":"2019-02-14T20:18:05","modified_gmt":"2019-02-15T03:18:05","slug":"how-azure-iot-helped-me-buy-a-new-house-part-3-esp8266-code","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/premier-developer\/how-azure-iot-helped-me-buy-a-new-house-part-3-esp8266-code\/","title":{"rendered":"How Azure IoT helped me buy a new house &#8211; Part 3 &#8211; ESP8266 Code"},"content":{"rendered":"<p>In the third post of his series, Premier Developer Consultant <a target=\"_blank\" href=\"https:\/\/www.linkedin.com\/in\/sstjean\/\" rel=\"noopener\">Steve St Jean<\/a> expands on how Azure IoT helped him buy a new home. He goes into detail about writing the code for the sensor rig to send telemetry data to Azure IoT Hub.<\/p>\n<hr \/>\n<p>In the first part of this series, I described the problem I was having, my hypothesis as to the source of the issue, and the steps I would take to test my hypothesis. In the second post, I described the electronics that I built to start capturing environmental sensor data. This post describes the next step needed to begin testing: writing the code for the IoT sensor rig to send telemetry data to Azure IoT Hub.<\/p>\n<h3><span style=\"color: #000000\">The Code<\/span><\/h3>\n<p>All of the code for the ESP8266 can be downloaded from my <a target=\"_blank\" href=\"https:\/\/github.com\/sstjean\/IoTSensors\/tree\/master\" rel=\"noopener\">GitHub<\/a> repo. Some of the code is original work, but most of it is adapted from the following sources.<\/p>\n<p>You can read more of Steve\u2019s post <a target=\"_blank\" href=\"https:\/\/bigboxofdevops.com\/2018\/05\/09\/how-azure-iot-helped-me-buy-a-new-house-part-3\/\" rel=\"noopener\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the third post of his series, Premier Developer Consultant Steve St Jean expands on how Azure IoT helped him buy a new home. He goes into detail about writing the code for the sensor rig to send telemetry data to Azure IoT Hub. In the first part of this series, I described the problem [&hellip;]<\/p>\n","protected":false},"author":582,"featured_media":37840,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[25,125],"tags":[24,248,352],"class_list":["post-24765","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure","category-iot","tag-azure","tag-iot","tag-steve-st-jean"],"acf":[],"blog_post_summary":"<p>In the third post of his series, Premier Developer Consultant Steve St Jean expands on how Azure IoT helped him buy a new home. He goes into detail about writing the code for the sensor rig to send telemetry data to Azure IoT Hub. In the first part of this series, I described the problem [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts\/24765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/users\/582"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/comments?post=24765"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts\/24765\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/media\/37840"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/media?parent=24765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/categories?post=24765"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/tags?post=24765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}