{"id":2894,"date":"2022-01-31T22:46:34","date_gmt":"2022-01-31T20:46:34","guid":{"rendered":"http:\/\/jeedom.sigalou-domotique.fr\/?p=2894"},"modified":"2024-04-21T13:05:03","modified_gmt":"2024-04-21T11:05:03","slug":"flasher-le-sonoff-basic-r3-avec-esp-easy","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/en\/flasher-le-sonoff-basic-r3-avec-esp-easy","title":{"rendered":"Flash the Sonoff Basic R3 (with ESP Easy)"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-2897\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/sonoffr3basicflash.jpg\" alt=\"\" width=\"569\" height=\"261\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/sonoffr3basicflash.jpg 1000w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/sonoffr3basicflash-600x275.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/sonoffr3basicflash-300x137.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/sonoffr3basicflash-768x352.jpg 768w\" sizes=\"auto, (max-width: 569px) 100vw, 569px\" \/><\/p>\n<p><!--more--><\/p>\n<h2>Prepare the circuit board by welding male connectors:<\/h2>\n<p>Welding the classics <a href=\"http:\/\/jeedom.sigalou-domotique.fr\/connecteurs-broches-au-pas-de-2-54mm-classique-circuit-imprime\">2.54mm connectors<\/a> on the Sonoff\u2019s printed circuit board, this model does not allow access under the printed circuit board, I slightly curved the connector to weld on top (each its technique)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-2898\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/connecteurs-1.png\" alt=\"\" width=\"269\" height=\"256\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/connecteurs-1.png 1371w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/connecteurs-1-600x570.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/connecteurs-1-300x285.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/connecteurs-1-1024x972.png 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/connecteurs-1-768x729.png 768w\" sizes=\"auto, (max-width: 269px) 100vw, 269px\" \/><\/p>\n<h2>Prepare the FTDI232 before connecting it to the computer<\/h2>\n<p>The FTDI232 will allow your computer to chat via a serial port with the Sonoff.<\/p>\n<p>To connect the Sonoff to the FTDI232, it is simple, connect Rx on Rx, Tx on Tx Gnd on Gnd and 3v3 on 3v3<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2899\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-31-at-21-20-31-Flashing-Sonoff-Basic-R3-\u00b7-Issue-5921-\u00b7-arendst-Tasmota.png\" alt=\"\" width=\"456\" height=\"366\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-31-at-21-20-31-Flashing-Sonoff-Basic-R3-\u00b7-Issue-5921-\u00b7-arendst-Tasmota.png 456w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-31-at-21-20-31-Flashing-Sonoff-Basic-R3-\u00b7-Issue-5921-\u00b7-arendst-Tasmota-300x241.png 300w\" sizes=\"auto, (max-width: 456px) 100vw, 456px\" \/><\/p>\n<p>(image from https:\/\/github.com\/arendst\/Tasmota\/issues\/5921)<\/p>\n<h2>Prepare Flashing Software<\/h2>\n<p><strong>Be careful, this Sonoff is equipped with an ESP 8285 and not an ESP 8286 like most Sonoffs.<br \/>\n<\/strong><\/p>\n<p>Download page for the latest version of ESPEasy:<\/p>\n<p><a href=\"https:\/\/github.com\/letscontrolit\/ESPEasy\/releases\">https:\/\/github.com\/letscontrolit\/ESPEasy\/releases<\/a><\/p>\n<ul>\n<li>\u00a0Save the ZIP file, unzip it in a folder and in that folder, launch <strong>FlashESP8266<\/strong>, Select the port of the FTDI232 and the file Easyxxx_normal_ESP8285_1024.bin and launch the Flash, taking care to feed the Sonoff into programming mode.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2900\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/espeasy.png\" alt=\"\" width=\"699\" height=\"234\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/espeasy.png 699w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/espeasy-600x201.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/espeasy-300x100.png 300w\" sizes=\"auto, (max-width: 699px) 100vw, 699px\" \/><\/p>\n<p>Reminder, to put it in programming mode:<\/p>\n<ul>\n<li>Press the black button (this glue GPIO0)<\/li>\n<li>Connect the FDTI232 to the USB port of the computer<\/li>\n<li>You are in programming mode (no LEDs need to be switched on until then, otherwise you have to start again).<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2901\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/flash.png\" alt=\"\" width=\"399\" height=\"209\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/flash.png 399w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/flash-300x157.png 300w\" sizes=\"auto, (max-width: 399px) 100vw, 399px\" \/><\/p>\n<h2>Once the Sonoff is flashed, it must be connected to the WIFI network<\/h2>\n<p>For this, as the procedure is identical to all Sonoffs, you can look at this article: <a href=\"http:\/\/jeedom.sigalou-domotique.fr\/flash-sonoff-reseau-wifi-flashage\">After Flashing, connect a Sonoff to the WIFI network and link to Jeedom<\/a><\/p>\n<h2>Practical application:<\/h2>\n<ul>\n<li class=\"entry-title\"><a href=\"http:\/\/jeedom.sigalou-domotique.fr\/domotiser-son-chauffage-de-salle-de-bains-controle-par-jeedom-v2-avec-basicr3\">Dominate your bathroom heating controlled by Jeedom V2 (with a Basic R3)<\/a><\/li>\n<\/ul>\n<h2><\/h2>","protected":false},"excerpt":{"rendered":"","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":[81,61],"class_list":["post-2894","post","type-post","status-publish","format-standard","hentry","category-domotique","tag-developpement","tag-esp"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/2894","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=2894"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/2894\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media?parent=2894"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/categories?post=2894"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/tags?post=2894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}