{"id":383,"date":"2020-04-05T16:12:13","date_gmt":"2020-04-05T16:12:13","guid":{"rendered":"http:\/\/jeedom.sigalou-domotique.fr\/sonoff-diy-depuis-firmware-3-5-0-ewelink-protocol-v2"},"modified":"2020-07-05T09:26:07","modified_gmt":"2020-07-05T09:26:07","slug":"sonoff-diy-depuis-firmware-3-5-0-ewelink-protocol-v2","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/en\/sonoff-diy-depuis-firmware-3-5-0-ewelink-protocol-v2","title":{"rendered":"Sonoff DIY from Firmware 3.5.0 Ewelink Protocol V2"},"content":{"rendered":"<p><strong>Since April 2, 2020, Sonoff has just launched Ewelink Firmware 3.5.0 and on this occasion, the DIY protocol goes from V1.4 to V2.0<\/strong><\/p>\n<p>Equipment concerned:<\/p>\n<ul>\n<li><span class=\"marketAttr section_padding\" data-l1key=\"description\"><a href=\"http:\/\/jeedom.sigalou-domotique.fr\/sonoff-diy-mini\">Sonoff-DIY MINI<\/a> who slips behind an interruptor.<\/span><\/li>\n<li><a href=\"http:\/\/jeedom.sigalou-domotique.fr\/sonoff-diy-basic-r3\"><span class=\"marketAttr section_padding\" data-l1key=\"description\">Sonoff-DIY BasicR3<\/span><\/a><\/li>\n<li><a href=\"http:\/\/jeedom.sigalou-domotique.fr\/sonoff-diy-rf-r3\">Sonoff-DIY RF R3<\/a><\/li>\n<li><a href=\"http:\/\/jeedom.sigalou-domotique.fr\/sonoff-diy-rf-r3\">Sonoff-DIY D1 <\/a><\/li>\n<\/ul>\n<p><em><a href=\"http:\/\/developers.sonoff.tech\/sonoff-diy-mode-api-protocol.html#Supported-Device\">http:\/\/developers.sonoff.tech\/sonoff-diy-mode-api-protocol.html#Supported-Device<\/a><\/em><\/p>\n<table>\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-303\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/01\/AR1057-Sonoff-R3-Basico.jpg\" alt=\"AR1057 Sonoff R3 Basico\" width=\"150\" height=\"150\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/01\/AR1057-Sonoff-R3-Basico.jpg 800w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/01\/AR1057-Sonoff-R3-Basico-300x300.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/01\/AR1057-Sonoff-R3-Basico-100x100.jpg 100w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/01\/AR1057-Sonoff-R3-Basico-600x600.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/01\/AR1057-Sonoff-R3-Basico-150x150.jpg 150w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/01\/AR1057-Sonoff-R3-Basico-768x768.jpg 768w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/td>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-305\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/01\/images.jpg\" alt=\"images\" width=\"150\" height=\"150\" 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: 150px) 100vw, 150px\" \/><\/td>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-301\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/01\/sonoff-rfr3-may-2019.jpg\" alt=\"sonoff rfr3 may 2019\" width=\"220\" height=\"150\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/01\/sonoff-rfr3-may-2019.jpg 750w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/01\/sonoff-rfr3-may-2019-600x410.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/01\/sonoff-rfr3-may-2019-300x205.jpg 300w\" sizes=\"auto, (max-width: 220px) 100vw, 220px\" \/><\/td>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-377\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/d1.png\" alt=\"d1\" width=\"150\" height=\"150\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/d1.png 450w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/d1-300x300.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/d1-100x100.png 100w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/d1-150x150.png 150w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>.<\/p>\n<p>The update in Ewelink of your Sonoff DIY equipment will cause a need to reprogram the DIY mode, this tutorial is there for you.<\/p>\n<p>At the time of writing, the Sonoff documentation is not complete (for me) , cf. references while in case of this tutorial, I did a lot of testing to find this procedure.<\/p>\n<p>  <!--more-->  <\/p>\n<h1>Modes of operation of Sonoff DIY<\/h1>\n<p>For the record, the two modes of the DIY are depending on the rider.<\/p>\n<table>\n<tbody>\n<tr>\n<td>&nbsp;<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-293\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/12\/Sonoff_Mini_demontage.jpg\" alt=\"Sonoff Mini demontage\" width=\"150\" height=\"143\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/12\/Sonoff_Mini_demontage.jpg 807w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/12\/Sonoff_Mini_demontage-600x571.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/12\/Sonoff_Mini_demontage-300x286.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/12\/Sonoff_Mini_demontage-768x731.jpg 768w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/td>\n<td>&nbsp;<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-378\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffbasicr3diy2.jpg\" alt=\"sonoffbasicr3diy2\" width=\"150\" height=\"150\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffbasicr3diy2.jpg 2268w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffbasicr3diy2-300x300.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffbasicr3diy2-100x100.jpg 100w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffbasicr3diy2-600x600.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffbasicr3diy2-1024x1024.jpg 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffbasicr3diy2-150x150.jpg 150w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffbasicr3diy2-768x768.jpg 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffbasicr3diy2-1536x1536.jpg 1536w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffbasicr3diy2-2048x2048.jpg 2048w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffbasicr3diy2-1200x1200.jpg 1200w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffbasicr3diy2-1980x1980.jpg 1980w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul>\n<li>Rider absent = <strong>Ewelink mode<\/strong> (So in the cloud). An order goes through the internet. Sonoff-DIY Plugin not compatible, use EweJee Plugin<\/li>\n<li>Rider present = <strong>DIY mode<\/strong>, run on a local network (i.e. off-cloud). <span style=\"font-size: 12pt;\"><strong>Plugin <a href=\"http:\/\/jeedom.sigalou-domotique.fr\/plugin-sonoff-diy-documentation\">Sonoff-DIY<\/a> compatible<\/strong><\/span><\/li>\n<\/ul>\n<h1>Switch the Sonoff to DIY mode<\/h1>\n<p>Here are the steps, to follow, step by step \u2026<\/p>\n<p>Unplug the Sonoff from electricity.<\/p>\n<p>1. Put the rider<\/p>\n<p>2. Connecting the Sonoff to electricity, the blue LED will either blink continuously (short on, long off) if no SSID is in memory or blink (two short on, 1 long off) if the Sonoff connects to a Wi-Fi network<\/p>\n<p>3. Press the button for the first time to turn on the red LED<\/p>\n<p><span class=\"notranslate\" onmouseover=\"_tipon(this)\" onmouseout=\"_tipoff()\">4. Press and hold the button until the blue LED flashes: <em><strong>two shorts, one long<\/strong><\/em><\/span><\/p>\n<p><span class=\"notranslate\" onmouseover=\"_tipon(this)\" onmouseout=\"_tipoff()\">5. Press and hold the button again until the blue LED <em><strong>blinks continuously<\/strong><\/em><\/span><\/p>\n<p>6. Using a smartphone or a Wi-Fi computer, search for available Wi-Fi networks<\/p>\n<table border=\"2\">\n<tbody>\n<tr>\n<td>&nbsp; <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-379\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffdiy1.jpg\" alt=\"sonoffdiy1\" width=\"300\" height=\"178\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffdiy1.jpg 1080w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffdiy1-600x356.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffdiy1-300x178.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffdiy1-1024x607.jpg 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffdiy1-768x455.jpg 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>7. With a Wi-Fi computer or a smartphone, connect to the new access point: <em><strong><span class=\"notranslate\" onmouseover=\"_tipon(this)\" onmouseout=\"_tipoff()\">ITEAD - XXXX (<\/span><\/strong><span class=\"notranslate\" onmouseover=\"_tipon(this)\" onmouseout=\"_tipoff()\">password:<\/span><\/em><span class=\"notranslate\" onmouseover=\"_tipon(this)\" onmouseout=\"_tipoff()\"><\/span><em><strong><span class=\"notranslate\" onmouseover=\"_tipon(this)\" onmouseout=\"_tipoff()\"> 12345678)<br \/><\/span><\/strong><\/em><\/p>\n<p><span class=\"notranslate\" onmouseover=\"_tipon(this)\" onmouseout=\"_tipoff()\">8. Note XXXX for the plugin, <em>10008f7a3c in the example<\/em> corresponds to the module ID (useful for <a href=\"http:\/\/jeedom.sigalou-domotique.fr\/plugin-sonoff-diy-documentation\">Sonoff-DIY plugin<\/a>)<\/span><\/p>\n<p>9. Once connected to the access point, go to <span style=\"text-decoration: underline;\"><a href=\"http:\/\/10.10.7.1\/\">http:\/\/10.10.7.1\/ <\/a><\/span><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"http:\/\/10.10.7.1\/\">then enter your <strong>SSID<\/strong> and <strong>password<\/strong><\/a><\/span><\/p>\n<table border=\"2\">\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-380\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffdiy3.jpg\" alt=\"sonoffdiy3\" width=\"300\" height=\"306\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffdiy3.jpg 1077w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffdiy3-600x612.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffdiy3-294x300.jpg 294w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffdiy3-1004x1024.jpg 1004w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffdiy3-768x783.jpg 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/td>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-381\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffdiy2.jpg\" alt=\"sonoffdiy2\" width=\"300\" height=\"306\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffdiy2.jpg 1077w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffdiy2-600x612.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffdiy2-294x300.jpg 294w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffdiy2-1004x1024.jpg 1004w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/sonoffdiy2-768x783.jpg 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/>&nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>When you click on Save, the red LED must be cut off (we know that this is good, a reboot is carried out).<\/strong><\/p>\n<p><strong>If the Red Led does not cut, start again from the beginning.<\/strong><\/p>\n<h1>Note:<\/h1>\n<ul>\n<li>Your WiFi network must be 2.4Ghz, 5Ghz is not compatible<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-382\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/Screenshot_2020-04-05_Sonoff_Mini_doesnt_go_into_DIY_mode_with_3_5_0_update__Issue_75__itead_Sonoff_Devices_DIY_Tools.png\" alt=\"Screenshot 2020 04 05 Sonoff Mini doesnt go into DIY mode with 3 5 0 update Issue 75 itead Sonoff Devices DIY Tools\" width=\"811\" height=\"376\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/Screenshot_2020-04-05_Sonoff_Mini_doesnt_go_into_DIY_mode_with_3_5_0_update__Issue_75__itead_Sonoff_Devices_DIY_Tools.png 811w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/Screenshot_2020-04-05_Sonoff_Mini_doesnt_go_into_DIY_mode_with_3_5_0_update__Issue_75__itead_Sonoff_Devices_DIY_Tools-600x278.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/Screenshot_2020-04-05_Sonoff_Mini_doesnt_go_into_DIY_mode_with_3_5_0_update__Issue_75__itead_Sonoff_Devices_DIY_Tools-300x139.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/04\/Screenshot_2020-04-05_Sonoff_Mini_doesnt_go_into_DIY_mode_with_3_5_0_update__Issue_75__itead_Sonoff_Devices_DIY_Tools-768x356.png 768w\" sizes=\"auto, (max-width: 811px) 100vw, 811px\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>Depuis le 02 avril 2020, Sonoff vient de lancer Ewelink Firmware 3.5.0 et \u00e0 cette occasion, le protocole DIY passe de V1.4 en V2.0 Equipements concern\u00e9s : Sonoff-DIY MINI qui se glisse derri\u00e8re un int\u00e9rrupteur. Sonoff-DIY BasicR3 Sonoff-DIY RF R3 Sonoff-DIY D1 http:\/\/developers.sonoff.tech\/sonoff-diy-mode-api-protocol.html#Supported-Device . La mise \u00e0 jour dans Ewelink de vos \u00e9quipements Sonoff DIY [&hellip;]<\/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-383","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\/383","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=383"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/383\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media?parent=383"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/categories?post=383"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/tags?post=383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}