Hi,
I have some devices (3) that, randomly, became unavailable in HomeAssistant.
I can ping the device ip, if I restart them or HA nothing change.
The only way to get them working again is to delete them from esphome integration and then re-add them. With that operation they will re-start working correctly again.
It happen with an esp32-cam board and with 2 esp01 on temp/hum board
Any clue on that?
Thanks
Try reloading the integration instead. Select the device in the integration list if you have more than one then:
There is an issue open for this:
There was an issue open for this loss of connection. Upgrading to the latest version of ESPHome and recompiling the device fixed this for me.
Yep, reloading does the trick. Now I have to try to reflash both devices…
There’s a command to trigger the device configuration reload?
So I can make an automation out of this
Thanks
’m having this same problem with a device, “unavailable” in HA but online in EspHome.
It’s not the first time and I always menage to re-add them back. But now with the new Home Assistant update, which reorganise the “Devices & Services” window I’m not able to remove the old ESPHome integration because the device appears under the window “Devices” but not in the list of the EspHome devices which actually allows to manage the devices and to reload them.
I’ve tried to re-add the integration but it says “device already configured”.
The funny thing is that the temperature sensor is still working properly and sending regularly the data.
Any suggestion on what to do or how can I remove/reload the device from command line?
See the vertical three dots icon to the right of each device in your first screen shot (next to CONFIGURA)?
Click on one of those.
I’d like to, but I can’t do it with the “boiler” device as it’s not in the list.
Normally, if I remove the device and then add it back, everything works fine, but this time I have this error…
Is there another way to remove the device from Home Assistant?
I’ve actually tried removing it from config/.storage/core.device_registry
. Now it doesn’t appear in either device window, but it’s still unavailable.
I have 3 sensors available from the device that are sending data normally, but all the others don’t appear in the window.
Any idea what could be wrong and how to fix it?
Don’t know if anyone has managed to fix this?
I had a sensor (CT Clamp on a D1mini) working fine until yesterday.
I can see the logs from the device wirelessly on ESPhome, its all up to date with over the air updates but HA says “Entity not available”… I don’t understand. ESPHome can obvisouly see it, its on my wifi, the sensor is sending readings but HA is no longer seeing them!
Delete the integration of the ESP and then add the integration back again. I have had to do that quite a few times. All the sensors show up then.
Thanks Julian, how do you delete the integration? used to be 3 dots I think
Got it! Thank you so much
Founds what stops it working. Its when you rename the entity!