{"id":90,"date":"2018-03-04T14:21:28","date_gmt":"2018-03-04T14:21:28","guid":{"rendered":"http:\/\/jeedom.sigalou-domotique.fr\/flash-sonoff-reseau-wifi-flashage"},"modified":"2021-02-20T09:44:29","modified_gmt":"2021-02-20T07:44:29","slug":"flash-sonoff-reseau-wifi-flashage","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/en\/flash-sonoff-reseau-wifi-flashage","title":{"rendered":"After Flashing, connect a Sonoff to the WIFI network and link to Jeedom"},"content":{"rendered":"<p>Several articles on this site explain how to flash <a href=\"http:\/\/jeedom.sigalou-domotique.fr\/sonoff-basic-th10-th16-rf-dual-pow-wifi-wireless-smart-switch\" target=\"_blank\" rel=\"noopener noreferrer\">Sonoff<\/a>, each model has its own procedure for setting to \u2018programming\u2019 mode, but once ESP_Easy is installed, the configuration of the Wifi network and the creation of the link to Jeedom is identical. Here it is:<\/p>\n<p><!--more--><\/p>\n<p>&nbsp;<\/p>\n<h2>Connecting the Sonoff to the Wifi network<\/h2>\n<p>With a mobile phone for example, connect to<strong> ESP_Easy_0:<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-86\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2018\/03\/4chpror2-flash5b.jpg\" alt=\"\" width=\"450\" height=\"404\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2018\/03\/4chpror2-flash5b.jpg 450w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2018\/03\/4chpror2-flash5b-300x269.jpg 300w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/p>\n<ul>\n<li>The password is <strong>configesp<\/strong><\/li>\n<li>Then set up your own Wi-Fi network:<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-87\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2018\/03\/4chpror2-flash6b.jpg\" alt=\"\" width=\"449\" height=\"410\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2018\/03\/4chpror2-flash6b.jpg 449w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2018\/03\/4chpror2-flash6b-300x274.jpg 300w\" sizes=\"auto, (max-width: 449px) 100vw, 449px\" \/><\/p>\n<ul>\n<li>The Sonoff restarts or switches it off and on again, it must connect to the local network and be visible.<\/li>\n<li>To find the IP, I access my router to see what is the last IP assigned (I take advantage of it for the) and type this IP in a browser.<\/li>\n<\/ul>\n<h2>Setting up ESP Easy<\/h2>\n<h3>Config<\/h3>\n<ul>\n<li>In <strong>Config<\/strong>, I just change the name of my Sonoff (4_Heating), the rest is unchanged, I am in DHCP:<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-88\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2018\/03\/easy1.jpg\" alt=\"\" width=\"654\" height=\"681\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2018\/03\/easy1.jpg 654w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2018\/03\/easy1-600x625.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2018\/03\/easy1-288x300.jpg 288w\" sizes=\"auto, (max-width: 654px) 100vw, 654px\" \/><\/p>\n<h3>Controllers<\/h3>\n<ul>\n<li>In <strong>Controllers<\/strong>, I configure the link with <a href=\"http:\/\/jeedom.sigalou-domotique.fr\/jeedom\">Jeedom <\/a>:<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-89\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2018\/03\/easy3.jpg\" alt=\"\" width=\"660\" height=\"597\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2018\/03\/easy3.jpg 660w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2018\/03\/easy3-600x543.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2018\/03\/easy3-300x271.jpg 300w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/p>\n<p>In Controller Publish, put: <strong>device=%a%&amp;taskid=%id%&amp;cmd=%valname%&amp;value=%value%<\/strong><\/p>\n<h2>Integration in Jeedom<\/h2>\n<p>Integrating into Jeedom is child\u2019s play<\/p>\n<p>* Go to plugins, install plugin <strong>ESPeasy<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-51\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2018\/03\/espeasy_icon.png\" alt=\"espeasy icon\" width=\"109\" height=\"124\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2018\/03\/espeasy_icon.png 309w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2018\/03\/espeasy_icon-266x300.png 266w\" sizes=\"auto, (max-width: 109px) 100vw, 109px\" \/><\/p>\n<p>* In ESPeasy, get into <strong>Inclusion Mode<\/strong>, modules that change state are automatically created and module devices are found as commands in Jeedom.<\/p>","protected":false},"excerpt":{"rendered":"<p>Several articles on this site explain how to flash Sonoffs, each model has its own \"programming\" mode procedure, but once ESP_Easy is installed, the configuration of the Wifi network and the creation of the link to Jeedom is identical. Here it is:<\/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],"tags":[],"class_list":["post-90","post","type-post","status-publish","format-standard","hentry","category-domotique"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/90","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=90"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/90\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media?parent=90"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/categories?post=90"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/tags?post=90"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}