{"id":2587,"date":"2022-01-10T22:03:10","date_gmt":"2022-01-10T20:03:10","guid":{"rendered":"http:\/\/jeedom.sigalou-domotique.fr\/?p=2587"},"modified":"2025-02-09T12:54:08","modified_gmt":"2025-02-09T10:54:08","slug":"flasher-un-d1-mini","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/en\/flasher-un-d1-mini","title":{"rendered":"Flashing a D1 Mini"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-2588\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-10-at-19-45-47-ESP8266-D1-Mini-V2-ESP-12F-WiFi-Module-ProtoSupplies.png\" alt=\"\" width=\"437\" height=\"287\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-10-at-19-45-47-ESP8266-D1-Mini-V2-ESP-12F-WiFi-Module-ProtoSupplies.png 794w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-10-at-19-45-47-ESP8266-D1-Mini-V2-ESP-12F-WiFi-Module-ProtoSupplies-600x394.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-10-at-19-45-47-ESP8266-D1-Mini-V2-ESP-12F-WiFi-Module-ProtoSupplies-300x197.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-10-at-19-45-47-ESP8266-D1-Mini-V2-ESP-12F-WiFi-Module-ProtoSupplies-768x504.png 768w\" sizes=\"auto, (max-width: 437px) 100vw, 437px\" \/><\/p>\n<p><!--more-->To Flash a D1 Mini with ESP Easy, you need<\/p>\n<ul>\n<li>A D1 Mini<\/li>\n<li>Micro-B USB \u2013 USB cable (a real one, not a first-price charger cable)<\/li>\n<li>The bin file of the latest version of ESP Easy (as ESP_Easy_mega_xxxxxxxx_normal_ESP8266_4M1M.bin)<\/li>\n<li>The FlashESP8266.exe executable<\/li>\n<li>A computer<\/li>\n<li>25 seconds<\/li>\n<\/ul>\n<p><em>Important, since the writing of this tutorial, a <a href=\"https:\/\/www.sigalou-domotique.fr\/en\/materielavendre\/\" target=\"_blank\" rel=\"noopener\">New D1 Mini V4<\/a> is out!!<\/em><\/p>\n<h4>ESP Easy<\/h4>\n<ul>\n<li>Go to the downloads page take the latest version of ESPEasy_ESP82xx_mega-xxxxxxxx<\/li>\n<li>Unzip archive<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2591\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/esp.png\" alt=\"\" width=\"412\" height=\"276\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/esp.png 412w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/esp-300x201.png 300w\" sizes=\"auto, (max-width: 412px) 100vw, 412px\" \/><\/p>\n<p>Go to the bin folder look for the ESP_Easy_mega_xxxxxx_normal_ESP8266_4M1M.bin file and put it in the same folder as the FlasshESP8266.exe file<\/p>\n<p>Connect the D1 Mini to its USB cable and connect it to the PC, a COM port is detected.<\/p>\n<p>Launch <strong>FlashESP8266<\/strong>, the port is detected, select the bin file and launch the Flash<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2592\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/esp2.png\" alt=\"\" width=\"396\" height=\"207\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/esp2.png 396w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/esp2-300x157.png 300w\" sizes=\"auto, (max-width: 396px) 100vw, 396px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2594\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/esp3-1.png\" alt=\"\" width=\"812\" height=\"477\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/esp3-1.png 812w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/esp3-1-600x352.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/esp3-1-300x176.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/esp3-1-768x451.png 768w\" sizes=\"auto, (max-width: 812px) 100vw, 812px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2565\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/flash4.png\" alt=\"\" width=\"130\" height=\"135\" \/><\/p>\n<p>Relaunch the D1Mini and start the Wi-Fi connection procedure<\/p>\n<h4>Wifi connection<\/h4>\n<p>Launch WiFi detection on the smarphone<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-2596\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/wifi1.png\" alt=\"\" width=\"324\" height=\"232\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/wifi1.png 1080w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/wifi1-600x430.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/wifi1-300x215.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/wifi1-1024x734.png 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/wifi1-768x550.png 768w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/><\/p>\n<ul>\n<li>Select ESP-Easy, to your surprise, there is no password in this version, if you ask, you have to enter it <strong>configesp<\/strong><\/li>\n<li>Launch the smarphone browser and go (for this version) to 192.168.4.1<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-2597\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220110-191419_Samsung-Internet.jpg\" alt=\"\" width=\"283\" height=\"338\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220110-191419_Samsung-Internet.jpg 1080w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220110-191419_Samsung-Internet-600x717.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220110-191419_Samsung-Internet-251x300.jpg 251w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220110-191419_Samsung-Internet-857x1024.jpg 857w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220110-191419_Samsung-Internet-768x917.jpg 768w\" sizes=\"auto, (max-width: 283px) 100vw, 283px\" \/><\/p>\n<ul>\n<li>Select the correct Wifi and add the password, validate, after a while, the Wifi will reconnect and the configuration will appear<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-2598\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220110-191636_Samsung-Internet.jpg\" alt=\"\" width=\"286\" height=\"362\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220110-191636_Samsung-Internet.jpg 1080w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220110-191636_Samsung-Internet-600x760.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220110-191636_Samsung-Internet-237x300.jpg 237w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220110-191636_Samsung-Internet-808x1024.jpg 808w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220110-191636_Samsung-Internet-768x973.jpg 768w\" sizes=\"auto, (max-width: 286px) 100vw, 286px\" \/><\/p>\n<p>Here in this example, we see that the DHCP assigned it the IP 192.168.1.60, I like to store the equipment in the router, so I will assign it an IP<\/p>\n<h4>Assigning an IP to the router (optional)<\/h4>\n<p>I find the equipment in the list of DHCP leases<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2599\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-10-at-19-16-41-Synology-Router-SynologyRouter.png\" alt=\"\" width=\"915\" height=\"31\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-10-at-19-16-41-Synology-Router-SynologyRouter.png 915w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-10-at-19-16-41-Synology-Router-SynologyRouter-600x20.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-10-at-19-16-41-Synology-Router-SynologyRouter-300x10.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-10-at-19-16-41-Synology-Router-SynologyRouter-768x26.png 768w\" sizes=\"auto, (max-width: 915px) 100vw, 915px\" \/><\/p>\n<p>I change the IP and give it a name, here it is in <strong>192.168.1.230<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2600\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-10-at-19-17-55-Synology-Router-SynologyRouter.png\" alt=\"\" width=\"759\" height=\"146\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-10-at-19-17-55-Synology-Router-SynologyRouter.png 759w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-10-at-19-17-55-Synology-Router-SynologyRouter-600x115.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-10-at-19-17-55-Synology-Router-SynologyRouter-300x58.png 300w\" sizes=\"auto, (max-width: 759px) 100vw, 759px\" \/><\/p>\n<h4>Integration of D1Mini in Jeedom<\/h4>\n<p>Once ESP Easy is installed, whether it is a D1Mini of a Sonoff or any other equipment accepting ESP Easy, the procedure is the same. <a href=\"http:\/\/jeedom.sigalou-domotique.fr\/flash-sonoff-reseau-wifi-flashage\">this Tuto<\/a> will therefore give all the information to connect the D1 mini to Jeedom<\/p>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14,23],"tags":[],"class_list":["post-2587","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\/2587","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=2587"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/2587\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media?parent=2587"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/categories?post=2587"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/tags?post=2587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}