It doesn’t really mean that it ain’t working, do you see data when you hit ‘logs’? A common reason it doesn’t become ‘available’ is due to mDNS issues in your router (using a fixed IP solves it in mist cases) as Nickrout said, did it compile and upload?
If you do see logs, the esp unit probably popped up under ‘integrations’
I have the latest version of esphome 2022.12.5 now. I had the option of downloading the file and now using esphome-flasher, but it seems to be taking forever. like 1 hour plus to upload the .bin file.
Sorry I was busy reading the logs and was going to edit that above post.
INFO Trying to reconnect to home.local in the background
INFO Successfully connected to home.local
[18:45:49][D][api:102]: Accepted ::FFFF:192.168.0.110
[18:46:04][D][api.connection:918]: ESPHome Logs 2022.12.5 (::FFFF:192.168.0.110): Connected successfully
[18:46:04][D][api:102]: Accepted ::FFFF:192.168.0.110
[18:46:04][D][api.connection:918]: ESPHome Logs 2022.12.5 (::FFFF:192.168.0.110): Connected successfully
[18:46:04][I][app:102]: ESPHome version 2022.12.5 compiled on Jan 23 2023, 10:40:08
[18:46:04][C][wifi:504]: WiFi:
[18:46:04][C][wifi:362]: Local MAC: 24:62:AB:F3:0B:70
[18:46:04][C][wifi:363]: SSID: [redacted]
[18:46:05][C][wifi:364]: IP Address: 192.168.0.226
[18:46:05][C][wifi:366]: BSSID: [redacted]
[18:46:06][C][wifi:367]: Hostname: 'home'
[18:46:06][C][wifi:369]: Signal strength: -81 dB ▂▄▆█
INFO home.local: Ping timed out!
INFO Disconnected from ESPHome API for home.local
WARNING Disconnected from API
INFO Successfully connected to home.local
INFO home.local: Ping timed out!
INFO Disconnected from ESPHome API for home.local
WARNING Disconnected from API
WARNING Can't connect to ESPHome API for home.local: Timeout while connecting to ('192.168.0.226', 6053)
INFO Trying to reconnect to home.local in the background
The esp32 is plugged into a usb port on my laptop, COM7, and I can’t see why it is struggling to connect. I have an excellent wifi signal and in this room the signal is -35Db, as it is more or less next to my router.
No, the ip address is unreachable. What name is it, esp32, or file name??
I think I will just stop it and try it on a windows 7 system
The log file is now showing it is measuring temperature etc from the BM680
Update:
I can now ping the esp32 board’s IP address ok and the yaml file was installed quickly in a win7 system using the ESPHome web service .
As it is not showing up in HA I guess I need to set a static IP address, as presently it connects by a dhcp assigned ip address.
@aceindy
yes, but that was what it said during the upload, but in reality the wifi signal is actually -35Db, because the laptop is in the same room as my router.
Anyway, I’ll set a static ip address
The fixed IP is just a hunch, it can also just be a flaky esp module.
I myself am a fan of esp01, as they are very cheap (2-3€), but occasionally, some of them just ain’t working right). So if you happen to have another one laying around, can’t hurt to try that one