From 69c33ee86ee6fe0dc905fc90bdaa6f51abdd0186 Mon Sep 17 00:00:00 2001 From: Jason2866 Date: Fri, 14 Jun 2019 15:44:26 +0200 Subject: [PATCH] Updated Wemos D1 Mini (markdown) --- Wemos-D1-Mini.md | 44 ++------------------------------------------ 1 file changed, 2 insertions(+), 42 deletions(-) diff --git a/Wemos-D1-Mini.md b/Wemos-D1-Mini.md index 4a0088b8..a3d0a7aa 100644 --- a/Wemos-D1-Mini.md +++ b/Wemos-D1-Mini.md @@ -4,48 +4,8 @@ # Flashing Wemos with Tasmota -## Using PlatformIO - -Follow [these](PlatformIO) steps to flash a Wemos D1 Mini with Tasmota firmware and add the following lines at the end of platformio.ini: - -``` -[env:wemos-d1-mini] -platform = espressif8266 -framework = arduino -board = esp01_1m -board_build.flash_mode = dout -build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=1000 -lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON -extra_scripts = pio/strip-floats.py - -; *** Serial Monitor options -monitor_speed = 115200 - -; *** Upload Serial reset method for Wemos and NodeMCU -upload_resetmethod = nodemcu -upload_speed = 115200 -;upload_port = COM6 - -; *** Upload file to OTA server using SCP -;upload_port = user@host:/path -;extra_scripts = pio/strip-floats.py, pio/sftp-uploader.py - -; *** Upload file to OTA server using HTTP -;upload_port = domus1:80/api/upload-arduino.php -;extra_scripts = pio/strip-floats.py, pio/http-uploader.py -``` - -From the Menu -> PlatformIO -> Run Other Target... (F7) and choose PIO Upload (wemos-d1-mini), this compiles tasmota and uploads the firmware to the Wemos device connected to usb. - - - -## Using esptool.py - -1. Install [esptool.py](https://github.com/espressif/esptool) (instructions for 2.6+) -1. Hold the button for 10s while connecting the D1's USB port to the PC (or RaspberryPi). This will power the D1 and make the serial connection -2. Verify the connection by running `./esptool.py --port /dev/ttyUSB0 read_mac` -3. Download [sonoff.bin](https://github.com/arendst/Sonoff-Tasmota/releases) -3. Erase + Write the new flash by running: `./esptool.py --port /dev/ttyUSB0 write_flash --erase-all -fm dout 0x0 /path/to/downloaded/sonoff.bin` +Flashing a Wemos D1 Mini with Tasmota firmware is nearly the same as for every other device.
+Just connect Wemos D1 mini via USB. No action required to enter Flashmode! # Configure Tasmota for Wemos ## Generic Module