Hello everyone, I am trying out the esp32 on Home Assistant through the ESPHome add-on. However, I am facing issues truing to get it to set up initially.
I did discover it and installed it via USB cable connected to my laptop, yet it shows offline on the ESPHome tab in Home Assistant. This is the log I get from it.
Linking .pioenvs/esphome-web-a2a844/firmware.elf
RAM: [= ] 12.4% (used 40616 bytes from 327680 bytes)
Flash: [===== ] 49.1% (used 900197 bytes from 1835008 bytes)
Building .pioenvs/esphome-web-a2a844/firmware.bin
Creating esp32 image...
Successfully created esp32 image.
esp32_create_combined_bin([".pioenvs/esphome-web-a2a844/firmware.bin"], [".pioenvs/esphome-web-a2a844/firmware.elf"])
Wrote 0xed2f0 bytes to file /data/build/esphome-web-a2a844/.pioenvs/esphome-web-a2a844/firmware-factory.bin, ready to flash to offset 0x0
======================== [SUCCESS] Took 129.88 seconds ========================
INFO Successfully compiled program.
INFO Resolving IP address of esphome-web-a2a844.local
INFO -> 192.xxx.x.xx
INFO Uploading /data/build/esphome-web-a2a844/.pioenvs/esphome-web-a2a844/firmware.bin (905968 bytes)
Uploading: [============================================================] 100% Done...
INFO Upload took 10.82 seconds, waiting for result...
INFO OTA successful
INFO Successfully uploaded program.
INFO Starting log output from esphome-web-a2a844.local using esphome API
WARNING Can't connect to ESPHome API for esphome-web-a2a844.local: Timeout while connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='192.xxx.x.xx', port=6053))] (TimeoutAPIError)
INFO Trying to connect to esphome-web-a2a844.local in the background
Going to the web UI for ESPHome, these are the logs from it below. It seems as if the esp32 chip is not connected to the wifi but my router shows it as a connected device.
I kindly need assistant as I am new to the Home Assistant platform. Thanks.