{"id":3483,"date":"2023-02-11T18:48:37","date_gmt":"2023-02-11T16:48:37","guid":{"rendered":"https:\/\/www.sigalou-domotique.fr\/?p=3483"},"modified":"2023-05-21T13:17:03","modified_gmt":"2023-05-21T11:17:03","slug":"flasher-le-nouveau-sonoff-pow-origin","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/en\/flasher-le-nouveau-sonoff-pow-origin","title":{"rendered":"Flash the new Sonoff POW Origin"},"content":{"rendered":"<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p>This is Sonoff\u2019s new ESP32-equipped equipment. I ordered the <a href=\"https:\/\/s.click.aliexpress.com\/e\/_DnLY2Od\" target=\"_blank\" rel=\"noopener\">POW version, within 16\u20ac<\/a>, received in a few days, it looks like this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3487\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/sonoffpoworigin.png\" alt=\"\" width=\"926\" height=\"555\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/sonoffpoworigin.png 926w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/sonoffpoworigin-600x360.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/sonoffpoworigin-300x180.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/sonoffpoworigin-768x460.png 768w\" sizes=\"auto, (max-width: 926px) 100vw, 926px\" \/><\/p>\n<p><!--more-->This version is not DIY so I cannot use the plugin <a href=\"https:\/\/www.sigalou-domotique.fr\/en\/plugin-sonoff-diy-documentation\/\">SonoffDIY<\/a>. So I'll flash it to install it <a href=\"https:\/\/espeasy.readthedocs.io\/en\/latest\/\" target=\"_blank\" rel=\"noopener\">ESP Easy<\/a>.<\/p>\n<p>To date, as the module is recent, I have not found a tutorial or video that explains the flashing, so I search for myself and put online, over the course of time, my method.<\/p>\n<h3>Dismantling of equipment<\/h3>\n<p>I am looking for the classic Sonoff equipment pins:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3488\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/sonoffpow.jpg\" alt=\"\" width=\"965\" height=\"664\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/sonoffpow.jpg 965w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/sonoffpow-600x413.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/sonoffpow-300x206.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/sonoffpow-768x528.jpg 768w\" sizes=\"auto, (max-width: 965px) 100vw, 965px\" \/><\/p>\n<p>They are at the top of the module:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3489\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/sonoffpow2.jpg\" alt=\"\" width=\"380\" height=\"182\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/sonoffpow2.jpg 380w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/sonoffpow2-300x144.jpg 300w\" sizes=\"auto, (max-width: 380px) 100vw, 380px\" \/><\/p>\n<p>I connect a FTDI232 to the Sonoff:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3490\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/sonoffpoworiginlien.png\" alt=\"\" width=\"1008\" height=\"756\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/sonoffpoworiginlien.png 1008w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/sonoffpoworiginlien-600x450.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/sonoffpoworiginlien-300x225.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/sonoffpoworiginlien-768x576.png 768w\" sizes=\"auto, (max-width: 1008px) 100vw, 1008px\" \/><\/p>\n<p>For some reason, the<a href=\"https:\/\/www.sigalou-domotique.fr\/en\/flasher-le-sonoff-basic-r3-avec-esp-easy\/\">installation<\/a> with the classic FlashESP8266.exe file did not work.<\/p>\n<p>I flashed the module via a technique I did not know, i.e. with the browser, here is the link I used:<\/p>\n<p><a href=\"https:\/\/td-er.nl\/ESPEasy\/\" target=\"_blank\" rel=\"noopener\">https:\/\/td-er.nl\/ESPEasy\/<\/a><\/p>\n<p>For the record, the latest versions of ESP Easy are on <a href=\"https:\/\/github.com\/letscontrolit\/ESPEasy\/releases\" target=\"_blank\" rel=\"noopener\">this page<\/a>.<\/p>\n<h3>Installation via the browser<\/h3>\n<p>I followed the procedure (quite simply), I took the \u2018energy\u2019 version since the Pow has control over consumption. The CSE7766 Plugin is required.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3491\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/flash23-00.png\" alt=\"\" width=\"859\" height=\"195\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/flash23-00.png 859w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/flash23-00-600x136.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/flash23-00-300x68.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/flash23-00-768x174.png 768w\" sizes=\"auto, (max-width: 859px) 100vw, 859px\" \/><\/p>\n<p><strong>Thinking<\/strong> press the button on the Sonoff to put it into programming mode when it is connected to the USB of the FTDI232\u00a0<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3492\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/flash23-000.png\" alt=\"\" width=\"463\" height=\"445\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/flash23-000.png 463w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/flash23-000-300x288.png 300w\" sizes=\"auto, (max-width: 463px) 100vw, 463px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3493\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/flash23-0.png\" alt=\"\" width=\"431\" height=\"180\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/flash23-0.png 431w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/flash23-0-300x125.png 300w\" sizes=\"auto, (max-width: 431px) 100vw, 431px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3494\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/flash23-22.png\" alt=\"\" width=\"422\" height=\"283\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/flash23-22.png 422w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/flash23-22-300x201.png 300w\" sizes=\"auto, (max-width: 422px) 100vw, 422px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3496\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/flash23-01.png\" alt=\"\" width=\"300\" height=\"229\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3495\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/flash23-1.png\" alt=\"\" width=\"416\" height=\"311\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/flash23-1.png 416w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/flash23-1-300x224.png 300w\" sizes=\"auto, (max-width: 416px) 100vw, 416px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3497\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/flash23-3.png\" alt=\"\" width=\"303\" height=\"215\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/flash23-3.png 303w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/flash23-3-300x213.png 300w\" sizes=\"auto, (max-width: 303px) 100vw, 303px\" \/><\/p>\n<h3>Wifi connection<\/h3>\n<p>Once the flash is finished, you can restart the module, wait for it to create an internet access point, it is called \u2018Energy\u2019, connect to it (with a mobile phone for example) and then launch a browser, go to 192.168.4.1 and enter the Wifi and its password and then restart.<\/p>\n<p>I pass quickly because all this is already detailed on other tutorials on this blog.<\/p>\n<h3>Adding Devices and Tests<\/h3>\n<p>I do tests, the button, the leds and the relay work well, like all Sonoff modules.<\/p>\n<p>Here are the correspondences:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3498\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/gpio.png\" alt=\"\" width=\"152\" height=\"371\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/gpio.png 152w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/gpio-123x300.png 123w\" sizes=\"auto, (max-width: 152px) 100vw, 152px\" \/><\/p>\n<ul>\n<li><a href=\"https:\/\/templates.blakadder.com\/sonoff_POWR316.html\" target=\"_blank\" rel=\"noopener\"><em>source<\/em><\/a><\/li>\n<\/ul>\n<p>I have a problem with the CSE7766 plugin, the version delivered with the ESP Easy version of 24-12-2022 does not allow to adjust the information retrieval routes.<\/p>\n<p>After a lot of research and dialogue with the developers of the plugin, they have just integrated it into a pre-release that I offer you:\u00a0<a href=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/02\/ESP_Easy_mega_20230211_energy_ESP32_4M316k.zip\" target=\"_blank\" rel=\"noopener\">ESP_Easy_mega_20230211_energy_ESP32_4M316k<\/a><\/p>\n<p>To do the update, I did it in the simplest way, I did it in the ESP Easy configuration, it happened the first time.<\/p>\n<p>It is done, the information of conso goes back.<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>","protected":false},"excerpt":{"rendered":"<p>Here is Sonoff\u2019s new ESP32-equipped equipment. I ordered the POW version, within \u20ac16, received in a few days, it looks like this:<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14],"tags":[],"class_list":["post-3483","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\/3483","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=3483"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/3483\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media?parent=3483"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/categories?post=3483"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/tags?post=3483"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}