{"id":5000,"date":"2020-03-23T16:16:41","date_gmt":"2020-03-23T16:16:41","guid":{"rendered":"https:\/\/www.fambach.net\/?p=5000"},"modified":"2025-09-26T13:52:49","modified_gmt":"2025-09-26T13:52:49","slug":"esp-mit-alexa-steuern","status":"publish","type":"post","link":"https:\/\/www.fambach.net\/en\/esp-mit-alexa-steuern\/","title":{"rendered":"Control ESP with Alexa"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_73 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.fambach.net\/en\/esp32-arduino-gui-einrichten\/#Boardmanager\" title=\"Boardmanager\">Boardmanager<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.fambach.net\/en\/esp32-arduino-gui-einrichten\/#Installation_uberprufen\" title=\"Installation \u00fcberpr\u00fcfen\">Installation \u00fcberpr\u00fcfen<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.fambach.net\/en\/esp32-arduino-gui-einrichten\/#Probleme\" title=\"Problems\">Problems<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.fambach.net\/en\/esp32-arduino-gui-einrichten\/#Keine_Beispielprogramme_fur_den_ESP32\" title=\"Keine Beispielprogramme f\u00fcr den ESP32\">Keine Beispielprogramme f\u00fcr den ESP32<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.fambach.net\/en\/esp32-arduino-gui-einrichten\/#Verwandte_Beitrage\" title=\"Related Posts\">Related Posts<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.fambach.net\/en\/esp32-arduino-gui-einrichten\/#Fazit\" title=\"Conclusion\">Conclusion<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.fambach.net\/en\/esp32-arduino-gui-einrichten\/#Quellen\" title=\"Sources\">Sources<\/a><\/li><\/ul><\/nav><\/div>\n\n<p>Beim St\u00f6bern im Netz bin ich auf eine interessante Bibliothek gestossen. Die Fauxmo Bibliothek ist zur Anbindung des ESP8266\/32 an eine Alexa gedacht. Die Bibliothek simuliert ein Philips Hue Device, welches direkt \u00fcber die Alexa gesteuert werden kann. Es bedarf keiner zus\u00e4tzlichen Services oder anderer Skills. <\/p>\n\n\n\n<p>Hier der Link zur Bibliothek<\/p>\n\n\n\n<p><a href=\"https:\/\/bitbucket.org\/xoseperez\/fauxmoesp\/src\/master\/\">https:\/\/bitbucket.org\/xoseperez\/fauxmoesp\/src\/master\/<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Abh\u00e4ngigkeiten<\/h2>\n\n\n\n<p>Je nach Controller wird eine der folgenden Asynchronen Libs ben\u00f6tigt:<\/p>\n\n\n\n<p>ESP8266: <a href=\"https:\/\/github.com\/me-no-dev\/ESPAsyncTCP\">ESPAsyncTCP<\/a><\/p>\n\n\n\n<p>ESP32:  <a href=\"https:\/\/github.com\/me-no-dev\/AsyncTCP\">AsyncTCP<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">ESP Programm<\/h2>\n\n\n\n<p>Hier meine Blinkvariante, Alexa steuert hier nur die eingebaute LED:<\/p>\n\n\n\n<p><a href=\"https:\/\/gist.github.com\/sfambach\/287b4e5e5b9058da4cfb677d4625418f\">https:\/\/gist.github.com\/sfambach\/287b4e5e5b9058da4cfb677d4625418f<\/a><\/p>\n\n\n\n<p>Code auf den Controller spielen, Schauen ob die Netzwerkverbindung aufgebaut wird:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.fambach.net\/wp-content\/uploads\/image-6.png\" alt=\"\" class=\"wp-image-5006\"\/><\/figure>\n\n\n\n<p> dann geht es weiter mit der Alexa &#8230;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Alexa<\/h2>\n\n\n\n<p>Sagen: &#8222;Alexa suche neue Ger\u00e4te&#8220; <\/p>\n\n\n\n<p>Die Alexa sollte dann die blaue Lampe finden. <\/p>\n\n\n\n<p>Mit: <\/p>\n\n\n\n<p>&#8222;Alexa, blaue Lampe einschalten&#8220;,<br>&#8222;Alexa, blaue Lampe ausschalten&#8220; <\/p>\n\n\n\n<p>kann die LED auf dem ESP gesteuert werden.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Fazit\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Die Bibliothek ist leicht einzubinden und erledigt ihre Arbeit zuverl\u00e4ssig.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u00c4hnliche Beitr\u00e4ge<\/h2>\n\n\n\n<p><ul class=\"display-posts-listing\"><li class=\"listing-item\"><a class=\"title\" href=\"https:\/\/www.fambach.net\/en\/esp32-highgrow-pflanzenspiess\/\">ESP32 HiGrow V1.0 (Plant Spike)<\/a><\/li><li class=\"listing-item\"><a class=\"title\" href=\"https:\/\/www.fambach.net\/en\/esp-mit-alexa-steuern\/\">Control ESP with Alexa<\/a><\/li><li class=\"listing-item\"><a class=\"title\" href=\"https:\/\/www.fambach.net\/en\/esp32-arduino-gui-einrichten-2\/\">ESP8266 Arduino GUI setup<\/a><\/li><li class=\"listing-item\"><a class=\"title\" href=\"https:\/\/www.fambach.net\/en\/ota-esp32fota-test\/\">OTA - ESP32fota Test<\/a><\/li><li class=\"listing-item\"><a class=\"title\" href=\"https:\/\/www.fambach.net\/en\/den-esp8266-schlafen-legen\/\">Put the ESP8266 to sleep<\/a><\/li><li class=\"listing-item\"><a class=\"title\" href=\"https:\/\/www.fambach.net\/en\/mqtt-protokoll-mit-kleinen-versuch\/\">MQTT Protocol + Experimental Setup<\/a><\/li><li class=\"listing-item\"><a class=\"title\" href=\"https:\/\/www.fambach.net\/en\/nodemcu-v2-motorplatine\/\">NodeMCU V2 Motor Board<\/a><\/li><li class=\"listing-item\"><a class=\"title\" href=\"https:\/\/www.fambach.net\/en\/ssd1306-monochrom-oled-128x64-i2c-2-2\/\">ESP8266 SSD1306 Monochromatic OLED 128\u00d764 I2C<\/a><\/li><li class=\"listing-item\"><a class=\"title\" href=\"https:\/\/www.fambach.net\/en\/nodemcu-v3-mit-oled-display-aufmotzen\/\">Spice up NodeMCU V3 with an OLED display<\/a><\/li><li class=\"listing-item\"><a class=\"title\" href=\"https:\/\/www.fambach.net\/en\/esp32-arduino-gui-einrichten\/\">Setting up ESP32 with the Arduino GUI<\/a><\/li><\/ul><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Quellen\"><\/span>Sources<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p><a href=\"https:\/\/bitbucket.org\/xoseperez\/fauxmoesp\/src\/master\/\">https:\/\/bitbucket.org\/xoseperez\/fauxmoesp\/src\/master\/<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/originallyus\/node-red-contrib-alexa-local\">https:\/\/github.com\/originallyus\/node-red-contrib-alexa-local<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/me-no-dev\/AsyncTCP\">https:\/\/github.com\/me-no-dev\/AsyncTCP<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/me-no-dev\/ESPAsyncTCP\">https:\/\/github.com\/me-no-dev\/ESPAsyncTCP<\/a><\/p>\n\n\n\n<figure class=\"wp-block-embed-wordpress wp-block-embed is-type-wp-embed is-provider-random-nerd-tutorials\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"GPmYaO1ahF\"><a href=\"https:\/\/randomnerdtutorials.com\/alexa-echo-with-esp32-and-esp8266\/\">Alexa (Echo) with ESP32 and ESP8266 &#8211; Voice Controlled Relay<\/a><\/blockquote><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Alexa (Echo) with ESP32 and ESP8266 &#8211; Voice Controlled Relay&#8221; &#8212; Random Nerd Tutorials\" src=\"https:\/\/randomnerdtutorials.com\/alexa-echo-with-esp32-and-esp8266\/embed\/#?secret=XibxWzdFtM#?secret=GPmYaO1ahF\" data-secret=\"GPmYaO1ahF\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>","protected":false},"excerpt":{"rendered":"<p>Beim St\u00f6bern im Netz bin ich auf eine interessante Bibliothek gestossen. Die Fauxmo Bibliothek ist zur Anbindung des ESP8266\/32 an eine Alexa gedacht. Die Bibliothek simuliert ein Philips Hue Device, welches direkt \u00fcber die Alexa gesteuert werden kann. Es bedarf keiner zus\u00e4tlichen Services oder andere Skills. <\/p>\n<a href=\"https:\/\/www.fambach.net\/en\/preview-esp01-relais-modul\/\" class=\"read-more-link\">Continue reading <span class=\"screen-reader-text\">\"ESP01 &#8211; Relais Platine\"<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a>","protected":false},"author":1,"featured_media":5012,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[183,189,212],"tags":[33,93,148,23],"modified_by":"sfambach","_links":{"self":[{"href":"https:\/\/www.fambach.net\/en\/wp-json\/wp\/v2\/posts\/5000"}],"collection":[{"href":"https:\/\/www.fambach.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fambach.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fambach.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fambach.net\/en\/wp-json\/wp\/v2\/comments?post=5000"}],"version-history":[{"count":14,"href":"https:\/\/www.fambach.net\/en\/wp-json\/wp\/v2\/posts\/5000\/revisions"}],"predecessor-version":[{"id":14516,"href":"https:\/\/www.fambach.net\/en\/wp-json\/wp\/v2\/posts\/5000\/revisions\/14516"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fambach.net\/en\/wp-json\/wp\/v2\/media\/5012"}],"wp:attachment":[{"href":"https:\/\/www.fambach.net\/en\/wp-json\/wp\/v2\/media?parent=5000"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fambach.net\/en\/wp-json\/wp\/v2\/categories?post=5000"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fambach.net\/en\/wp-json\/wp\/v2\/tags?post=5000"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}