Shelly Unavailable

My issue was with the broadcast ip address, had to change it to the server IP address. All my issues are resolved.

sorry but did not understand a word from “broadcast ip address”. What is that? Wo is that?

In the shelly settings you have the CoIoT peer field where you can fill in an IP address.
By default it’s a broadcast IP but if you change that to the HA IP it fixed my issue.

Could you share an exemple of what you made?

Found this thread when having issues with all my Shelly devices (new house with a bunch of Shelly devices) showing “became unavailable” in the logs entries every minute.

It turns out it coincided with the 60 seconds DHCP lease I set to be able to quickly change reserved IPs in my Unify router in order to re-shuffle devices (I have OCD, want things to be nicely organized).

Once I set the DHCP to the default 24 hour lease my issues are gone.
That said, the problem of devices becoming unavailable for a few seconds will now happen once ever 24 hours instead, when the DHCP lease is renewed. So the problem has only been reduced.

I guess the solution is to manually set static IPs on the Shelly devices themselves ty bypass the issue with Shelly devices losing connectivity every thime the DHCP lease is renewed.

Can this issue be solved by Shelly firmware updates?
FYI I have Shelly Dimmer 2 and Shelly 1 Mini Gen 3 devices, both are affected by this problem.
Oh, and I’m running MQTT so the issue seem to affect the device no matter what integration you are using in HA

Just fill in the IP of home assistant.
10.0.0.104:5683
this is what I fill in and it works perfect.

I have a Shelly plus 1PM which was installed last week and having been unavailable to start with it became available the following day. It worked perfectly until about 3.30 this morning when it became unavailable and it hasn’t come back. The device (bathroom towel rail) is showing as on and updating correctly on the Shelly app.

I don’t understand “Just fill in the IP of home assistant”. I am very new to this and a “steep learning curve” is a huge understatement. Where do I fill in this IP address? Is it somewhere in home assistant, or in the Shelly app, and if so, where? Sorry for the numpty question, but I’m really not good with apps and I don’t understand a lot of the language, or the symbols that app creators appear to assume are common knowledge.

Thanks in advance.

Update - the device started showing again on Home Assistant at about 6.30 last night, having been unavailable for about 15 hours. I had done nothing to prompt it, it simply reappeared.

The plus series and also the new gen 2 and 3 are different.
I also have that issue that a plus device is sometimes unavailable but no clue yet why.

The problem we have here is with the first gen (non plus) devices, those devices use CoIot communication and on the webinterface or shelly app you can define where it has to send the information too.