{"id":174,"date":"2019-01-14T18:21:23","date_gmt":"2019-01-14T18:21:23","guid":{"rendered":"http:\/\/jeedom.sigalou-domotique.fr\/interface-jeedom-ewelink-via-ifttt"},"modified":"2024-04-21T13:18:14","modified_gmt":"2024-04-21T11:18:14","slug":"interface-jeedom-ewelink-via-ifttt","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/en\/interface-jeedom-ewelink-via-ifttt","title":{"rendered":"Jeedom interface \u2013 eWelink via IFTTT"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-148\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/lienJeedomeWelink.jpg\" alt=\"JeedomeWelink\" width=\"743\" height=\"200\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/lienJeedomeWelink.jpg 743w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/lienJeedomeWelink-600x162.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/lienJeedomeWelink-300x81.jpg 300w\" sizes=\"auto, (max-width: 743px) 100vw, 743px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>You can flash most Sonoff equipment, several tutorials are present on this site.<\/p>\n<p>If you don't want to flash or can't (depending on the equipment), you can interconnect Jeedom to IFTTT and IFTTT to eWelink.<\/p>\n<p>  <!--more-->  <\/p>\n<h1>All prerequisites<\/h1>\n<h2>Prerequisite: Create an IFTTT account and an eWelink account<\/h2>\n<ol>\n<li>Create an account on IFTTT on the <a href=\"https:\/\/ifttt.com\" target=\"_blank\" rel=\"noopener noreferrer\">official website<\/a><\/li>\n<li>Create an eWelink account on the app (android or ios)<\/li>\n<\/ol>\n<h2>Prerequisite: Enter your eWelink account on IFTTT to interconnect them<\/h2>\n<ul>\n<li><a href=\"https:\/\/ifttt.com\/ewelink\">https:\/\/ifttt.com\/ewelink<\/a><\/li>\n<\/ul>\n<p>Once the interconnection is completed, your eWelink equipment will automatically be offered on IFTTT.<\/p>\n<h2>Prerequisite: Retrieve the WebHooks key from the IFTTT site<\/h2>\n<ul>\n<li>Read this article: <a href=\"index.php?option=com_content&amp;view=article&amp;id=42;envoyer-un-push-grace-au-plugin-jeedom-pushover-4&amp;catid=13;centre-de-notif\" target=\"_blank\" rel=\"noopener noreferrer\">Retrieve the WebHooks key from the IFTTT site<\/a><\/li>\n<\/ul>\n<h1>Explanation of principle<\/h1>\n<p>You will need 4 IFTTT Applets:<\/p>\n<ul>\n<li>An ON order that asks the equipment to switch to ON (<em><strong>Circuit Breaker ControlDIN-ON<\/strong><\/em> in the example)<\/li>\n<li>An OFF command that asks the equipment to switch to OFF (<em><strong>Control Circuit BreakerDIN-OFF<\/strong><\/em> in the example)<\/li>\n<li>An ON trigger that will inform Jeedom that the equipment has switched to ON (<strong>Circuit breaker Din goes to ON<\/strong> in the example)<\/li>\n<li>An OFF trigger that will inform Jeedom that the equipment has switched to OFF (<strong>Circuit breaker Din switches to OFF<\/strong> in the example)<\/li>\n<\/ul>\n<p>In Jeedom, we'll use a <strong>Virtual<\/strong> which will symbolize the equipment which:<\/p>\n<ul>\n<li><strong>receive<\/strong> IFTTT commands to report status changes (both triggers)<\/li>\n<li><strong>send<\/strong> commands to IFTTT to request status changes (both commands)<\/li>\n<\/ul>\n<h1>The link Jeedom =&gt; IFTTT =&gt; eWelink<\/h1>\n<h2>Create two Applet WebHooks =&gt; eWelink on the IFTTT website<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-149\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink5.png\" alt=\"iftttewelink5\" width=\"715\" height=\"365\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink5.png 715w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink5-600x306.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink5-300x153.png 300w\" sizes=\"auto, (max-width: 715px) 100vw, 715px\" \/><\/p>\n<p>Here I will only detail the ON command because the off command is based on the same principle:<\/p>\n<table border=\"2\">\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-169\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/ifttt1.jpg\" alt=\"ifttt1\" width=\"1000\" height=\"331\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/ifttt1.jpg 1000w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/ifttt1-600x199.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/ifttt1-300x99.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/ifttt1-768x254.jpg 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table border=\"2\">\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-167\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/ifttt2.jpg\" alt=\"ifttt2\" width=\"1000\" height=\"533\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/ifttt2.jpg 1000w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/ifttt2-600x320.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/ifttt2-300x160.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/ifttt2-768x409.jpg 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table border=\"2\">\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-152\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/ifttt3.jpg\" alt=\"ifttt3\" width=\"1000\" height=\"533\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/ifttt3.jpg 1000w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/ifttt3-600x320.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/ifttt3-300x160.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/ifttt3-768x409.jpg 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table border=\"2\">\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-153\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink6.png\" alt=\"iftttewelink6\" width=\"462\" height=\"382\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink6.png 462w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink6-300x248.png 300w\" sizes=\"auto, (max-width: 462px) 100vw, 462px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"background-color: #ffff00;\"><strong>==&gt; The name you give to the event is very important, keep it, it is he who ensures the link between Jeedom and IFTTT<br \/><\/strong><\/span><\/p>\n<table border=\"2\">\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-168\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/ifttt5.jpg\" alt=\"ifttt1\" width=\"1000\" height=\"334\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/ifttt5.jpg 1000w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/ifttt5-600x200.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/ifttt5-300x100.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/ifttt5-768x257.jpg 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table border=\"2\">\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-155\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink1.png\" alt=\"iftttewelink1\" width=\"876\" height=\"581\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink1.png 876w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink1-600x398.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink1-300x199.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink1-768x509.png 768w\" sizes=\"auto, (max-width: 876px) 100vw, 876px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;You have several options, for this tutorial, I take a simple example, I order equipment on\/off:<\/p>\n<table border=\"2\">\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-156\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink2.png\" alt=\"iftttewelink2\" width=\"300\" height=\"260\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;In the list appear the devices of the eWelink account configured in IFTTT. (DIN circuit breaker in my example), we therefore choose the device and the action to be taken.<\/p>\n<table border=\"2\">\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-157\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink3.png\" alt=\"iftttewelink3\" width=\"629\" height=\"764\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink3.png 629w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink3-600x729.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink3-247x300.png 247w\" sizes=\"auto, (max-width: 629px) 100vw, 629px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>And we validate the creation of the applet<\/p>\n<h2>&nbsp;Create the command in Jeedom thanks to the IFTTT plugin<\/h2>\n<ul>\n<li>First, install the Jeddom IFTTT plugin, configure it and go create a new IFTTT by clicking Add<\/li>\n<li>When creating a new \u2018IFTTT\u2019, he will inform you of the <strong>WebHook key<\/strong>, if you can't find it, read <a href=\"index.php?option=com_content&amp;view=article&amp;id=42;envoyer-un-push-grace-au-plugin-jeedom-pushover-4&amp;catid=13;centre-de-notif\" target=\"_blank\" rel=\"noopener noreferrer\">Retrieve the WebHooks key from the IFTTT site<\/a><\/li>\n<li>In the command you create, specify the same event name as the name given in the IFTTT applet (here <strong>_on Circuit Breaker<\/strong>), so you need to create the command <strong>on<\/strong> and ordering <strong>off<\/strong><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<table border=\"2\">\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-158\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink7.png\" alt=\"iftttewelink7\" width=\"787\" height=\"250\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink7.png 787w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink7-600x191.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink7-300x95.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink7-768x244.png 768w\" sizes=\"auto, (max-width: 787px) 100vw, 787px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h1>&nbsp;<\/h1>\n<h1>Creation of a Virtual in Jeedom representing the equipment<\/h1>\n<p>It is necessary (thanks to the Virtual plugin) to create a virtual that will take two states ON or OFF.<\/p>\n<ul>\n<li>So we go to plugin\/Programming\/Virtual<\/li>\n<li>Add<\/li>\n<li>Two actions (i.e. two commands) are added to the onhglet <strong>Orders<\/strong> one <strong>We're<\/strong> and one <strong>Off<\/strong> and each changes the value of \u2018take\u2019 in the example:<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-159\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/priseonoff.png\" alt=\"takeonoff\" width=\"802\" height=\"321\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/priseonoff.png 802w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/priseonoff-600x240.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/priseonoff-300x120.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/priseonoff-768x307.png 768w\" sizes=\"auto, (max-width: 802px) 100vw, 802px\" \/><\/p>\n<p>In the command\/display configuration, you can set the \u2018Socket\u2019 widget to On and Off and then uncheck \u2018Show\u2019 Socket to have a nice Widget:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-160\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/prisetest.png\" alt=\"taketest\" width=\"97\" height=\"142\" \/><\/p>\n<p>For the rest, we can note the direct url link that sends the command On and the link of the command Off, this is on the link \"URL\"<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-161\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/url.png\" alt=\"url\" width=\"1093\" height=\"552\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/url.png 1093w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/url-600x303.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/url-300x152.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/url-1024x517.png 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/url-768x388.png 768w\" sizes=\"auto, (max-width: 1093px) 100vw, 1093px\" \/><\/p>\n<p>I note in my example:<\/p>\n<ul>\n<li><strong>Order ON<\/strong> : http:\/\/xxx:100\/core\/api\/jeeApi.php?apikey=xxx&amp;type=cmd&amp;id=2687<\/li>\n<li><strong>Order OFF<\/strong> : http:\/\/xxx:100\/core\/api\/jeeApi.php?apikey=xxx&amp;type=cmd&amp;id=2688<\/li>\n<\/ul>\n<h1>&nbsp;<\/h1>\n<h1>The link eWelink =&gt; IFTTT =&gt; Jeedom<\/h1>\n<p><strong><span style=\"text-decoration: underline;\">Principle<\/span> : When the eWelink equipment changes state, it must inform IFTTT and IFTTT sends a message to Jeedom<\/strong><\/p>\n<\/p>\n<h2>Create two Applet EWelink =&gt; WebHooks (=&gt; Jeedom) on the IFTTT website<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-162\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink8.png\" alt=\"iftttewelink8\" width=\"710\" height=\"277\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink8.png 710w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink8-600x234.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink8-300x117.png 300w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/><\/p>\n<table border=\"2\">\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-169\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/ifttt1.jpg\" alt=\"ifttt1\" width=\"1000\" height=\"331\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/ifttt1.jpg 1000w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/ifttt1-600x199.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/ifttt1-300x99.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/ifttt1-768x254.jpg 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<ul>\n<li>Take the service <strong>Ewelink<\/strong><\/li>\n<\/ul>\n<table border=\"2\">\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-164\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink.png\" alt=\"iftttewelink\" width=\"846\" height=\"586\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink.png 846w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink-600x416.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink-300x208.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink-768x532.png 768w\" sizes=\"auto, (max-width: 846px) 100vw, 846px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<ul>\n<li>Choose the right service for your equipment:<\/li>\n<\/ul>\n<table border=\"2\">\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-165\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelinks2.png\" alt=\"iftttewelinks2\" width=\"1267\" height=\"732\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelinks2.png 1267w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelinks2-600x347.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelinks2-300x173.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelinks2-1024x592.png 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelinks2-768x444.png 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelinks2-1200x693.png 1200w\" sizes=\"auto, (max-width: 1267px) 100vw, 1267px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<ul>\n<li>Choose the equipment and then the command to be used as a trigger, ON in the example:<\/li>\n<\/ul>\n<table border=\"2\">\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-170\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelinks3.png\" alt=\"iftttewelinks3\" width=\"629\" height=\"764\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelinks3.png 629w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelinks3-600x729.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelinks3-247x300.png 247w\" sizes=\"auto, (max-width: 629px) 100vw, 629px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<ul>\n<li>When the trigger is created, IFTTT will be asked to send a message to Jeedom via Webhook<\/li>\n<\/ul>\n<table border=\"2\">\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-171\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelings4.png\" alt=\"iftttewelings4\" width=\"922\" height=\"226\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelings4.png 922w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelings4-600x147.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelings4-300x74.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelings4-768x188.png 768w\" sizes=\"auto, (max-width: 922px) 100vw, 922px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table border=\"2\">\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-172\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelinks5.png\" alt=\"iftttewelinks5\" width=\"800\" height=\"572\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelinks5.png 800w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelinks5-600x429.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelinks5-300x215.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelinks5-768x549.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul>\n<li>Take <strong>Make a web request<\/strong><\/li>\n<li>In <strong>URL<\/strong>, put the url of the command, in this example it is the ON, so it is for example: http:\/\/xxx:100\/core\/api\/jeeApi.php?apikey=xxx&amp;type=cmd&amp;id=2687<\/li>\n<li>Leave everything else by default and press <strong>Create action<\/strong><\/li>\n<li>Give the Applet a name and it is over.<\/li>\n<\/ul>\n<p>This means that when the equipment moves to ON, the eWelink service will inform IFTTT who will send a request via a URL to Jeedom.<\/p>\n<ul>\n<li>Do the same for the Trigger OFF with the URL that corresponds to OFF.<\/li>\n<\/ul>\n<p><span style=\"color: #993366;\"><strong>Manually change the status of your equipment (or via the eWelink mobile app) and you must have your Virtual Equipment changing status on Jeedom.<br \/><\/strong><\/span><\/p>\n<h1>Ask the Virtual to send status change commands via IFTTT<\/h1>\n<p>Now that the Virtual is created and they receive the status changes well, one last step is to ask them to send the status change commands to eWelink via IFTTT.<\/p>\n<p>For this, we go to the <strong>Virtual<\/strong>, click on the tab \u201c\u00a0<strong>Orders<\/strong>, on the command line <strong>ON<\/strong>, click on the <strong>notched wheel<\/strong> on the right, then tab <strong>configuration<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-173\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink9.png\" alt=\"iftttewelink9\" width=\"671\" height=\"619\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink9.png 671w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink9-600x554.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/01\/iftttewelink9-300x277.png 300w\" sizes=\"auto, (max-width: 671px) 100vw, 671px\" \/><\/p>\n<p>And we add in \"\u00a0<strong>Action before execution of the order<\/strong>, commands the IFTTT plugin that sends the ON of this equipment.<\/p>\n<p>We do the same for <strong>OFF<\/strong><\/p>\n<p>&nbsp;<\/p>\n<h1>Conclusion<\/h1>\n<p>This is obviously not the easiest way to order a plug because there are a lot of middlemen, but it works.<\/p>\n<p>We find eWelink sockets for less than 10 \u20ac, it allows to tinker and do simple things without investing fortunes.<\/p>\n<p>It is a nice exercise of interconnecting devices that talk to each other by http queries.<\/p>","protected":false},"excerpt":{"rendered":"<p>&nbsp; You can flash most Sonoff equipment, several tutorials are present on this site. If you don't want to flash or can't (depending on the equipment), you can interconnect Jeedom to IFTTT and IFTTT to eWelink.<\/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-174","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\/174","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=174"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/174\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media?parent=174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/categories?post=174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/tags?post=174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}