Yesterday I did the ESPHome update to version 2024.7.0 and after that my ESP is showwing offline. I restarted it and restarted wifi router, and the HA, but it did not help.
Any suggestions?
Do I have to just flash ESP from start?
Yesterday I did the ESPHome update to version 2024.7.0 and after that my ESP is showwing offline. I restarted it and restarted wifi router, and the HA, but it did not help.
Any suggestions?
Do I have to just flash ESP from start?
Showing where?
Esphome and any devices are separate things. I assume you updated esphome and then updated a device? Have you checked wifi to see if the device is creating its own access point? Tried validating the yaml code?
Did You updated:
Devices offline in:
Can You check on WiFi - see devices connected to ?
When can try to ping them and start to see LOGS from ESPHome dashboard.
As well do WiFi scan - do You see AP’s started by devices (if ap:
configured) ?
showing in HA ESPHome
Yes, I updated esphome and then device.
Device is showing offline in esphome addon in HA, not able to ping it, no unknown wifi. Yaml code is validating OK.
I updated both
Device is showing offline in ESPHome dashboard.
I checked wifi router - esp device is not connected and it’s IP address does not respond to ping.
When I unplug and plug power to the device then LED on device is red. Does it mean that the device has failed?
Only if it’s a green LED.
What device?
Did you restart Home Assistant?
Yes, provide device details and maybe yaml code.
I had issues with most of my devices a few weeks back. Took me a while to realise they were going into safe mode and creating their own access points. I had to upload firmware through their web pages and some devices needed reflashing with Openbekin. No idea what caused the issue.
Device is ESP32. And yes, I did a full restart of HA.
OK then, I will try to do the same to mine.
Tomorrow I’m leaving for a short vacations, will do the flashing after coming back and then I will share the results.
Thanks.
Sort of the same here.
I think i happened after udating to ESPHome 2024.7(.1 ?). (I have an automation updating all devices if update available so not sure exactly when it happened)
In ESPHome addon in HA all devices are shown as OFFLINE
But! I can connect to devices, both via ESPHome GUI "Logs → Wireless " and even do further updates.
And devices work as expected in HA
So error seem for me to limited to how devices are reported in ESPHome plugin dashboard
UPDATE 2024-07-31
Now running ESPHome 2024.7.2 and issue seem to be sesolved
Finaly it turnd out, that the device is broken. Not able to flash it. I replaced it with the new one and now it works.
Looks like software update was not a reason for that, just HW fail.
Thank you all for help.
I just updated to 2024.7.3 and all of mine show the same - all offline unless I update them to the latest ESPHome version - which is now 2024.7.3 on my system.
is there something else you might have done to get everything to show the correct status besides updating your ESPHome version?
EDIT:
well it seems that all you have to do is add a “platform:” to the “ota:” section and suddenly they all show up again. strangely you don’t even need to upload the the updated config to the device. just having it in the yaml for it in the offline copy makes it work.
My ESPHome also doesn’t work since 2024.7.0 (even 2024.7.3 makes no difference).
It is online for a couple of minutes and then appears offline. The connected devices still report data for a couple of hours and then also go offline - weird, isn’t it?
Re.:
well it seems that all you have to do is add a “platform:” to the “ota:” section and suddenly they all show up again. strangely you don’t even need to upload the the updated config to the device. just having it in the yaml for it in the offline copy makes it work
My yaml entry for ota is:
ota:
platform: esphome
password: "xxxxxxxxxxxxxxxxxxxx"
Was that what you meant for the platform entry?
I’ve also programmed a new ESP32 but it shows the same effect - so it is not the hardware…
yes but without the password
OK. I’ve tried with/without the password - same outcome: It is online for a couple of minutes and then is shown offline in the dashboard. Also, it’s been working with the password since ca. 2 years
That’s different than what I was experiencing.
mine wouldn’t even show as online at all until I added that line to the yaml.
then it showed as online even tho I never actually updated the device to put that line onto the device.