Help with ESPHome

hi guys a bit of help with Esphome for a Newbee

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 /?

cheers

Please share the logs from your compile. It would be helpful

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

Checking size /data/nodemcu1/.pioenvs/nodemcu1/firmware.elf

RAM: [==== ] 44.4% (used 36348 bytes from 81920 bytes)

Flash: [==== ] 37.2% (used 388732 bytes from 1044464 bytes)

======================== [ SUCCESS ] Took 172.84 seconds ========================

INFO Successfully compiled program.

INFO Resolving IP address of nodemcu1.local

ERROR Error resolving IP address of nodemcu1.local. Is it connected to WiFi?

ERROR (If this error persists, please set a static IP address: https://esphome.io/components/wifi.html#manual-ips)

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.

hi
its working after a reboot of HA
now to make the graph a little better
cheers