I am trying to add a Nodemcu to Home assistant using Esphome(1.153) , my HA runs as a virtual machine on an ESX server.
following the Wizard I get to the point of selecting the port and only OTA port is available, so that’s fine, (this i think because there are no usb device mapped to the virtual machine) so I compile the code and download.
but all I get is an empty “download test” and a message “failed-No file”, ok so the next plan was to look at the config location"\config\esphome\nodemcu1" but i don’t see any binary file .
Any idea where I can find the .bin file or maybe, I am doing something wrong /?
Hi
The log is as below, but i don’t have " /.pioenvs" folder , i am viewing this with “hidden file option show”
Building /data/nodemcu1/.pioenvs/nodemcu1/firmware.bin
Creating BIN file “/data/nodemcu1/.pioenvs/nodemcu1/firmware.bin” using “/root/.platformio/packages/framework-arduinoespressif8266/bootloaders/eboot/eboot.elf” and “/data/nodemcu1/.pioenvs/nodemcu1/firmware.elf”
Retrieving maximum program size /data/nodemcu1/.pioenvs/nodemcu1/firmware.elf
ERROR Error resolving IP address: Error resolving address with mDNS: Did not respond. Maybe the device is offline., [Errno -5] No address associated with hostname
It seems that you are using the upload button. To compile and download .bin file there is a compile function in esphome which will compile and download file to the PC from which you access HA. It is available in the settings menu. Check this image.