{"id":832,"date":"2020-10-04T18:42:17","date_gmt":"2020-10-04T16:42:17","guid":{"rendered":"http:\/\/jeedom.sigalou-domotique.fr\/?p=832"},"modified":"2024-04-21T13:16:15","modified_gmt":"2024-04-21T11:16:15","slug":"alexa-sonoff-allume-eteint","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/en\/alexa-sonoff-allume-eteint","title":{"rendered":"Order a light by voice"},"content":{"rendered":"<h2>Objective<\/h2>\n<ul>\n<li>Alexa lights the living room<\/li>\n<li>Alexa turns off the living room<\/li>\n<\/ul>\n<h2>Equipment used<\/h2>\n<ul>\n<li>one <a href=\"http:\/\/jeedom.sigalou-domotique.fr\/sonoff-diy-mini\">Sonoff DIY Mini<\/a> behind the living room switch<\/li>\n<li>integration into Jeedom through the plugin <a href=\"http:\/\/jeedom.sigalou-domotique.fr\/plugin-sonoff-diy-documentation\">Sonoff DIY<\/a><\/li>\n<\/ul>\n<table style=\"height: 23px; width: 100%; border-collapse: collapse; border-style: hidden;\">\n<tbody>\n<tr style=\"height: 23px;\">\n<td style=\"width: 41.2644%; height: 23px;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-305\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/01\/images.jpg\" alt=\"images\" width=\"225\" height=\"225\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/01\/images.jpg 225w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/01\/images-100x100.jpg 100w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/01\/images-150x150.jpg 150w\" sizes=\"auto, (max-width: 225px) 100vw, 225px\" \/><\/td>\n<td style=\"width: 16.092%; height: 23px; border-style: hidden; text-align: center;\">+<\/td>\n<td style=\"width: 42.6436%; height: 23px;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-730\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/09\/sonoffdiy_icon-266x300.png\" alt=\"\" width=\"193\" height=\"218\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/09\/sonoffdiy_icon-266x300.png 266w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/09\/sonoffdiy_icon.png 309w\" sizes=\"auto, (max-width: 193px) 100vw, 193px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><em>Note that any home automation equipment would do the trick from the moment you have an On order and an Off 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><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-833\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/10\/typegeneriqueonoff-300x123.png\" alt=\"\" width=\"556\" height=\"228\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/10\/typegeneriqueonoff-300x123.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/10\/typegeneriqueonoff-600x246.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/10\/typegeneriqueonoff.png 767w\" sizes=\"auto, (max-width: 556px) 100vw, 556px\" \/><\/p>\n<p>You must go to the On command and the Off command to specify a generic Type, as in the screenshot below.<\/p>\n<ul>\n<li>On the order: <strong>Light Button On<\/strong><\/li>\n<li>On the Off order: <strong>Light Button Off<\/strong><\/li>\n<\/ul>\n<h2>Add living room switch 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 the type <strong>Light<\/strong> put a <strong>Pseudo<\/strong> (living room in the example) and <strong>Save<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-839\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/10\/alexaapisalon-300x15.png\" alt=\"\" width=\"640\" height=\"32\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/10\/alexaapisalon-300x15.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/10\/alexaapisalon-600x30.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/10\/alexaapisalon-768x39.png 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/10\/alexaapisalon.png 991w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/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 living room can turn on or off by voice<\/p>\n<ul>\n<li>Alexa lights the living room<\/li>\n<li>Alexa turns off the living room<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>","protected":false},"excerpt":{"rendered":"<p>Lens Alexa switches on the Alexa lounge turns off the lounge Equipment used a Sonoff DIY Mini behind the lounge switch integration into Jeedom thanks to the Sonoff DIY plugin + Note that any home automation equipment would do the trick from the moment you have an On command and an Off command 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-832","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\/832","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=832"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/832\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media?parent=832"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/categories?post=832"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/tags?post=832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}