amadeus84 wrote:Using esp-12 (4Mbit = 512kB version). These were bought sometime in 2015
That sounds wrong or at least suspicious. ESP-12 have 4MB flash memory. If you're uncertain about the module have a look at wiki/doku.php?id=esp8266-module-family.
As per http://nodemcu.readthedocs.io/en/latest ... g-firmware the right command is this:
esptool.py --port /dev/ttyUSB0 write_flash -fm dio -fs 32m 0x00000 <nodemcu-firmware>.bin 0x3fc000 esp_init_data_default.bin
To make sure you have a proper firmware binary I suggest you use the cloud builder or the Docker image for starters. If this works you can still resort to building the firmware yourself.