Hi there, I just got my ESP32 and wanted to get going but am allready failing at starting ESPHome on HA.
I installed the latest version 2024.3.1
and restarted HA. After that I tried to start add on but and in the beginning it always showed me that its not ready yet and asked me to retry. Confirmed a couple of times but did not change anything. After another restart and some more waiting it seemed to have started but I keep getting
502: Bad Gateway
and again the ask to try again.
I dont know if there are special logs for add ons but in the normal logs I could find:
2024-04-04 21:33:32.940 ERROR (MainThread) [homeassistant.components.esphome.dashboard] Error requesting ESPHome Dashboard data: Cannot connect to host 127.0.0.1:62336 ssl:default [Connect call failed ('127.0.0.1', 62336)]
2024-04-04 21:33:32.941 ERROR (MainThread) [homeassistant.components.esphome.dashboard] Dashboard unavailable; skipping reauth: Cannot connect to host 127.0.0.1:62336 ssl:default [Connect call failed ('127.0.0.1', 62336)]
2024-04-04 21:38:40.531 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /addons/5c53de3b_esphome/start - Another job is running for job group addon_5c53de3b_esphome
2024-04-04 21:38:52.538 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /addons/5c53de3b_esphome/uninstall - Another job is running for job group addon_5c53de3b_esphome
2024-04-04 21:39:08.208 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /addons/5c53de3b_esphome/uninstall - Another job is running for job group addon_5c53de3b_esphome
2024-04-04 21:41:23.042 WARNING (MainThread) [bluetooth_auto_recovery.recover] Could not reset the power state of the Bluetooth adapter hci0 [B8:27:EB:36:65:3F] due to timeout after 5 seconds
2024-04-04 21:58:52.214 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /addons/5c53de3b_esphome/stats - Container addon_5c53de3b_esphome is not running
Anyone an idea what Im doing wrong or could do to resolve?
EDIT:
Now I found the logs:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
-----------------------------------------------------------
Add-on: ESPHome
ESPHome add-on for intelligently managing all your ESP8266/ESP32 devices
-----------------------------------------------------------
Add-on version: 2024.3.1
You are running the latest version of this add-on.
System: Home Assistant OS 12.1 (aarch64 / raspberrypi3-64)
Home Assistant Core: 2024.4.0
Home Assistant Supervisor: 2024.03.1
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-timezone: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
[22:52:47] INFO: Configuring timezone (Europe/Berlin)...
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service base-addon-timezone successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-nginx: starting
s6-rc: info: service esphome: starting
s6-rc: info: service esphome successfully started
s6-rc: info: service init-nginx successfully started
s6-rc: info: service nginx: starting
s6-rc: info: service nginx successfully started
s6-rc: info: service discovery: starting
[22:52:53] INFO: Waiting for ESPHome dashboard to come up...
[22:52:54] INFO: Starting ESPHome dashboard...
./run: line 57: /usr/local/bin/esphome: Success
[22:52:54] INFO: Service ESPHome dashboard exited with code 1 (by signal 0)