{"id":394,"date":"2020-04-13T15:59:50","date_gmt":"2020-04-13T15:59:50","guid":{"rendered":"http:\/\/jeedom.sigalou-domotique.fr\/declencher-son-aspiration-centralisee-aspirateur-avec-alexa-via-jeedom-et-ha-bridge"},"modified":"2024-04-21T13:15:36","modified_gmt":"2024-04-21T11:15:36","slug":"declencher-son-aspiration-centralisee-aspirateur-avec-alexa-via-jeedom-et-ha-bridge","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/en\/declencher-son-aspiration-centralisee-aspirateur-avec-alexa-via-jeedom-et-ha-bridge","title":{"rendered":"Trigger its centralized suction (vacuum cleaner) with Alexa via Jeedom"},"content":{"rendered":"<h1>Purpose of this tutorial<\/h1>\n<p>Turn on my suction unit (centralised suction unit) by order to Alexa: \u2018\u00a0<strong>Alexa triggers the vacuum cleaner<\/strong>\u2018\u00a0<\/p>\n<h1>Materials<\/h1>\n<ul>\n<li>The <strong>suction unit<\/strong> (it is an Ald\u00e8s, installed since 2008, no worries so far). It is equipped with a terminal block that allows the power plant to be triggered with a small on\/off (dry contact).<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-384\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/cuve-couvercle-axpir-family-boosty-energy-confort.jpg.png\" alt=\"tank lid axpir family boosty energy comfort.jpg\" width=\"200\" height=\"200\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/cuve-couvercle-axpir-family-boosty-energy-confort.jpg.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/cuve-couvercle-axpir-family-boosty-energy-confort.jpg-300x300.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/cuve-couvercle-axpir-family-boosty-energy-confort.jpg-100x100.png 100w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/cuve-couvercle-axpir-family-boosty-energy-confort.jpg-150x150.png 150w\" sizes=\"auto, (max-width: 200px) 100vw, 200px\" \/><!--more--><\/p>\n<ul>\n<li>A <strong><a href=\"http:\/\/jeedom.sigalou-domotique.fr\/sonoff-basic-th10-th16-rf-dual-pow-wifi-wireless-smart-switch\">Sonoff Basic<\/a><\/strong> which is f<a href=\"http:\/\/jeedom.sigalou-domotique.fr\/flash-sonoff-reseau-wifi-flashage\">lash\u00e9 with ESP Easy<\/a> and who is <a href=\"http:\/\/jeedom.sigalou-domotique.fr\/contact-sec-ou-relais-avec-un-sonoff-basic\">modified to make dry contact (on\/off), <\/a>this contact is connected to the terminal blocks of the suction unit<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-385\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/20200413_181400.jpg\" alt=\"20200413 181400\" width=\"600\" height=\"338\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/20200413_181400.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/20200413_181400-300x169.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<ul>\n<li>A <strong>Amazon Alexa Echo<\/strong><\/li>\n<\/ul>\n<h1>Principle<\/h1>\n<ul>\n<li>The Sonoff Basic is flashed with ESP Easy and then interfaced to Jeedom with the Espeasy plugin<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-386\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/Screenshot_2020-04-13_Gestion_Plugins_-_Jeedom.png\" alt=\"Screenshot 2020 04 13 Management Plugins Jeedom\" width=\"86\" height=\"86\"><\/p>\n<ul>\n<li>In Jeedom, you add a command <strong>Launch<\/strong> which makes it possible to launch an On\/Off on GPIO 12 (Relay), here is the command:<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-387\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/Screenshot_2020-04-13_Espeasy_-_Jeedom.png\" alt=\"Screenshot 2020 04 13 Espeasy Jeedom\" width=\"590\" height=\"67\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/Screenshot_2020-04-13_Espeasy_-_Jeedom.png 590w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/Screenshot_2020-04-13_Espeasy_-_Jeedom-300x34.png 300w\" sizes=\"auto, (max-width: 590px) 100vw, 590px\" \/><\/p>\n<ul>\n<li>We note the URL link that allows to launch the order with a Post http: For example: <em><strong>http:\/\/192.168.0.100\/core\/api\/jeeApi.php?apikey=3mDPf04Y09gJDyNTUddr4cXRL1LiGMYG3sxlca65Zv&amp;type=cmd&amp;id=5735<\/strong><\/em><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-388\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/Screenshot_2020-04-13_Espeasy_-_Jeedom1.png\" alt=\"Screenshot 2020 04 13 Espeasy Jeedom1\" width=\"116\" height=\"22\"><\/p>\n<ul>\n<li>&nbsp;<\/li>\n<\/ul>\n<h1>Details or options<\/h1>\n<h2>Configuration in ESP Easy<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-391\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/Screenshot_2020-04-13_Aspirateur.png\" alt=\"Screenshot 2020 04 13 Vacuum cleaner\" width=\"771\" height=\"137\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/Screenshot_2020-04-13_Aspirateur.png 771w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/Screenshot_2020-04-13_Aspirateur-600x107.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/Screenshot_2020-04-13_Aspirateur-300x53.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/Screenshot_2020-04-13_Aspirateur-768x136.png 768w\" sizes=\"auto, (max-width: 771px) 100vw, 771px\" \/><\/p>\n<p>Rules can be added to ensure that the press of the Sonoff Basic button also triggers the aspiratoin:<\/p>\n<table border=\"2\">\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-392\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/Screenshot_2020-04-13_Aspirateur1.png\" alt=\"Screenshot 2020 04 13 Vacuum cleaner1\" width=\"753\" height=\"349\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/Screenshot_2020-04-13_Aspirateur1.png 753w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/Screenshot_2020-04-13_Aspirateur1-600x278.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/Screenshot_2020-04-13_Aspirateur1-300x139.png 300w\" sizes=\"auto, (max-width: 753px) 100vw, 753px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul>\n<li>&nbsp;<a href=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/config_Aspirateur_U0_Build20103_202018.zip\" target=\"_blank\" rel=\"noopener noreferrer\">Backing up my ESPEasy Config file<\/a><\/li>\n<\/ul>\n<h2>Installation and Config of the Alexa plugin<\/h2>\n<p>This tutorial is not intended to explain the installation of the <a href=\"https:\/\/doc.jeedom.com\/fr_FR\/plugins\/communication\/ash\/\" target=\"_blank\" rel=\"noopener noreferrer\">Alexa plugin<\/a>, taking the \u20ac12\/year subscription from Jeedom, let\u2019s note that all this is operational.<\/p>\n<h3>Mandatory generic type<\/h3>\n<p>Check that a \u2018generic type\u2019 has been set to the \u2018Launch\u2019 command in the ESP Easy plugin, so search for your order and click on <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-794\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/settings.png\" alt=\"\" width=\"48\" height=\"34\"> then second tab, <strong>Generic type<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-795\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/typegenerique-300x111.png\" alt=\"\" width=\"559\" height=\"207\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/typegenerique-300x111.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/typegenerique.png 520w\" sizes=\"auto, (max-width: 559px) 100vw, 559px\" \/><\/p>\n<p>It should be noted that I voluntarily chose a \u2018light\u2019 type because in the integration into the Alexa plugin, I will choose to declare the device as a light. <em>(At first, I had declared a catch, but the acknowledgement of receipt was problematic)<\/em><\/p>\n<h3>Bonus (optional)<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-811\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/femme-de-menage-249x300-1.jpg\" alt=\"\" width=\"249\" height=\"300\"><\/p>\n<p>If you want to make your entourage laugh, on the same screen, you can add this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-798\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/conchita-300x53.png\" alt=\"\" width=\"560\" height=\"99\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/conchita-300x53.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/conchita-600x106.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/conchita-768x136.png 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/conchita.png 966w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/p>\n<p>Note that the order <em><strong>Make Alexa speak in SSML<\/strong><\/em> is a command of the plugin <a href=\"http:\/\/jeedom.sigalou-domotique.fr\/alexa-api-documentation\">Alexa-API<\/a>.<br>The text is: &lt;speak&gt;&lt;voice name='Conchita'&gt;&lt;prosody rate='medium' pitch='low'&gt;Chaud ahead!! Aspirator awarded!! Y\u00e9 calls me Conchita. y\u00e9 f\u00e9 l\u00e9 menache partou dans la maichon .&lt;\/prosody&gt;&lt;\/voice&gt;&lt;\/speak&gt;<\/p>\n<h2>Added Alexa-Jeedom link<\/h2>\n<p>In the Alexa plugin, add the command that corresponds to <em><strong>vacuum cleaner<\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-803\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/alexacmd-300x15.png\" alt=\"\" width=\"600\" height=\"30\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/alexacmd-300x15.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/alexacmd-600x29.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/alexacmd-768x38.png 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/alexacmd.png 857w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-804\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sauvegarder.png\" alt=\"\" width=\"98\" height=\"32\"><\/p>\n<p>In the Alexa app on the phone or on <a href=\"https:\/\/alexa.amazon.fr\">https:\/\/alexa.amazon.fr<\/a><\/p>\n<p><strong>Connected home<\/strong> then <strong>Detect<\/strong><\/p>\n<h2>Launch the command by voice<\/h2>\n<p>It is over, so the vacuum cleaner is controlled by voice with one:<\/p>\n<ul>\n<li><strong>Alexa triggers the vacuum cleaner<\/strong><\/li>\n<li><strong>Alexa turns on the vacuum cleaner<\/strong><\/li>\n<\/ul>\n\n\n<p class=\"wp-block-paragraph\"><\/p>","protected":false},"excerpt":{"rendered":"<p>Objective of this tutorial Switch on my central suction unit (centralised suction) of an order to Alexa: \u2018Alexa launches the vacuum cleaner\u2019 Materials The suction unit (it is an Aldes, installed since 2008, no worries to date). It is equipped with a terminal block that allows the power plant to be triggered with a small on\/off (dry contact).<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14,23],"tags":[86],"class_list":["post-394","post","type-post","status-publish","format-standard","hentry","category-domotique","category-jeedom-2","tag-amazon-echo"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/394","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/comments?post=394"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/394\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media?parent=394"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/categories?post=394"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/tags?post=394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}