Wemos D1 Mini: Difference between revisions

From wikipost
Jump to navigation Jump to search
No edit summary
No edit summary
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 -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 will broadcast a WLAN captive portal. Set the SSID and password, reboot and
connect to the 'tasmota-2323' (or whatever number you saw) website (http://tasmota-2323/)
connect to the 'tasmota-2323' (or whatever number you saw) website (http://tasmota-2323/)



Revision as of 01:51, 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 -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 connect to the 'tasmota-2323' (or whatever number you saw) website (http://tasmota-2323/)


  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.