Entities go unavailable for a few seconds and then go back online

Hello,

I’m having a bit of a weird issue. All of my Sonos, Shelly and Unity Protect entities go from the online to unavailable several times per hour. As you can see from the attached images, the entities go back online after a few seconds.

All other entities (Sony Bravia TV, Philips Hue, Denon, ESPHome) work just fine and don’t exhibit the same problem.

Does anyone experience the same issue and where does it come from?

Yes I do with shelly devices and yeelight

What sort of wifi access point(s) are you using?

How many devices do you have connected to the wifi network?

Most all in one modem/router/wifi boxes can only handle 20 to 30 devices before things start going awry.

Thanks @tom_l and @Makis for your answers. “Happy” to see that I’m not the only one affected.

I do have a Unifi setup with a UAP AC Pro and UAP AC Lite with around 22 wireless devices and 10 wired. The UAP AC Pro sits a couple of meters away from the Shelly dimmers. All my ESPHome entities also sit about the same distance (or further) from the access point and work fine though.

On the flip side, it also happens to my Unifi cameras and those are on a 1Gbps wired link to the switch.

All the greys line represent an unavailable event

Yeah ok you’re sorted there. That’s no the problem.

This points to an issue with the link from the switch to home assistant then. It is the common factor.

Forgot to mention that I was running Home Assistant on a RPi3 B+.

Eh. Unless you are absolutely hammering the pi USB ports with data as well that should be ok.