{"id":851,"date":"2020-10-04T19:52:58","date_gmt":"2020-10-04T17:52:58","guid":{"rendered":"http:\/\/jeedom.sigalou-domotique.fr\/?p=851"},"modified":"2024-04-21T13:16:15","modified_gmt":"2024-04-21T11:16:15","slug":"commander-un-portail-a-la-voix","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/en\/commander-un-portail-a-la-voix","title":{"rendered":"Order a portal by voice"},"content":{"rendered":"<h2>Objective<\/h2>\n<ul>\n<li>Alexa, open the portal<\/li>\n<li>Alexa, close the portal.<\/li>\n<\/ul>\n<h2>Equipment used<\/h2>\n<ul>\n<li>a script that sends an opening command to the portal<\/li>\n<li>the Script Plugin<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-856\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/10\/portail3-300x56.png\" alt=\"\" width=\"584\" height=\"109\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/10\/portail3-300x56.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/10\/portail3-600x111.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/10\/portail3-768x142.png 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/10\/portail3.png 1009w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/p>\n<p><em>Note that any home automation equipment would do the trick from the moment you have an order available in Jeedom.<\/em><!--more--><\/p>\n<h2>Give a Generic Type to Your Orders<\/h2>\n<p>This is mandatory for the Alexa plugin to detect the function to perform.<\/p>\n<p>I use the Light format (even for the portal) because I do not have a failed status return with this format.<\/p>\n<p>As my portal opens and closes with the same order, I simply copied the order.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-853\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/10\/portail-300x258.png\" alt=\"\" width=\"541\" height=\"465\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/10\/portail-300x258.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/10\/portail-600x516.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/10\/portail.png 697w\" sizes=\"auto, (max-width: 541px) 100vw, 541px\" \/><\/p>\n<p>You have to go to the commands to specify a <strong>Generic type<\/strong>, as in the screenshot below.<\/p>\n<ul>\n<li>On the first order: <strong>Light Button On<\/strong><\/li>\n<li>On the second order (copy of the first): <strong>Light Button Off<\/strong><\/li>\n<\/ul>\n<h2>Add Portal equipment in Alexa<\/h2>\n<p>This step will make the link with the Amazon server<\/p>\n<p>On the Equipment tab, tick <strong>Transmit<\/strong>, Specify type <strong>Light<\/strong>, put a <strong>Pseudo<\/strong> (portal in the example) and <strong>Save<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-855\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/10\/portail2-300x11.png\" alt=\"\" width=\"600\" height=\"22\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/10\/portail2-300x11.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/10\/portail2-600x23.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/10\/portail2-1024x39.png 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/10\/portail2-768x29.png 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/10\/portail2.png 1292w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<h2>Detect equipment in Alexa<\/h2>\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 data-rich-text-format-boundary=\"true\">Connected home<\/strong> then <strong>Detect<\/strong><\/p>\n<h2>Result<\/h2>\n<p>The portal can be controlled by voice<\/p>\n<ul>\n<li>Alexa, open the portal<\/li>\n<li>Alexa, close the portal.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>","protected":false},"excerpt":{"rendered":"<p>Objective Alexa, open the Alexa portal, close the Equipment used portal a script that sends an opening command to the portal the script plugin Note that any home automation equipment would do the job from the moment you have an order available in Jeedom.<\/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":[],"class_list":["post-851","post","type-post","status-publish","format-standard","hentry","category-domotique","category-jeedom-2"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/851","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=851"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/851\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media?parent=851"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/categories?post=851"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/tags?post=851"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}