From LedHed's Wiki
https://wiki.wemos.cc/products:d1:d1_mini_lite
https://github.com/arendst/Sonoff-Tasmota/wiki/Wemos%20D1%20Mini
Specs
Chipset: ESP-8285
CPU: 80MHz
Flash: 1M
USB/Serial: CH340
Voltage: 3.3v
Arduino IDE Setup
- Download and install the Arduino IDE
- Tools->Board->Board Manager
- Install ESP8266
- Download Tasmota
- Copy the contents of the lib\ directory to %PROGRAMFILES(X86)%\libraries\
- Copy the arduino\version 2.4.2\platform.txt %USERPROFILE%\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.2\
- Launch the Arduino IDE
- Tools->Board->'LOLIN(WEMOS) D1 mini Lite'
- Open sonoff\sonoff.ino
- Go to the user_config.h
- Change WIFI_CONFIG_NO_SSID from WIFI_WPSCONFIG to WIFI_MANAGER (This step is optional, but causes the WEMOS to go into AP mode so you can connect to it with your phone and configure your WiFi settings)
- Save your changes [CTRL+S] of File->Save
- Upload the sketch [CTRL+U] or Sketch->Upload
WiFi Setup
Using a phone or laptop, connect to the sonoff-???? SSID (where ???? happens to be the last 4 of the WEMOS MAC address). Then enter your WiFi network's SSID and Passphrase. Look up the IP assigned by your DCHP server (hint use those last 4 characters of sonoff-????). You can connect to the WEMOS by opening a browser and navigating to that IP.