Wemos D1 Mini: Difference between revisions

From wikipost
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
If you're insterested in just putting Tasmota on a Wemos D1 mini, use esptool.py and upload tasmota.bin straight onto it
If you're insterested in just putting Tasmota on a Wemos D1 mini, use esptool.py and upload tasmota.bin straight onto it


Do NOT use the debian apt version of esptool, but grab it from github or pip


Do NOT use the debian apt version of esptool, but grab it from github or pip


apt-get install pip (or python3-pip)
apt-get install pip (or python3-pip)
pip install esptool (or pip3 install esptool)
pip install esptool (or pip3 install esptool)
Line 15: Line 12:
apt-get install git
apt-get install git
git clone https://github.com/espressif/esptool.git
git clone https://github.com/espressif/esptool.git



to upgrade pip: pip install --upgrade pip
to upgrade pip: pip install --upgrade pip




Grab the latest Tasmota.bin from the developer's website: https://tasmota.github.io/docs/Download/
esptool.py --port /dev/ttyUSB0 write_flash -fm dout 0x0 tasmota_8.1.0.bin

Then just connect the board to the computer with a USB cable (no need to do anything with reset buttons or jumper leads etc..)

Command to flash tasmota onto the esp8266:

esptool.py --port /dev/ttyUSB0 write_flash -fs 1M -fm dout 0x0 tasmota_8.1.0.bin



after uploading the firmware the Wemos D1 mini will broadcast a WLAN captive portal. Set the SSID and password, reboot and
After uploading the firmware the Wemos D1 mini, simply unplug the USB and re-insert it. After about 10 seconds, the Wemos D1 mini will broadcast a WLAN captive portal. Click on the SSID to connect to it and open a browser to navigate to the tasmota page (it will load automatically). Once tasmota is loaded in the browser set the local WiFi credentials you wish to connect to and let it reboot.
connect to the 'tasmota-2323' (or whatever number you saw) website (http://tasmota-2323/)





Latest revision as of 01:55, 20 December 2021

How to load Tasmota on the Wemos D1 Mini


If you're insterested in just putting Tasmota on a Wemos D1 mini, use esptool.py and upload tasmota.bin straight onto it

Do NOT use the debian apt version of esptool, but grab it from github or pip


   apt-get install pip  (or python3-pip)
   pip install esptool  (or pip3 install esptool)
   apt-get install git
   git clone https://github.com/espressif/esptool.git
   to upgrade pip:   pip install --upgrade pip


Grab the latest Tasmota.bin from the developer's website: https://tasmota.github.io/docs/Download/

Then just connect the board to the computer with a USB cable (no need to do anything with reset buttons or jumper leads etc..)

Command to flash tasmota onto the esp8266:

 esptool.py --port /dev/ttyUSB0 write_flash -fs 1M -fm dout 0x0 tasmota_8.1.0.bin


After uploading the firmware the Wemos D1 mini, simply unplug the USB and re-insert it. After about 10 seconds, the Wemos D1 mini will broadcast a WLAN captive portal. Click on the SSID to connect to it and open a browser to navigate to the tasmota page (it will load automatically). Once tasmota is loaded in the browser set the local WiFi credentials you wish to connect to and let it reboot.


  If your device doesn't show up in your router's DHCP table, it may still be in 
  'captive portal' mode and it will advertise its own WLAN. Connect to that and it will 
  take you straight to the internal running tasmota web server. Configure your wifi
  credentials and reboot. Then set up your mqtt settings.