From LedHed's Wiki
Jump to: navigation, search

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

  1. Download and install the Arduino IDE
  2. Tools->Board->Board Manager
  3. Install ESP8266
  4. Download Tasmota
  5. Copy the contents of the lib\ directory to %PROGRAMFILES(X86)%\libraries\
  6. Copy the arduino\version 2.4.2\platform.txt %USERPROFILE%\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.2\
  7. Launch the Arduino IDE
  8. Tools->Board->'LOLIN(WEMOS) D1 mini Lite'
  9. Open sonoff\sonoff.ino
  10. Go to the user_config.h
  11. 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)
  12. Save your changes [CTRL+S] of File->Save
  13. 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.