Cmd Error on Arduino Mega + Esp8266

No, the Wemos should be used as a stand-alone device to replace both the Arduino Uno/Mega and the ESP-01. Read this…

Pete