According to HA, MQTT no longer see a device, but it's there and talking to MQTT

Hi, yesterday, out of four, one of my HASP (Home Assistant Switch Plate) decided to be unresponsive in Home Assistant (but still reachable on the network). The other three, configured the same way, are working perfectly fine. HA says the device “is no longer being provided by the mqtt integration”

image

but through MQTT Explorer, I can see the device sending regular updates to MQTT.

I’ve restarted the device and Home Assistant and it still keep saying that it’s no longer being provided by MQTT.

I’m on 2023.11.3 for both Core and Supervisors and all my addons are up to date. HASP is running 1.05 and like I said, I can access its web admin page as well as telnet to it.

One thing odd (same for all my HASP device) though is trying to connect to the HASPOne Admin page from HomeAssistant returns a different IP than what the device is actually using. But since it’s the case for all four HASP devices, I doubt it’s relevant to my problem.

Any idea on how I can recover from that?

Thanks.

Sometimes it happens that HA sees the device as a new one and then it can not add it as the original name, so it gets a _2 suffix or similar.
When that happens then the new device will be the active one and other one will be stale.
Finding the new device, deleting the old one and then renaming the new one to the old name usually solves it.

1 Like

Yep, I think that’s it.

I think I have a bit more troubleshooting to do. Although the device is now available in HA,

It’s screen still shows blank fields, as if the automation isn’t kicking in to set them up.

Force reload the page.
It might just be a cache issue.

I meant on the device itself, like in this picture.

It’s showing fine in HA. I looked at the automations, they are all associated with the hasp_cuisine device. I’ve restarted HA and still no change :frowning:

Start MQTT explorer up and see what is happening on the broker.

I ended up deleting the hasp_cuisine device as well as its entities, then the MQTT device entry and finally rebooted the device itself. I had to reassociate the automations with the device and apart from the slider page (above) not showing at all, the other pages are working fine. I need to see what’s going on with that slider page but that’s something I can (hopefully) deal with. Thank for your help.

Sliders have acted weird with last months update, so maybe that is another issue here.

Could be. They are back without me doing anything beside at looking at their automations. Every thing is fine (for now).

First time this has happened. It happened shortly after I updated from a summer 2022 version of HA to 2023.11. Had to update because the Supervisor updated itself (uh?) to 2023.11 while the Core stayed at 2022.8 and it broke the communication between both. I don’t know since when it was broken since I don’t usually touch it while it’s working fine. I happened to check something there to compare it to my HA at the cottage and that’s when I noticed that the Supervisor wasn’t available in HA.

Ok, great to hear.
You might want to search the forum for the way to disable auto-update of Supervisor.
It has been discussed before.

1 Like

Thanks for the heads up.

ha supervisor options --auto-update=false

Done