Shelly EM Unavailable

Hi all!!
i migrated from shelly for hass to official shelly integration and what’s happening from time to time is that Shelly EM becomes unavailable and don´t return unless i restart home assistant. basically this is driving me crazy as my calculations for daily and monthly energy consumption are now screwed.
is anyone experiencing the same, is there any solution for this already?

image
error from log

image
value doesn´t change during error

1 Like

That’s unfortunate. I was thinking of changing my mqtt connected EM to the new integration. MQTT has been 100% reliable.

What version of firmware is on your EM?

shelly on last firmware 1.8.1, Home assistant up to date as well (0.115.6)

Are your shelly devices on a different vlan than your homeassistant? I had similar issues between 2 different vlans with the hass shelly until I specified the ip’s explicitly in the config.

I also switched to the official integration and despite adding the devices by IP I’m seeing the same behavior where the devices drop from HA.

I haven’t yet opened a bug but am happy to open one.

Home assistant is on LAN (raspberry 3), Shelly on wi-fi. Both with static ip addresses on router.

Apparently there are fixes for Shelly integration queued for 116 that may fix this issue

Hopefully. for now i’ve created an automation to restart hass when shelly em becomes unavailable. if after next update doesn’t fix i will need to get back to shellyforhass.

This issue should be solved with 0.116.0

2 Likes

in my HA log some of my shellies became still every x-minutes unavailable, but they get “live” immediately:

any ideas what is the problem?

I’m now on Version 0.116.4, but the the shellies become still unavailable ~ each 10 Minutes.
It seems that the problem of periodic restarts is not solved:

Therea are similar problems in iobroker:

My log looks exactly the same, and there have been reports of the same thing in Vizio TV integration

I have the same exact issue, shelly unavailable every minute and return available again within few seconds.

1 Like

same here…

I also have the exact same problem with a Shelly1.

The issue occurs with any Shelly devices I have and is not fixed with 0.117

Just discovered that I also have the same problem running 117.1 for my Shellys

Same here. I’ve got a range of Shelly devices (Plug, Plug S, EM, 2.5) and all show the same behaviour. Suddenly offline and then available again. Did not happen when I had them on MQTT. Some devices are very close to mesh accesspoint and other devices stay connected to wifi, so I don’t think wifi is to blame.

Oh dear, same problem here.
ShellyEM
Not a wifi problem, as strength is strong and stable.
Connected using the new Shelly integration.
Screenshot 2020-11-05 at 15.55.27
Really hurting accuracy.

1 Like

Same problem here! All of my 11 shelly 2.5 are added through the integration page, but keep losing connection every few minutes. Because of this my automations are unreliable, because half of the time the shelly’s are unreachable in HA. I am on version 0.117.4, so what’s the solution…

You can follow this issue here:

It seems that it may be better with 0.118. If you don’t want to wait you can install the update as a custom component (all instructions in the GitHub link)