{"id":1973,"date":"2019-01-16T21:01:31","date_gmt":"2019-01-16T21:01:31","guid":{"rendered":"http:\/\/www.richa1.com\/RichardAlbritton\/?p=1973"},"modified":"2019-01-16T21:01:31","modified_gmt":"2019-01-16T21:01:31","slug":"one-step-closer-to-plug-and-play-esp-devices","status":"publish","type":"post","link":"https:\/\/www.richa1.com\/RichardAlbritton\/one-step-closer-to-plug-and-play-esp-devices\/","title":{"rendered":"One Step Closer to Plug and Play ESP devices"},"content":{"rendered":"<p>For those of you that know me, I am kinda big on the ESP8266 WiFi enabled chip for IOT. I do use the Arduino IDE for coding these chips and have integrated aspects of automatic setup much like consumer IOT products use. The one thing that has been tricky is in setting up things like MQTT feeds and even the MQTT credentials on setup. <!--more-->Typically I have those coded into the chip firmware. The Arduino OTA option makes it easy to re-code the chips I already have active on my network, but the ultimate goal is to auto detect the chips capability once it connects to my IOT Hub. HASSio has been working on an auto detect for MQTT, but I recently noticed support for something called ESPhome.<\/p>\n<p>According to the documentation\u00a0(<a href=\"http:\/\/esphomelib.com\/\" target=\"_blank\">esphomelib.com<\/a>) you can flash any ESP8266 or ESP32 device with\u00a0firmware that will allow Home Assistant to read or wright to the IO pins just by editing the Yaml files on your HASSio server. They seem to have quite a bit of functionality built in like NeoPixle controls that even allow animation effects created through Yaml config. Support for DHT sensors and many more are set as well. While I am not a huge fan of Yaml files for coding, this will make things much easier for people intimidated by C++ coding. It is also a testament to how much amazing support Home Assistant has attracted.<\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-print\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-print sd-button share-icon\" href=\"https:\/\/www.richa1.com\/RichardAlbritton\/one-step-closer-to-plug-and-play-esp-devices\/\" target=\"_blank\" title=\"Click to print\"><span>Print<\/span><\/a><\/li><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"https:\/\/www.richa1.com\/RichardAlbritton\/one-step-closer-to-plug-and-play-esp-devices\/?share=email\" target=\"_blank\" title=\"Click to email this to a friend\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-1973\" class=\"share-facebook sd-button share-icon\" href=\"https:\/\/www.richa1.com\/RichardAlbritton\/one-step-closer-to-plug-and-play-esp-devices\/?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\"><span>Facebook<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-1973\" class=\"share-twitter sd-button share-icon\" href=\"https:\/\/www.richa1.com\/RichardAlbritton\/one-step-closer-to-plug-and-play-esp-devices\/?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\"><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>For those of you that know me, I am kinda big on the ESP8266 WiFi enabled chip for IOT. I do use the Arduino IDE for coding these chips and have integrated aspects of automatic setup much like consumer IOT products use. The one thing that has been tricky is in setting up things like &hellip; <a href=\"https:\/\/www.richa1.com\/RichardAlbritton\/one-step-closer-to-plug-and-play-esp-devices\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">One Step Closer to Plug and Play ESP devices<\/span><\/a><\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-print\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-print sd-button share-icon\" href=\"https:\/\/www.richa1.com\/RichardAlbritton\/one-step-closer-to-plug-and-play-esp-devices\/\" target=\"_blank\" title=\"Click to print\"><span>Print<\/span><\/a><\/li><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"https:\/\/www.richa1.com\/RichardAlbritton\/one-step-closer-to-plug-and-play-esp-devices\/?share=email\" target=\"_blank\" title=\"Click to email this to a friend\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-1973\" class=\"share-facebook sd-button share-icon\" href=\"https:\/\/www.richa1.com\/RichardAlbritton\/one-step-closer-to-plug-and-play-esp-devices\/?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\"><span>Facebook<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-1973\" class=\"share-twitter sd-button share-icon\" href=\"https:\/\/www.richa1.com\/RichardAlbritton\/one-step-closer-to-plug-and-play-esp-devices\/?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\"><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"author":1,"featured_media":1974,"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":[62,56,58],"tags":[144,168,169,72,103,167],"jetpack_featured_media_url":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-content\/uploads\/2019\/01\/Capture.png","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5AhH6-vP","_links":{"self":[{"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/posts\/1973"}],"collection":[{"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/comments?post=1973"}],"version-history":[{"count":1,"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/posts\/1973\/revisions"}],"predecessor-version":[{"id":1975,"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/posts\/1973\/revisions\/1975"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/media\/1974"}],"wp:attachment":[{"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/media?parent=1973"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/categories?post=1973"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/tags?post=1973"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}