{"id":9170,"date":"2017-11-24T19:19:48","date_gmt":"2017-11-24T18:19:48","guid":{"rendered":"http:\/\/blog.wenzlaff.de\/?p=9170"},"modified":"2018-09-07T16:25:36","modified_gmt":"2018-09-07T14:25:36","slug":"echo-dot-triggert-node-red-auf-dem-raspberry-pi-per-node-red-alexa-home-skill-bridge","status":"publish","type":"post","link":"http:\/\/blog.wenzlaff.de\/?p=9170","title":{"rendered":"Echo Dot triggert Node-RED auf dem Raspberry Pi per &#8222;Node-RED Alexa Home Skill Bridge&#8220;"},"content":{"rendered":"<p>Wer per Sprache mit einen Echo Dot auch den Raspberry Pi auf dem Node-RED l\u00e4uft steuern will, kann dazu die &#8222;<a href=\"https:\/\/alexa-node-red.bm.hardill.me.uk\" rel=\"noopener\" target=\"_blank\">Node-RED Alexa Home Skill Bridge<\/a>&#8220; verwenden. Hier mal ein Beispiel wie per Alexa Echo Dot Sprach-Befehl die Feinstaubwerte f\u00fcr Hannover abgefragt und per Pushover an Handys versendet wird.<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/06\/Bildschirmfoto-2017-06-01-um-17.59.18.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/06\/Bildschirmfoto-2017-06-01-um-17.59.18.png\" alt=\"\" width=\"406\" height=\"158\" class=\"aligncenter size-full wp-image-8264\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/06\/Bildschirmfoto-2017-06-01-um-17.59.18.png 406w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/06\/Bildschirmfoto-2017-06-01-um-17.59.18-300x117.png 300w\" sizes=\"auto, (max-width: 406px) 100vw, 406px\" \/><\/a><\/p>\n<p>Dazu muss der Node &#8222;<a href=\"https:\/\/github.com\/hardillb\/node-red-contrib-alexa-home-skill\" rel=\"noopener\" target=\"_blank\">node-red-contrib-alexa-home-skill<\/a>&#8220; mit <strong>npm<\/strong> installiert werden:<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.38.42.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.38.42.png\" alt=\"\" width=\"1306\" height=\"875\" class=\"aligncenter size-full wp-image-9175\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.38.42.png 1306w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.38.42-300x201.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.38.42-768x515.png 768w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.38.42-1024x686.png 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>F\u00fcr den Echo das folgende Skill installieren.<!--more--><\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.44.14.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.44.14.png\" alt=\"\" width=\"1437\" height=\"597\" class=\"aligncenter size-full wp-image-9171\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.44.14.png 1437w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.44.14-300x125.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.44.14-768x319.png 768w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.44.14-1024x425.png 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>Auf der Homepage <a href=\"https:\/\/alexa-node-red.bm.hardill.me.uk\" rel=\"noopener\" target=\"_blank\">https:\/\/alexa-node-red.bm.hardill.me.uk<\/a> einen Account anlegen und ein neues Device anlegen mit Namen Feinstaub. Das ist dann das Alexa Wort f\u00fcr die Aktivierung. Als Eigenschaften an und aus w\u00e4hlen.<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-19.04.40.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-19.04.40.png\" alt=\"\" width=\"1197\" height=\"438\" class=\"aligncenter size-full wp-image-9178\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-19.04.40.png 1197w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-19.04.40-300x110.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-19.04.40-768x281.png 768w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-19.04.40-1024x375.png 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>In Alexa muss es dann als Ger\u00e4t erscheinen:<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.44.53.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.44.53.png\" alt=\"\" width=\"1297\" height=\"516\" class=\"aligncenter size-full wp-image-9172\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.44.53.png 1297w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.44.53-300x119.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.44.53-768x306.png 768w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.44.53-1024x407.png 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>Dann von der linken Spalte das Alexa Home Node in den Flow ziehen und deployen. Den Flow f\u00fcr die Feinstaubabfrage habe ich auf diesem Block schon mal ausf\u00fchrlich beschrieben.<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.40.28.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.40.28.png\" alt=\"\" width=\"1781\" height=\"890\" class=\"aligncenter size-full wp-image-9173\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.40.28.png 1781w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.40.28-300x150.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.40.28-768x384.png 768w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.40.28-1024x512.png 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>Einmal noch zuvor die Anmeldedaten f\u00fcr die Br\u00fccke eingeben:<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.41.05.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.41.05.png\" alt=\"\" width=\"675\" height=\"427\" class=\"aligncenter size-full wp-image-9174\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.41.05.png 675w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2017\/11\/Bildschirmfoto-2017-11-24-um-18.41.05-300x190.png 300w\" sizes=\"auto, (max-width: 675px) 100vw, 675px\" \/><\/a><\/p>\n<p>Dann kann mit &#8222;<strong>Alexa Feinstaub an<\/strong>&#8220; der Feinstaub Service abgefragt werden und die Werte per Pushover Nachrichten versendet werden. Cool &#8230;<\/p>\n<p>Wer hat weitere Anwendungsf\u00e4lle f\u00fcr Node-RED mit Alexa? Gern als Kommentar. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Wer per Sprache mit einen Echo Dot auch den Raspberry Pi auf dem Node-RED l\u00e4uft steuern will, kann dazu die &#8222;Node-RED Alexa Home Skill Bridge&#8220; verwenden. Hier mal ein Beispiel wie per Alexa Echo Dot Sprach-Befehl die Feinstaubwerte f\u00fcr Hannover abgefragt und per Pushover an Handys versendet wird. Dazu muss der Node &#8222;node-red-contrib-alexa-home-skill&#8220; mit npm &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/blog.wenzlaff.de\/?p=9170\" class=\"more-link\"><span class=\"screen-reader-text\">\u201eEcho Dot triggert Node-RED auf dem Raspberry Pi per &#8222;Node-RED Alexa Home Skill Bridge&#8220;\u201c <\/span>weiterlesen<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[220,3065,852,2520,1023],"tags":[3066,3067,3069,2827,3068,2473,2190],"class_list":["post-9170","post","type-post","status-publish","format-standard","hentry","category-anleitung","category-echo-dot","category-heimautomatisierung","category-node-red","category-raspberry-pi","tag-alexa","tag-echo-dot","tag-echodot","tag-feinstaub","tag-node-red-brige","tag-node-red","tag-raspberry-pi"],"_links":{"self":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/9170","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9170"}],"version-history":[{"count":0,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/9170\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9170"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}