Shelly 1 Gen 3 keeps going unavailable and then available. All is good in Shelly web ui

I have installed two Shelly 1 Gen 3 mini switches. When I installed them I updated the firmware to the latest. They work and all looks good connected directly to the ip, but in Home Assistant they keep going unavailable and then back online without any intervention. It is not a wifi signal issue because the two are right next to each other and do not go unavailable at the same time. Any guesses on the cause and the fix?

Do those Shelly have the CoIOT settings? Remove “mcast” in this settign and enter the static IP of your HA instance with port 5683.

Perhaps this link from Shelly support forum can help you.

[Firmware 1.4.0 for Gen2 and Gen3 Shelly devices released / Firmware 1.4.0 für Gen2- und Gen3-Shelly-Geräte veröffentlicht - Page 2 - Shelly Gen2+ - Shelly community]

The set up for these do not have those options to control.

Thank you for the link. I will wait a few days after the release to see how “stable” it truly is because the 1.4.0 was not so good.

Sometimes it is just a timeout setting that makes it seem unavailable.
The HA integration might have a timeout setting a bit lower than the Shelly’s interval for reporting in.
This means it will be marked as unavailable because it has not heard from the Shelly and then shortly after marked as available again, because the Shelly then report in by itself.

The longer interval between reporting in is sometimes used by firmware developers to increase battery life and mains powered devices get hit by this change too, because they share the code.

1 Like

I have 3 Gen3 mini devices (2 x 1PM mini and 1x PM mini). For switches I do not see any issues, but PM mini ocassionally goes off network. It is sitting next to Access Point (<1m), so connectivity is not an issue. It is not just the HA and pulling frequency, as I’m using Fing Box to monitor my LAN and this issue is reported by this device. It is using ping to detect device presence on network, though I’m not sure what is the check frequency. Just yesterday I updated FW to 1.4.0, so yet need to see if this changes situation.

It was related to a disconnect with the Home Assistant and the Shelly update. See Shelly 1.4.0 version, HA is now trying to reach IPv6 only · Issue #122958 · home-assistant/core · GitHub. Since I updated to HA 2024.8.1 I have not had the issue.

Thanks for your responses.

I’m currently running 8.2 and seeing this with a lot of my Shelly devices. I know it can’t be a network issue as Unifi tracks the connectivity status of each device and that shows the Shelly’s with 100% uptime.