{"id":2142,"date":"2021-09-01T14:23:02","date_gmt":"2021-09-01T12:23:02","guid":{"rendered":"http:\/\/jeedom.sigalou-domotique.fr\/?p=2142"},"modified":"2024-04-21T13:06:49","modified_gmt":"2024-04-21T11:06:49","slug":"domotiser-sa-porte-de-garage","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/en\/domotiser-sa-porte-de-garage","title":{"rendered":"Domotizing your garage door"},"content":{"rendered":"<h2>Objectives<\/h2>\n<p>My garage door is already motorised, I will adapt a control module to domotise it, the objective is for example to say \u2018Alexa opens the garage\u2019 or that at 9 p.m., Jeedom checks that the garage is closed, otherwise she informs me that she closes it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2197\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-20-27-46-Dashboard-Jeedom.png\" alt=\"\" width=\"208\" height=\"148\" \/><!--more--><\/p>\n<h2>Presentation of the devices<\/h2>\n<ul>\n<li>The <strong>Garage Door<\/strong> is motorized with a Sommer\/Duo system<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-2143\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/sommer.png\" alt=\"\" width=\"394\" height=\"278\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/sommer.png 1288w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/sommer-600x423.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/sommer-300x211.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/sommer-1024x721.png 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/sommer-768x541.png 768w\" sizes=\"auto, (max-width: 394px) 100vw, 394px\" \/><\/p>\n<ul>\n<li>The <strong>home automation module<\/strong> added is a <a href=\"https:\/\/s.click.aliexpress.com\/e\/_AWnpdI\" target=\"_blank\" rel=\"noopener\">aperture sensor<\/a>, purchased on <a href=\"https:\/\/s.click.aliexpress.com\/e\/_AWnpdI\" target=\"_blank\" rel=\"noopener\">Ali Express<\/a> at \u20ac14.53. It is Wifi.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/s.click.aliexpress.com\/e\/_AWnpdI\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2144\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-13-36-09-Mon-AliExpress-gerer-les-commandes.png\" alt=\"\" width=\"370\" height=\"127\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-13-36-09-Mon-AliExpress-gerer-les-commandes.png 370w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-13-36-09-Mon-AliExpress-gerer-les-commandes-300x103.png 300w\" sizes=\"auto, (max-width: 370px) 100vw, 370px\" \/><\/a><\/p>\n<p>I took this kit because it comes with absolutely everything and even a lot more. There are very long cables (to cut), a whole bunch of adapters, double faces of several sizes, a screwdriver, even small fixing nails, amazing, they thought of everything. Congratulations! I received it a big week after the order.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-2145\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-13-39-14-18-69E-55-de-reduction-Tuya-\u2013-capteur-douverture-de-porte-de-Garage-intelligent-Life-c....png\" alt=\"\" width=\"193\" height=\"257\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-13-39-14-18-69E-55-de-reduction-Tuya-\u2013-capteur-douverture-de-porte-de-Garage-intelligent-Life-c....png 282w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-13-39-14-18-69E-55-de-reduction-Tuya-\u2013-capteur-douverture-de-porte-de-Garage-intelligent-Life-c...-226x300.png 226w\" sizes=\"auto, (max-width: 193px) 100vw, 193px\" \/><\/p>\n<ul>\n<li>If you do not want to take the product I have installed, there is almost the equivalent of <a href=\"https:\/\/amzn.to\/3t29Lku\" target=\"_blank\" rel=\"noopener\">Thomson at Amazon<\/a> at \u20ac69.90. But at this price, without cable, without any accessories, just the nu\u2026 module. We still have some progress to make \u2026<\/li>\n<li>To complete the loop, you can find the same as the one sold at <a href=\"https:\/\/s.click.aliexpress.com\/e\/_AWnpdI\" target=\"_blank\" rel=\"noopener\">AliExpress<\/a> on <a href=\"https:\/\/amzn.to\/3zzGdwN\" target=\"_blank\" rel=\"noopener\">Amazon<\/a> at the price of 29\u20ac<\/li>\n<\/ul>\n<h2>Connection of terminal blocks of the home automation module<\/h2>\n<h3>Connection of the garage door control<\/h3>\n<p>This explanation applies to all gate, garage door or other automation systems, in principle there is always a 2-wire input somewhere to connect a push button. The push button triggers the mechanism to be opened (or closed).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2146\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/borniers.png\" alt=\"\" width=\"310\" height=\"304\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/borniers.png 310w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/borniers-300x294.png 300w\" sizes=\"auto, (max-width: 310px) 100vw, 310px\" \/><\/p>\n<p>On my equipment, it is simply terminals 5 and 6 that make it possible to put this push button type contact, look for where it is present on the other marks.<\/p>\n<p>For the rest of the adventure, just take two wires out of the plastic box and connect them to 5 and 6 on the terminal block.<\/p>\n<h3>Connection of the home automation module to the opening sensor<\/h3>\n<p>The opening sensor is wired, it is composed of two small plastic rectangles, they are magnetised together, like a standard window or door detector. Unlike micro-modules that require both parts to be almost glued to detect closure, I saw that there was latitude, it is simpler for installation.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2148\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-13-58-57-18-69E-55-de-reduction-Tuya-\u2013-capteur-douverture-de-porte-de-Garage-intelligent-Life-c....png\" alt=\"\" width=\"143\" height=\"186\" \/><\/p>\n<p>The supplied cable made <strong>5m<\/strong>, largely sufficient, I have a fall that will serve me for other things, everyone will find the assembly that corresponds to the maneuver of the garage door, all options are possible:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2149\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/borniers2.png\" alt=\"\" width=\"929\" height=\"227\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/borniers2.png 929w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/borniers2-600x147.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/borniers2-300x73.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/borniers2-768x188.png 768w\" sizes=\"auto, (max-width: 929px) 100vw, 929px\" \/><\/p>\n<p>For the connection of the sensor, nothing more simple, two terminals, no sense, on terminal S3 and S4.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-2151\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-14-23-20-18-69E-55-de-reduction-Tuya-\u2013-capteur-douverture-de-porte-de-Garage-intelligent-Life-c....png\" alt=\"\" width=\"539\" height=\"453\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-14-23-20-18-69E-55-de-reduction-Tuya-\u2013-capteur-douverture-de-porte-de-Garage-intelligent-Life-c....png 909w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-14-23-20-18-69E-55-de-reduction-Tuya-\u2013-capteur-douverture-de-porte-de-Garage-intelligent-Life-c...-600x505.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-14-23-20-18-69E-55-de-reduction-Tuya-\u2013-capteur-douverture-de-porte-de-Garage-intelligent-Life-c...-300x252.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-14-23-20-18-69E-55-de-reduction-Tuya-\u2013-capteur-douverture-de-porte-de-Garage-intelligent-Life-c...-768x646.png 768w\" sizes=\"auto, (max-width: 539px) 100vw, 539px\" \/><\/p>\n<h3>Power supply of the home automation module<\/h3>\n<p>It is a standard power supply, 220v, L and N, you plug this in carefully after switching off the electricity. Since you have to open the umbrella, I will write: have this done by a professional.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2153\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-14-26-12-18-69E-55-de-reduction-Tuya-\u2013-capteur-douverture-de-porte-de-Garage-intelligent-Life-c....png\" alt=\"\" width=\"88\" height=\"110\" \/><\/p>\n<h3>Link between the home automation module and the motorization of the portal<\/h3>\n<p>The module will trigger an open\/closed 1s\/open when asked to activate the mechanism. That behaviour is therefore that of a normally open push button.<\/p>\n<p>No sense of connection, just two terminals to connect between the home automation module (S1 and S2) and the engine, it depends on the model and brand.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2154\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/borniers3.png\" alt=\"\" width=\"374\" height=\"269\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/borniers3.png 374w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/borniers3-300x216.png 300w\" sizes=\"auto, (max-width: 374px) 100vw, 374px\" \/><\/p>\n<h3>Concrete result, very clean.<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-2156\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/20210901_143752-scaled.jpg\" alt=\"\" width=\"398\" height=\"530\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/20210901_143752-scaled.jpg 1920w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/20210901_143752-scaled-600x800.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/20210901_143752-225x300.jpg 225w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/20210901_143752-768x1024.jpg 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/20210901_143752-1152x1536.jpg 1152w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/20210901_143752-1536x2048.jpg 1536w\" sizes=\"auto, (max-width: 398px) 100vw, 398px\" \/><\/p>\n<h2>Software integrations<\/h2>\n<h3>Integration in Smart Life<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-1133\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/applismartlife.jpg\" alt=\"\" width=\"118\" height=\"137\" \/><\/p>\n<p>You can choose between Tuya or Smart Life.<\/p>\n<p>I prefer Smart Life, especially since I have the Smart Life \u2013 Alexa skill installed and functional.<\/p>\n<p>Just follow the instructions for use, a small button at the bottom left launches the inclusion, a led on the right must flash \u2026 we fight a little with the module and at the end of the nth time, it\u2019s good, it\u2019s integrated into Smart Life.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2160\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-14.png\" alt=\"\" width=\"202\" height=\"384\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-14.png 202w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-14-158x300.png 158w\" sizes=\"auto, (max-width: 202px) 100vw, 202px\" \/><\/p>\n<p>The application and its integration are really well done, you can see if the garage is open or closed, trigger the activation of automation and of course add Smart Life routines or programming.<\/p>\n<h3>Integration in Alexa<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1134\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/appli-alexa.png\" alt=\"\" width=\"200\" height=\"129\" \/><\/p>\n<p>If like me, you have installed the Smart Life skin in Alexa, as soon as it is integrated into Smart Life, Alexa warns you that the garage door has been added to the list of equipment. Nothing to do to add it to the equipment recognised by Alexa (it\u2019s well done!)<\/p>\n<p>This is where we start to make unpleasant surprises.<\/p>\n<p>We realise that the state of the garage door has not been restored in Alexa, it is detected as an actuator, so an ON OFF is all!! <strong>Too bad<\/strong>.<\/p>\n<p><span style=\"text-decoration: underline;\">Note:<\/span> : I had the same disappointment when I integrated an energy meter some time ago, only the On\/Off was possible, but not the return of status or counting.<\/p>\n<p>I do not know if it is Smart Life or Amazon that is blocking or has not done its part of the job, the result is disappointing, but since my garage door was already equipped with a Zigbee window detector, I know in Jeedom by this means whether the garage is open or closed. It is not this new module that will bring it back to me in Jeedom.<\/p>\n<p>I tried a lot to understand and maybe find a solution, but no, it does not go back to Jeedom.<\/p>\n<p>On an equivalent product, the serious site <a href=\"https:\/\/www.domotique-store.fr\/domotique\/usages\/controle-acces-domotique-a-distance\/actionneurs-pour-portes-de-garages-et-portails\/1325-controleur-wifi-de-porte-de-garage-avec-capteur-d-ouvertute-compatible-app-smartphone-tuya-smart-life-amazon-alexa-et-nest.html\" target=\"_blank\" rel=\"noopener\">Domotic store<\/a>, they confirm that the return of status does not go back, they stated:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2161\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-15-07-41-Kit-de-commande-WiFi-pour-porte-de-garage-avec-capteur-douvertute-compatible-app-smartph....png\" alt=\"\" width=\"1112\" height=\"511\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-15-07-41-Kit-de-commande-WiFi-pour-porte-de-garage-avec-capteur-douvertute-compatible-app-smartph....png 1112w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-15-07-41-Kit-de-commande-WiFi-pour-porte-de-garage-avec-capteur-douvertute-compatible-app-smartph...-600x276.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-15-07-41-Kit-de-commande-WiFi-pour-porte-de-garage-avec-capteur-douvertute-compatible-app-smartph...-300x138.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-15-07-41-Kit-de-commande-WiFi-pour-porte-de-garage-avec-capteur-douvertute-compatible-app-smartph...-1024x471.png 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-15-07-41-Kit-de-commande-WiFi-pour-porte-de-garage-avec-capteur-douvertute-compatible-app-smartph...-768x353.png 768w\" sizes=\"auto, (max-width: 1112px) 100vw, 1112px\" \/><\/p>\n<p><span style=\"text-decoration: underline;\">Note:<\/span> : Small annotation 2 is inaccurate or incomplete. If you have connected the Skill Smart Life (or Tuya) to Alexa and use the Alexa-smartHome plugin, you can send opening or closing orders directly via this plugin. This is the subject of an integration paragraph later.<\/p>\n<p>Finally, I renamed Garage Door as <strong>Garage<\/strong> and it appears well in Alexa equipment both on site and on the app:<\/p>\n<table style=\"width: 33.8095%; border-collapse: collapse; height: 74px;\" border=\"1\">\n<tbody>\n<tr>\n<td style=\"width: 100%;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2167\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-15-23-47-Amazon-Alexa-1.png\" alt=\"\" width=\"239\" height=\"49\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table style=\"width: 33.6905%; border-collapse: collapse; height: 162px;\" border=\"1\">\n<tbody>\n<tr>\n<td style=\"width: 100%;\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2168 aligncenter\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot_20210901-152543_Amazon-Alexa.jpg\" alt=\"\" width=\"526\" height=\"1111\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot_20210901-152543_Amazon-Alexa.jpg 1080w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot_20210901-152543_Amazon-Alexa-600x1267.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot_20210901-152543_Amazon-Alexa-142x300.jpg 142w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot_20210901-152543_Amazon-Alexa-485x1024.jpg 485w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot_20210901-152543_Amazon-Alexa-768x1621.jpg 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot_20210901-152543_Amazon-Alexa-728x1536.jpg 728w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot_20210901-152543_Amazon-Alexa-970x2048.jpg 970w\" sizes=\"auto, (max-width: 526px) 100vw, 526px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>And here's another surprise, it must come from the connection between Smart Life and Alexa. Obviously the command We have no effect and it is the command Off (thus Off) that starts the activation of the relay.<\/p>\n<p>This is checked using the basic functions of the devices and I can see:<\/p>\n<ul>\n<li><em>Alexa opens the garage<\/em>, Alexa\u2019s reply: <strong>The Garage device does not take this request into account<\/strong>.<\/li>\n<li><em>Alexa closes the garage<\/em>, Alexa\u2019s reply: <strong>Agree<\/strong> and the garage door mechanism is activated.<\/li>\n<li><em>Alexa triggers the garage<\/em>, Alexa\u2019s reply: <strong>Agree<\/strong> and the garage door mechanism is activated.<\/li>\n<\/ul>\n<p>So, to close the garage, do not worry, it is the Alexa-SmartLife link that has configured itself with the Off command.<\/p>\n<p>To open the garage, we will still add the voice command <em>Alexa, open the garage.<\/em>, while knowing that a <em>Alexa Closes the Garage<\/em> would open the door if the garage is closed. It will be necessary to create a routine that will serve as a rustine for the absence of a command on the Alexa-SmartLife link.<\/p>\n<h4>Creating a \u2018Open the Garage\u2019 routine<\/h4>\n<p>Go to the Routines section in the Alexa SmartPhone app, then add a routine<\/p>\n<table style=\"width: 26.1905%; border-collapse: collapse; height: 276px;\" border=\"1\">\n<tbody>\n<tr>\n<td style=\"width: 100%;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2171\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot_20210901-163054_Amazon-Alexa.jpg\" alt=\"\" width=\"1080\" height=\"2280\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot_20210901-163054_Amazon-Alexa.jpg 1080w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot_20210901-163054_Amazon-Alexa-600x1267.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot_20210901-163054_Amazon-Alexa-142x300.jpg 142w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot_20210901-163054_Amazon-Alexa-485x1024.jpg 485w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot_20210901-163054_Amazon-Alexa-768x1621.jpg 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot_20210901-163054_Amazon-Alexa-728x1536.jpg 728w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot_20210901-163054_Amazon-Alexa-970x2048.jpg 970w\" sizes=\"auto, (max-width: 1080px) 100vw, 1080px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>All this is quite simple, only small trap, it is necessary to send the command Off (as explained above since the command On is inoperative). So send the action <strong>Extinct<\/strong>.<\/p>\n<p>\u00a0<\/p>\n<p>At this stage, the garage door is voice-controlled and the following controls work well:<\/p>\n<ul>\n<li><em>Alexa opens the garage<\/em>, Alexa\u2019s reply: <strong>Agree<\/strong> and the garage door mechanism is activated<\/li>\n<li><em>Alexa closes the garage<\/em>, Alexa\u2019s reply: <strong>Agree<\/strong> and the garage door mechanism is activated.<\/li>\n<\/ul>\n<h3>Integration in Jeedom via Alexa-SmartHome<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-313\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/alexasmarthome_icon.png\" alt=\"alexasmarthome icon\" width=\"158\" height=\"178\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/alexasmarthome_icon.png 309w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/alexasmarthome_icon-266x300.png 266w\" sizes=\"auto, (max-width: 158px) 100vw, 158px\" \/><\/p>\n<p>Alexa-smartHome, which is no longer available, makes it possible to make the link between the equipment recognised in Alexa and Jeedom, yes yes, all the equipment recognised by Alexa.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-2175\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/03\/alexasmarthome_screenshot1.jpg\" alt=\"\" width=\"409\" height=\"203\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/03\/alexasmarthome_screenshot1.jpg 800w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/03\/alexasmarthome_screenshot1-600x298.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/03\/alexasmarthome_screenshot1-300x149.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/03\/alexasmarthome_screenshot1-768x381.jpg 768w\" sizes=\"auto, (max-width: 409px) 100vw, 409px\" \/><\/p>\n<p>Our equipment <strong>Garage<\/strong> being present in Alexa devices, it is enough to launch a Scan in Alexa-API to recover it in smartHome.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1147\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/01\/scan.png\" alt=\"\" width=\"125\" height=\"135\" \/><\/p>\n<p>Detection goes well and <strong>Garage<\/strong> appears in the list of equipment<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2178\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-16-49-03-Alexasmarthome-Jeedom.png\" alt=\"\" width=\"130\" height=\"168\" \/><\/p>\n<p>For the rest of the operations, and not to confuse with temperature, light, presence detection \u2026 I will rename this equipment by <strong>Automation of the garage door<\/strong> and assign it to the object <strong>Garage<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2181\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-17-41-14-Alexasmarthome-Jeedom.png\" alt=\"\" width=\"130\" height=\"168\" \/><\/p>\n<h4>Disable unnecessary CRON<\/h4>\n<p>As we regretted above, the return of the garage door (open or closed) does not go back to Alexa. (either Alexa does not receive it or SmartLife does not send it to Alexa). In short, we don\u2019t have it in Alexa. So we will not have it in Jeedom.<\/p>\n<p>There is no need to use resources to launch a CRON to update Garage\u2019s info commands, it will not recover anything, so I advise to disable the CRON, to disable a CRON, just ask it to run once at last Christmas for example.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2179\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-16-54-01-Alexasmarthome-Jeedom.png\" alt=\"\" width=\"360\" height=\"45\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-16-54-01-Alexasmarthome-Jeedom.png 360w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-16-54-01-Alexasmarthome-Jeedom-300x38.png 300w\" sizes=\"auto, (max-width: 360px) 100vw, 360px\" \/><\/p>\n<h4>Use of Jeedom commands<\/h4>\n<p>The commands created by default will be useful to us.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2180\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-16-54-43-Alexasmarthome-Jeedom.png\" alt=\"\" width=\"285\" height=\"242\" \/><\/p>\n<p>Indeed, Alexa\u2019s smartHome API has a particular behaviour. Indeed, if we send turnOn (command On) while the endpoint is ON, nothing happens. The same goes for Off, so we will not be able to use the Off command directly to operate the automation of the garage door as in the Alexa routine, we will have to do this with a small Jeedom scenario that will test the state value and send the right order.<\/p>\n<h4>Creation of the Scenario: Operates Garage Door<\/h4>\n<p>It cannot be simpler, screenshots will suffice:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2182\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-17-46-06-Actionne-Porte-du-garage-Jeedom.png\" alt=\"\" width=\"351\" height=\"59\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-17-46-06-Actionne-Porte-du-garage-Jeedom.png 351w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-17-46-06-Actionne-Porte-du-garage-Jeedom-300x50.png 300w\" sizes=\"auto, (max-width: 351px) 100vw, 351px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2183\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-17-46-14-Actionne-Porte-du-garage-Jeedom.png\" alt=\"\" width=\"671\" height=\"188\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-17-46-14-Actionne-Porte-du-garage-Jeedom.png 671w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-17-46-14-Actionne-Porte-du-garage-Jeedom-600x168.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-17-46-14-Actionne-Porte-du-garage-Jeedom-300x84.png 300w\" sizes=\"auto, (max-width: 671px) 100vw, 671px\" \/><\/p>\n<h4>Recovery of the condition of the door (open or closed)<\/h4>\n<p>As explained several times above, the state of the door is not retrieved via Alexa as Alexa does not have this information.<\/p>\n<p>So I will use a small Zigbee sensor that is not the subject of this tutorial to retrieve the info<\/p>\n<table style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 50%;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2187\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/aqarazigbee.png\" alt=\"\" width=\"220\" height=\"237\" \/><\/td>\n<td style=\"width: 50%;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2188\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-17-57-46-Dashboard-Jeedom.png\" alt=\"\" width=\"152\" height=\"132\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>Creation of a Virtual Small<\/h4>\n<p>To go to the end of the operation, we will make a small virtual which will make it possible to have on the same tile the state of the garage door and a button to trigger automation<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2192\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-20-18-54-Virtual-Jeedom.png\" alt=\"\" width=\"700\" height=\"234\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-20-18-54-Virtual-Jeedom.png 700w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-20-18-54-Virtual-Jeedom-600x201.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-20-18-54-Virtual-Jeedom-300x100.png 300w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<h5>Explanation of the Virtual<\/h5>\n<ul>\n<li><strong>Door<\/strong> represents the state of the door, I usually use a closed green padlock when it is locked and closed and an open red padlock when the garage is open, it is a logic like any other, see what you want to use like Widgets. This info command retrieves in binary format the information that comes from the small image aperture sensor just above.<\/li>\n<li><strong>Trigger Door<\/strong> is an info command that doesn't do much except write \"Open Launch\" in the info command <strong>Action<\/strong>.<\/li>\n<li><strong>Action<\/strong> is an info command that will serve as a trigger for the scenario that will operate the automation of the door, be careful, you have to think about adjusting <strong>Repeat identical values<\/strong> on <strong>Yes<\/strong> for the trigger to work.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2193\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-20-20-20-Virtual-Jeedom.png\" alt=\"\" width=\"327\" height=\"75\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-20-20-20-Virtual-Jeedom.png 327w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-20-20-20-Virtual-Jeedom-300x69.png 300w\" sizes=\"auto, (max-width: 327px) 100vw, 327px\" \/><\/p>\n<h5>Adding the trigger in the trigger scenario<\/h5>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2194\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-20-23-58-Actionne-Porte-du-garage-Jeedom.png\" alt=\"\" width=\"374\" height=\"77\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-20-23-58-Actionne-Porte-du-garage-Jeedom.png 374w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-20-23-58-Actionne-Porte-du-garage-Jeedom-300x62.png 300w\" sizes=\"auto, (max-width: 374px) 100vw, 374px\" \/><\/p>\n<p>Do not forget to add the trigger on the scenario <strong>Operates Garage Door<\/strong><\/p>\n<h5>Result of the Virtual<\/h5>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2197\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-20-27-46-Dashboard-Jeedom.png\" alt=\"\" width=\"208\" height=\"148\" \/><\/p>\n<h2>Bonus: Close the garage at 9pm<\/h2>\n<p>Now that everything is commissioned by Jeedom, I have added a small scenario that starts at 9 p.m. and checks if the garage is closed, if it is not, it closes it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2203\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-20-41-14-Verifie-Garage-ferme-a-21h-Jeedom.png\" alt=\"\" width=\"379\" height=\"200\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-20-41-14-Verifie-Garage-ferme-a-21h-Jeedom.png 379w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-20-41-14-Verifie-Garage-ferme-a-21h-Jeedom-300x158.png 300w\" sizes=\"auto, (max-width: 379px) 100vw, 379px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2202\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-20-41-24-Verifie-Garage-ferme-a-21h-Jeedom.png\" alt=\"\" width=\"328\" height=\"107\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-20-41-24-Verifie-Garage-ferme-a-21h-Jeedom.png 328w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-20-41-24-Verifie-Garage-ferme-a-21h-Jeedom-300x98.png 300w\" sizes=\"auto, (max-width: 328px) 100vw, 328px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2201\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-20-41-41-Verifie-Garage-ferme-a-21h-Jeedom.png\" alt=\"\" width=\"960\" height=\"170\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-20-41-41-Verifie-Garage-ferme-a-21h-Jeedom.png 960w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-20-41-41-Verifie-Garage-ferme-a-21h-Jeedom-600x106.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-20-41-41-Verifie-Garage-ferme-a-21h-Jeedom-300x53.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-01-at-20-41-41-Verifie-Garage-ferme-a-21h-Jeedom-768x136.png 768w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" \/><\/p>\n<p>\u00a0<\/p>\n\n\n<p class=\"wp-block-paragraph\"><\/p>","protected":false},"excerpt":{"rendered":"<p>Objectifs Ma porte de garage est d\u00e9j\u00e0 motoris\u00e9e, je vais adapter un module de commande pour la domotiser, l&rsquo;objectif est par exemple de dire \u00ab\u00a0Alexa ouvre le garage\u00a0\u00bb ou encore qu&rsquo;\u00e0 21h, Jeedom v\u00e9rifie que le garage est bien ferm\u00e9, sinon elle m&rsquo;informe qu&rsquo;elle le ferme.<\/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-2142","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\/2142","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=2142"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/2142\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media?parent=2142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/categories?post=2142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/tags?post=2142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}