As discussed on twitter re: Wemos D1 Mini Support
Here is the information that you requested from the output of
esptool.py --port /dev/ttyUSB0 flash_id
Detecting chip type... ESP8266
Chip is ESP8266EX
Manufacturer: 20
Device: 4016
Detected flash size: 4MB
Cheers
Les