Core: Shelly Integration switch changing to unavailable constantly

Created on 21 Sep 2020  ·  203Comments  ·  Source: home-assistant/core

The problem

Shelly integration showing switches unavailable. The HA logbook gets flooded with unavailable messages from Shelly switchs. This happens on all Shelly devices configured through the Shelly integration. In very short periods all the sensors show up unavailable and reconnect, which spam the log.

Environment

arch | x86_64
dev | false
docker | true
hassio | false
installation_type | Home Assistant Container
os_name | Linux
os_version | 5.4.0-47-generic
python_version | 3.8.5
timezone | America/Detroit
version | 0.115.2
virtualenv | false

  • Home Assistant Core release with the issue: 0.115.2
  • Last working Home Assistant Core release (if known): unknown
  • Operating environment (OS/Container/Supervised/Core): Container
  • Integration causing this issue: Shelly
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/shelly

  • Shelly Devices and Firmware:

    • Shelly 2 - firmware: 20200827-065420/v1.8.3@4a8bc427
    • Shelly 2.5 - firmware: 20200827-065456/v1.8.3@4a8bc427
    • Shelly 1 - firmware: 20200827-065344/v1.8.3@4a8bc427

Problem-relevant configuration.yaml

N/A

Traceback/Error logs

N/A

Additional information

image

shelly

Most helpful comment

We switched from aiocoap library to our own implementation.
Code is merged on dev branch currently.

So you can wait 0.118.0 or install a development build.

Thank you for your patience,

Simone

All 203 comments

Hey there @balloob, @bieniu, mind taking a look at this issue as its been labeled with an integration (shelly) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)

We need your log. It can be a network problem.

I have the same problem. I have 8 shellies (last fiirmware version 1.8.3) and some of them (different any time) becoming unavailable after some time and not getting back online. Workaround restarting Home Assistant but the problem repeats always.

@jgpazos70 We need HA log. Are these devices battery powered?

Ok, sorry, I tried to make an extraction filtering important messages (coap and shelly messages). Note some of the shellies are online (6) and (2) unavailable.

...
2020-09-21 13:47:00 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 5 seconds
2020-09-21 13:47:00 ERROR (MainThread) [coap.blockwise-requester] Exception in BlockwiseRequest runner neither went to response nor to observation: invalid state
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/aiocoap/protocol.py", line 731, in _run_outer
    await cls._run(app_request, response, weak_observation, protocol, log)
  File "/usr/local/lib/python3.8/site-packages/aiocoap/protocol.py", line 860, in _run
    response.set_result(assembled_response)
asyncio.exceptions.InvalidStateError: invalid state
2020-09-21 13:47:00 ERROR (MainThread) [coap.blockwise-requester] Exception in BlockwiseRequest runner neither went to response nor to observation: invalid state
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/aiocoap/protocol.py", line 731, in _run_outer
    await cls._run(app_request, response, weak_observation, protocol, log)
  File "/usr/local/lib/python3.8/site-packages/aiocoap/protocol.py", line 860, in _run
    response.set_result(assembled_response)
asyncio.exceptions.InvalidStateError: invalid state
2020-09-21 13:47:00 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 5 seconds
2020-09-21 13:47:00 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 5 seconds
2020-09-21 13:47:00 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 5 seconds
2020-09-21 13:47:00 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 5 seconds
2020-09-21 13:47:00 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 5 seconds
2020-09-21 13:47:00 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 5 seconds
2020-09-21 13:47:00 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 5 seconds
2020-09-21 13:47:00 INFO (MainThread) [homeassistant.setup] Setup of domain device_tracker took 0.2 seconds
2020-09-21 13:47:01 INFO (MainThread) [homeassistant.setup] Setting up default_config
2020-09-21 13:47:01 ERROR (MainThread) [homeassistant.components.weather] Platform met does not generate unique IDs. ID home already exists - ignoring weather.met_no_2
2020-09-21 13:47:01 INFO (MainThread) [homeassistant.components.weather] Not adding entity Met.no Hourly because it's disabled
2020-09-21 13:47:01 ERROR (MainThread) [coap] Connection loss was not expected.
2020-09-21 13:47:01 ERROR (MainThread) [coap] Connection loss was not expected.
2020-09-21 13:47:01 ERROR (MainThread) [coap] Connection loss was not expected.
2020-09-21 13:47:01 INFO (MainThread) [coap] Response <aiocoap.Message at 0x7f50d83abbe0: Type.ACK 2.05 Content (MID 51027, token 2185) remote <UDP6EndpointAddress 192.168.0.201 with local address>, 1 option(s), 1024 byte(s) payload> could not be matched to any request
2020-09-21 13:47:01 INFO (MainThread) [coap] Response not recognized - sending RST.
..
2020-09-21 13:47:22 ERROR (MainThread) [coap] Connection loss was not expected.
2020-09-21 13:47:22 ERROR (MainThread) [coap] Connection loss was not expected.
2020-09-21 13:47:22 ERROR (MainThread) [coap] Connection loss was not expected.
2020-09-21 13:47:22 ERROR (MainThread) [coap] Connection loss was not expected.
2020-09-21 13:47:22 ERROR (MainThread) [coap] Connection loss was not expected.
...
2020-09-21 13:48:54 INFO (MainThread) [coap] Retransmission, Message ID: 35453.
2020-09-21 13:48:57 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F36FD7 data
2020-09-21 13:48:58 INFO (MainThread) [coap] Retransmission, Message ID: 35453.
2020-09-21 13:48:58 INFO (MainThread) [coap] Response <aiocoap.Message at 0x7f50d0d6f4f0: Type.ACK 2.05 Content (MID 35453, token 8104) remote <UDP6EndpointAddress 192.168.0.202 with local address>, 4 option(s), 202 byte(s) payload> could not be matched to any request
2020-09-21 13:48:58 INFO (MainThread) [coap] Response not recognized - sending RST.
...
2020-09-21 13:49:39 INFO (MainThread) [coap] Retransmission, Message ID: 52328.
2020-09-21 13:49:42 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F353AE data
2020-09-21 13:49:45 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for sonoff_sv_test.local: Error resolving IP address: [Errno -2] Name does not resolve
2020-09-21 13:49:45 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect to sonoff_sv_test.local in 60 seconds
2020-09-21 13:49:45 INFO (MainThread) [coap] Retransmission, Message ID: 52328.
2020-09-21 13:49:45 INFO (MainThread) [coap] Response <aiocoap.Message at 0x7f50d81012b0: Type.ACK 2.05 Content (MID 52328, token 47de) remote <UDP6EndpointAddress 192.168.0.201 with local address>, 4 option(s), 200 byte(s) payload> could not be matched to any request
2020-09-21 13:49:45 INFO (MainThread) [coap] Response not recognized - sending RST.
2020-09-21 13:49:47 INFO (MainThread) [homeassistant.components.shelly] Fetching shellyswitch25-F353AE data recovered
2020-09-21 13:49:59 INFO (MainThread) [coap] Retransmission, Message ID: 52331.
...
2020-09-21 13:50:49 INFO (MainThread) [coap] Retransmission, Message ID: 4614.

...
[repeated messages like this all time along]:
2020-09-21 16:49:41 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F36FD7 data

@jgpazos70 We need HA log. Are these devices battery powered?
They are not battery powered, they are connected to AC.

Log is in the next message, so the the log in time they become unavailable is this:

image

2020-09-21 20:00:23 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F353AE data
2020-09-21 20:00:25 INFO (MainThread) [coap] Retransmission, Message ID: 56687.
2020-09-21 20:00:36 INFO (MainThread) [coap] Retransmission, Message ID: 56687.
2020-09-21 20:00:39 ERROR (MainThread) [homeassistant.components.shelly] Unexpected error fetching shellyswitch25-F353AE data: [Errno 113] Host is unreachable
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 143, in async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/components/shelly/__init__.py", line 88, in _async_update_data
return await self.device.update()
File "/usr/local/lib/python3.8/site-packages/aioshelly/__init__.py", line 151, in update
self._update_s(await self.coap_request("s"))
File "/usr/local/lib/python3.8/site-packages/aioshelly/__init__.py", line 182, in coap_request
response = await self.coap_context.request(request).response
File "/usr/local/lib/python3.8/site-packages/aiocoap/protocol.py", line 731, in _run_outer
await cls._run(app_request, response, weak_observation, protocol, log)
File "/usr/local/lib/python3.8/site-packages/aiocoap/protocol.py", line 783, in _run
blockresponse = await blockrequest.response
OSError: [Errno 113] Host is unreachable

Thanks a lot!

Restarted and happened again with one at 12:03 PM today:

Logger: homeassistant.components.shelly
Source: helpers/update_coordinator.py:147
Integration: Shelly (documentation, issues)
First occurred: 12:03:38 PM (1 occurrences)
Last logged: 12:03:38 PM

Timeout fetching shellyswitch25-F36FD7 data

2020-09-22 12:03:20 INFO (MainThread) [coap] Retransmission, Message ID: 14056.
2020-09-22 12:03:28 INFO (MainThread) [coap] Retransmission, Message ID: 6216.
2020-09-22 12:03:35 INFO (MainThread) [coap] Retransmission, Message ID: 6217.
2020-09-22 12:03:36 WARNING (MainThread) [homeassistant.components.upnp] Wanted UPnP/IGD device with UDN "uuid:bb974ba3-cb97-4ac4-88c3-021df95929b4" not found, aborting
2020-09-22 12:03:36 INFO (MainThread) [homeassistant.components.upnp] Unable to create UPnP/IGD, aborting
2020-09-22 12:03:36 WARNING (MainThread) [homeassistant.config_entries] Config entry for upnp not ready yet. Retrying in 80 seconds
2020-09-22 12:03:36 WARNING (MainThread) [homeassistant.config_entries] Config entry for glances not ready yet. Retrying in 80 seconds
2020-09-22 12:03:38 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F36FD7 data
2020-09-22 12:03:40 INFO (MainThread) [coap] Retransmission, Message ID: 6217.
2020-09-22 12:03:49 INFO (MainThread) [coap] Retransmission, Message ID: 6217.

This looks like network problems. Integration cannot retrieve data from the device, so the entities become unavailable.

Please format logs correctly.

OSError: [Errno 113] Host is unreachable

For this error we have a fix here https://github.com/home-assistant/core/pull/40393
But "Host is unreachable" means that your Shelly is not available in the network.

Ok, thank you. I understand the message but I do not know if the problem is the devices wifi or any protocol used to reach them or the timeout used by the server...

Just to share and let you know: it is very strange because device is 50 cm away from access point, and I can access via web admin url in any time without any problem.

Anyway, thank you very much for your answer.

Very strange. Perhaps we have a bug in integration that doesn't always show up. In my network I had only one timeout for the last 2 days and entities were unavailable for only 5 seconds.

Did you use IP addresses or hostnames when setting up Shelly integration? If hostnames try with IP addresses.

2020-09-21 13:47:00 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 5 seconds
2020-09-21 13:47:00 ERROR (MainThread) [coap.blockwise-requester] Exception in BlockwiseRequest runner neither went to response nor to observation: invalid state
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/aiocoap/protocol.py", line 731, in _run_outer
await cls._run(app_request, response, weak_observation, protocol, log)
File "/usr/local/lib/python3.8/site-packages/aiocoap/protocol.py", line 860, in _run
response.set_result(assembled_response)
asyncio.exceptions.InvalidStateError: invalid state

I'm on the same boat: Occasional issue with invalid state with Shelly devices

Simone

@bieniu inset them up with IP addresses with the Shelly integration. That’s how the auto discovered sees them in HA.

Did you use IP addresses or hostnames when setting up Shelly integration? If hostnames try with IP addresses.

I use IP addresses. Recently I change from MQTT to native integration. Before with MQTT always worked fine.

does the integration rescan every x minutes? for me when a shelly goes unavailable it stays unavailable.
I have configured static ips for all my shellys (shelly 2.5). A few minutes ago I moved one of the shellys to another access point with a different ssid name. It never came back in homeassistant.
Only restarting homeassistant let it be discovered again

Hi.
I have the same problem.
If I look at the router, Shelly is connected but in HA is unavailable.
The solution to reconnect in HA is to restart HA :(
When I have been using MQTT, I have had no problems.

@vdlr26 @fluffymadness Please post HA log with entries from shelly, coap, aiocoap.

i have the same problme all my shellys loose connection to HA after a while still available in app and Alexa shelly4Pro dont appear in Integration but says is integrated

@ollimagic Please post HA log with entries from shelly, coap, aiocoap.

@ollimagic Please post HA log with entries from shelly, coap, aiocoap.

home-assistant-shelly-coap-aiocoap.log

@ollimagic Please post HA log with entries from shelly, coap, aiocoap.

home-assistant-shelly-coap-aiocoap.log

I noticed that you are on docker as well.
Seems aiocoap doesn't couple well in this environment for some reason we are still investigating with author of the library.

Simone

I have the same issues.
Shelly devices appear unavailable and do not go back to available till I either reload the integration or restart HA.
I'm running the latest version of HA using Docker on a Raspberry Pi 4.
I have verified that the shelly devices are accessible from the HA host by invoking the "status" endpoint of the shelly devices using curl from the Raspberry pi.

rebooting the shelly device or even the router has no effect.
All my Shelly devices have static IP addresses and were configured in HA based on their IP.

No i am not in Docker Hassio Pi4

Am Mi., 23. Sept. 2020 um 15:09 Uhr schrieb iddora <[email protected]

:

I have the same issues.
Shelly devices appear unavailable and do not go back to available till I
either reload the integration or restart HA.
I'm running the latest version of HA using Docker on a Raspberry Pi 4.
I have verified that the shelly devices are accessible from the HA host by
invoking the "status" endpoint of the shelly devices using curl from the
Raspberry pi.

rebooting the shelly device or even the router has no effect.
All my Shelly devices have static IP addresses and were configured in HA
based on their IP.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/core/issues/40411#issuecomment-697353068,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIMLZXKCNNJ5X33SDZFV6S3SHHXOXANCNFSM4RUSAACQ
.

Same as @iddora . I have some Shelly that is far from the AP and sometimes loses the connection for a minute or so. With MQTT it went unavailable for at most some minutes and then it was ok. Now sometimes when it goes unavailable it remains unavailable until i restart HA (after some hours). It could be some timeout issue.

Hi, I have the same issue. I have to Shelly devices: shellyswitch25-1f-bath with ip 192.168.1.62 and shellyswitch25-2f-bath with ip 192.168.1.201. Sometimes one of them becomes unavailable. In some cases it becomes available in few seconds/minutes. But in some cases it becomes completely unavailable. Only reload of the component helps.

I recorded such case. shellyswitch25-1f-bath become completely unavailable at 19:26:03. Here is log from component.shelly and coap

2020-09-23 19:25:57 DEBUG (MainThread) [coap] Sending request - Token: 39d3, Remote: <UDP6EndpointAddress 192.168.1.201>
2020-09-23 19:25:57 DEBUG (MainThread) [coap] Sending message <aiocoap.Message at 0x9ea496b8: Type.CON GET (MID 47011, token 39d3) remote <UDP6EndpointAddress 192.168.1.201>, 2 option(s)>
2020-09-23 19:25:57 DEBUG (MainThread) [coap] Exchange added, message ID: 47011.
2020-09-23 19:25:57 DEBUG (MainThread) [coap] Incoming message <aiocoap.Message at 0x9e2e55c8: Type.ACK 2.05 Content (MID 47011, token 39d3) remote <UDP6EndpointAddress 192.168.1.201 with local address>, 4 option(s), 226 byte(s) payload>
2020-09-23 19:25:57 DEBUG (MainThread) [coap] New unique message received
2020-09-23 19:25:57 DEBUG (MainThread) [coap] Exchange removed, message ID: 47011.
2020-09-23 19:25:57 DEBUG (MainThread) [coap] Received Response: <aiocoap.Message at 0x9e2e55c8: Type.ACK 2.05 Content (MID 47011, token 39d3) remote <UDP6EndpointAddress 192.168.1.20 1 with local address>, 4 option(s), 226 byte(s) payload>
2020-09-23 19:25:57 DEBUG (MainThread) [coap] Response <aiocoap.Message at 0x9e2e55c8: Type.ACK 2.05 Content (MID 47011, token 39d3) remote <UDP6EndpointAddress 192.168.1.201 with local address>, 4 option(s), 226 byte(s) payload> matched to request <aiocoap.tokenmanager.PlumbingRequest object at 0xa33fae50>
2020-09-23 19:25:57 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shellyswitch25-2f-bath data in 0.058 seconds
2020-09-23 19:25:58 DEBUG (MainThread) [coap] Sending request - Token: adf0, Remote: <UDP6EndpointAddress 192.168.1.62>
2020-09-23 19:25:58 DEBUG (MainThread) [coap] Sending message <aiocoap.Message at 0x9ea495f8: Type.CON GET (MID 45145, token adf0) remote <UDP6EndpointAddress 192.168.1.62>, 2 option(s)>
2020-09-23 19:25:58 DEBUG (MainThread) [coap] Exchange added, message ID: 45145.
2020-09-23 19:26:00 INFO (MainThread) [coap] Retransmission, Message ID: 45145.
2020-09-23 19:26:02 DEBUG (MainThread) [coap] Sending request - Token: 39d4, Remote: <UDP6EndpointAddress 192.168.1.201>
2020-09-23 19:26:02 DEBUG (MainThread) [coap] Sending message <aiocoap.Message at 0xa825d340: Type.CON GET (MID 47012, token 39d4) remote <UDP6EndpointAddress 192.168.1.201>, 2 option(s)>
2020-09-23 19:26:02 DEBUG (MainThread) [coap] Exchange added, message ID: 47012.
2020-09-23 19:26:02 DEBUG (MainThread) [coap] Incoming message <aiocoap.Message at 0xa2fc2be0: Type.ACK 2.05 Content (MID 47012, token 39d4) remote <UDP6EndpointAddress 192.168.1.201 with local address>, 4 option(s), 226 byte(s) payload>
2020-09-23 19:26:02 DEBUG (MainThread) [coap] New unique message received
2020-09-23 19:26:02 DEBUG (MainThread) [coap] Exchange removed, message ID: 47012.
2020-09-23 19:26:02 DEBUG (MainThread) [coap] Received Response: <aiocoap.Message at 0xa2fc2be0: Type.ACK 2.05 Content (MID 47012, token 39d4) remote <UDP6EndpointAddress 192.168.1.201 with local address>, 4 option(s), 226 byte(s) payload>
2020-09-23 19:26:02 DEBUG (MainThread) [coap] Response <aiocoap.Message at 0xa2fc2be0: Type.ACK 2.05 Content (MID 47012, token 39d4) remote <UDP6EndpointAddress 192.168.1.201 with local address>, 4 option(s), 226 byte(s) payload> matched to request <aiocoap.tokenmanager.PlumbingRequest object at 0xa2fc2958>
2020-09-23 19:26:02 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shellyswitch25-2f-bath data in 0.060 seconds
2020-09-23 19:26:03 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-1f-bath data
2020-09-23 19:26:03 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shellyswitch25-1f-bath data in 5.001 seconds
2020-09-23 19:26:04 INFO (MainThread) [coap] Retransmission, Message ID: 45145.
2020-09-23 19:26:07 DEBUG (MainThread) [coap] Sending request - Token: 39d5, Remote: <UDP6EndpointAddress 192.168.1.201>
2020-09-23 19:26:07 DEBUG (MainThread) [coap] Sending message <aiocoap.Message at 0xa33fa148: Type.CON GET (MID 47013, token 39d5) remote <UDP6EndpointAddress 192.168.1.201>, 2 option(s)>
2020-09-23 19:26:07 DEBUG (MainThread) [coap] Exchange added, message ID: 47013.
2020-09-23 19:26:07 DEBUG (MainThread) [coap] Incoming message <aiocoap.Message at 0xa84701d8: Type.ACK 2.05 Content (MID 47013, token 39d5) remote <UDP6EndpointAddress 192.168.1.201 with local address>, 4 option(s), 226 byte(s) payload>
2020-09-23 19:26:07 DEBUG (MainThread) [coap] New unique message received
2020-09-23 19:26:07 DEBUG (MainThread) [coap] Exchange removed, message ID: 47013.
2020-09-23 19:26:07 DEBUG (MainThread) [coap] Received Response: <aiocoap.Message at 0xa84701d8: Type.ACK 2.05 Content (MID 47013, token 39d5) remote <UDP6EndpointAddress 192.168.1.201 with local address>, 4 option(s), 226 byte(s) payload>
2020-09-23 19:26:07 DEBUG (MainThread) [coap] Response <aiocoap.Message at 0xa84701d8: Type.ACK 2.05 Content (MID 47013, token 39d5) remote <UDP6EndpointAddress 192.168.1.201 with local address>, 4 option(s), 226 byte(s) payload> matched to request <aiocoap.tokenmanager.PlumbingRequest object at 0xa2fc2820>
2020-09-23 19:26:07 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shellyswitch25-2f-bath data in 0.057 seconds
2020-09-23 19:26:07 DEBUG (MainThread) [coap] Incoming error 113 from <UDP6EndpointAddress 192.168.1.62 with local address>
2020-09-23 19:26:08 DEBUG (MainThread) [coap] Sending request - Token: adf1, Remote: <UDP6EndpointAddress 192.168.1.62>
2020-09-23 19:26:08 DEBUG (MainThread) [coap] Message to <UDP6EndpointAddress 192.168.1.62> put into backlog
2020-09-23 19:26:12 DEBUG (MainThread) [coap] Sending request - Token: 39d6, Remote: <UDP6EndpointAddress 192.168.1.201>
2020-09-23 19:26:12 DEBUG (MainThread) [coap] Sending message <aiocoap.Message at 0xa2fc2058: Type.CON GET (MID 47014, token 39d6) remote <UDP6EndpointAddress 192.168.1.201>, 2 option(s)>
2020-09-23 19:26:12 DEBUG (MainThread) [coap] Exchange added, message ID: 47014.
2020-09-23 19:26:12 DEBUG (MainThread) [coap] Incoming message <aiocoap.Message at 0xa2595508: Type.ACK 2.05 Content (MID 47014, token 39d6) remote <UDP6EndpointAddress 192.168.1.201 with local address>, 4 option(s), 226 byte(s) payload>
2020-09-23 19:26:12 DEBUG (MainThread) [coap] New unique message received
2020-09-23 19:26:12 DEBUG (MainThread) [coap] Exchange removed, message ID: 47014.
2020-09-23 19:26:12 DEBUG (MainThread) [coap] Received Response: <aiocoap.Message at 0xa2595508: Type.ACK 2.05 Content (MID 47014, token 39d6) remote <UDP6EndpointAddress 192.168.1.201 with local address>, 4 option(s), 226 byte(s) payload>
2020-09-23 19:26:12 DEBUG (MainThread) [coap] Response <aiocoap.Message at 0xa2595508: Type.ACK 2.05 Content (MID 47014, token 39d6) remote <UDP6EndpointAddress 192.168.1.201 with local address>, 4 option(s), 226 byte(s) payload> matched to request <aiocoap.tokenmanager.PlumbingRequest object at 0xa31763a0>
2020-09-23 19:26:12 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shellyswitch25-2f-bath data in 0.069 seconds
2020-09-23 19:26:13 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shellyswitch25-1f-bath data in 5.001 seconds

After Incoming error 113 from <UDP6EndpointAddress 192.168.1.62 with local address> at 19:26:07 coap puts all messages to 192.168.1.62 to backlog, i.e. there are only such messages in the log:

2020-09-23 19:26:28 DEBUG (MainThread) [coap] Sending request - Token: adf3, Remote: <UDP6EndpointAddress 192.168.1.62>
2020-09-23 19:26:28 DEBUG (MainThread) [coap] Message to <UDP6EndpointAddress 192.168.1.62> put into backlog

And shellyswitch25-1f-bath is not available anymore.

Having the same issue. mostly it fixes itself when i reboot Home-Assistant. (not really what you want)
When a Shelly device is unavailable in home-assistant i'am able to control it through the web ui or with Domoticz.
Only Home-Assistant seems to have this issue.

at 13:15 i manually restarted Home Assistant

13:35:48
Home Assistant restarted
13:24:42
shellyplug-s-7A2FD9 relay 0 turned off
13:24:42
shellyplug-s-7A2FD9 Overheating cleared (no problem detected)
13:24:42
shellyplug-s-7A2FD9 Over Power cleared (no problem detected)
13:24:37
shellyplug-s-7A2FD9 relay 0 changed to unavailable
13:24:37
shellyplug-s-7A2FD9 Overheating changed to unavailable
13:24:37
shellyplug-s-7A2FD9 Over Power changed to unavailable
13:16:05
Home changed to sunny
7:34:05
Home changed to sunny
7:30:54
Shelly Kamer Lamp changed to unavailable
7:25:16
Sun has risen
7:10:10
Shelly Kamer Lamp turned off
7:10:05
Shelly Kamer Lamp changed to unavailable
6:37:05
Home changed to partlycloudy
4:43:05
Home changed to sunny
3:46:05
Home changed to partlycloudy
3:33:35
Shelly Kamer Lamp turned off
3:33:30
Shelly Kamer Lamp changed to unavailable
3:07:16
Shelly Gang Lamp changed to unavailable
2:49:37
Shelly Gang Lamp turned off
2:49:32
Shelly Gang Lamp changed to unavailable
2:02:45
shellyplug-s-7A2FD9 relay 0 turned off
2:02:45
shellyplug-s-7A2FD9 Overheating cleared (no problem detected)
2:02:45
shellyplug-s-7A2FD9 Over Power cleared (no problem detected)
2:02:06
shellyplug-s-7A2FD9 relay 0 changed to unavailable
2:02:06
shellyplug-s-7A2FD9 Overheating changed to unavailable
2:02:06
shellyplug-s-7A2FD9 Over Power changed to unavailable

Having the same issue. mostly it fixes itself when i reboot Home-Assistant. (not really what you want)
When a Shelly device is unavailable in home-assistant i'am able to control it through the web ui or with Domoticz.
Only Home-Assistant seems to have this issue.

Can you please share your home-assistant.log ?
Thank you,

Simone

I have the same issue too.

2020-09-24 15:58:13 ERROR (MainThread) [coap] Connection loss was not expected.
2020-09-24 15:58:13 ERROR (MainThread) [coap] Connection loss was not expected.
2020-09-24 15:58:13 ERROR (MainThread) [coap] Connection loss was not expected.
2020-09-24 15:58:13 ERROR (MainThread) [coap] Connection loss was not expected.
2020-09-24 16:00:14 ERROR (MainThread) [coap] Connection loss was not expected.
2020-09-24 16:02:53 ERROR (MainThread) [coap] Connection loss was not expected.
2020-09-24 16:02:53 ERROR (MainThread) [coap] Connection loss was not expected.
2020-09-24 16:02:53 ERROR (MainThread) [coap] Connection loss was not expected.
2020-09-24 16:02:53 ERROR (MainThread) [coap] Connection loss was not expected.
2020-09-24 16:02:53 ERROR (MainThread) [coap] Connection loss was not expected.
2020-09-24 16:04:22 ERROR (MainThread) [coap] Connection loss was not expected.
2020-09-24 16:05:14 ERROR (MainThread) [frontend.js.latest.202009180] :0:0 ResizeObserver loop completed with undelivered notifications.
2020-09-24 16:05:15 ERROR (MainThread) [frontend.js.latest.202009180] :0:0 ResizeObserver loop completed with undelivered notifications.
2020-09-24 16:10:21 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyplug-s-79A23E data
2020-09-24 16:11:58 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyplug-s-79A23E data
2020-09-24 16:12:15 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyplug-s-79A23E data
2020-09-24 16:15:57 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyplug-s-79A23E data
2020-09-24 16:17:19 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyplug-s-79A23E data
2020-09-24 16:17:39 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyplug-s-79A23E data
2020-09-24 16:19:06 ERROR (MainThread) [coap] Error received and ignored in this codepath: [Errno 2] No such file or directory
2020-09-24 16:19:06 ERROR (MainThread) [homeassistant.components.shelly] Unexpected error fetching shellyplug-s-79A23E data: [Errno 113] Host is unreachable
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 143, in async_refresh
    self.data = await self._async_update_data()
  File "/usr/src/homeassistant/homeassistant/components/shelly/__init__.py", line 88, in _async_update_data
    return await self.device.update()
  File "/usr/local/lib/python3.8/site-packages/aioshelly/__init__.py", line 151, in update
    self._update_s(await self.coap_request("s"))
  File "/usr/local/lib/python3.8/site-packages/aioshelly/__init__.py", line 182, in coap_request
    response = await self.coap_context.request(request).response
  File "/usr/local/lib/python3.8/site-packages/aiocoap/protocol.py", line 731, in _run_outer
    await cls._run(app_request, response, weak_observation, protocol, log)
  File "/usr/local/lib/python3.8/site-packages/aiocoap/protocol.py", line 783, in _run
    blockresponse = await blockrequest.response
OSError: [Errno 113] Host is unreachable
2020-09-24 17:57:49 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyplug-s-7A368E data
2020-09-24 17:57:49 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-32CAFF data
2020-09-24 18:33:48 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyplug-s-7A368E data
2020-09-24 18:33:48 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-32CAFF data
2020-09-24 18:33:49 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyplug-s-B86E9D data
2020-09-24 18:34:05 ERROR (MainThread) [coap] Error received and ignored in this codepath: [Errno 2] No such file or directory
2020-09-24 18:34:05 ERROR (MainThread) [coap] Error received and ignored in this codepath: [Errno 2] No such file or directory
2020-09-24 18:34:05 ERROR (MainThread) [homeassistant.components.shelly] Unexpected error fetching shelly1-32CAFF data: [Errno 113] Host is unreachable
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 143, in async_refresh
    self.data = await self._async_update_data()
  File "/usr/src/homeassistant/homeassistant/components/shelly/__init__.py", line 88, in _async_update_data
    return await self.device.update()
  File "/usr/local/lib/python3.8/site-packages/aioshelly/__init__.py", line 151, in update
    self._update_s(await self.coap_request("s"))
  File "/usr/local/lib/python3.8/site-packages/aioshelly/__init__.py", line 182, in coap_request
    response = await self.coap_context.request(request).response
  File "/usr/local/lib/python3.8/site-packages/aiocoap/protocol.py", line 731, in _run_outer
    await cls._run(app_request, response, weak_observation, protocol, log)
  File "/usr/local/lib/python3.8/site-packages/aiocoap/protocol.py", line 783, in _run
    blockresponse = await blockrequest.response
OSError: [Errno 113] Host is unreachable
2020-09-24 18:41:36 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/aiopylgtv/webos_client.py", line 318, in ping_handler
    await asyncio.wait_for(ping_waiter, timeout=self.timeout_connect)
  File "/usr/local/lib/python3.8/asyncio/tasks.py", line 483, in wait_for
    return fut.result()
websockets.exceptions.ConnectionClosedOK: code = 1001 (going away), reason = server shutting down

2020-09-24 16:19:06 ERROR (MainThread) [coap] Error received and ignored in this codepath: [Errno 2] No such file or directory

This is really strange.

On top of that you have some timeouts that will be better handled with latest code.

Simone

I also have a lot of these, never had any issues using ShellyForHass which I used prior to HA 115.2

2020-09-22 12:03:07 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-1D9A4F data
2020-09-22 13:07:01 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-944106 data
2020-09-22 13:07:52 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-1D9C6E data
2020-09-22 13:14:25 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-1D9C6E data
2020-09-22 13:16:10 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-1D9C6E data
2020-09-22 13:16:45 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-1D9C6E data
2020-09-22 13:19:34 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-944106 data
2020-09-22 13:23:44 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-1D9A4F data
2020-09-22 13:25:23 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-1D9C6E data
2020-09-22 13:33:10 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-1D9A4F data
2020-09-22 13:33:32 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-1D9C6E data
2020-09-22 13:35:48 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-944106 data
2020-09-22 13:37:54 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-1D9C6E data
2020-09-22 13:39:21 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-944106 data
2020-09-22 13:39:46 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-1D9A4F data
2020-09-22 13:40:46 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-1D9A4F data
2020-09-22 13:41:34 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-944106 data
2020-09-22 13:41:58 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-1D9C6E data
2020-09-22 13:43:43 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-944106 data
2020-09-22 13:43:45 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-1D9C6E data
2020-09-22 13:44:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-1D9C6E data
2020-09-22 13:46:11 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-1D9C6E data
2020-09-22 13:47:39 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-1D9C6E data
2020-09-22 13:48:09 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-1D9C6E data
2020-09-22 13:50:34 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-944106 data
2020-09-22 13:50:34 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-1D9C6E data
2020-09-22 13:50:34 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-1D9A4F data

Update: it's definitely not a network issue. This is the same sensor, but the red line is the Shelly integration, while the blue one is through MQTT.
Screenshot: https://i.ibb.co/kmxt5mg/screenshot.png

@vassilis-panos OSError is already fixed home-assistant/core#40393
You have to wait for HA 0.115.3 release.

@vassilis-panos OSError is already fixed #40393
You have to wait for HA 0.115.3 release.

Released just now ;-)

Simone

After version 0.115.3. I still have a problem. Perhaps after a connection problem, HA does not reconnect.

config $ grep shelly *.log
2020-09-25 17:59:51 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 5 seconds
2020-09-25 17:59:52 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 5 seconds
2020-09-25 17:59:52 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 5 seconds
2020-09-25 18:00:04 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 10 seconds
2020-09-25 18:00:17 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 20 seconds
2020-09-25 18:00:42 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 40 seconds
2020-09-25 18:01:02 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 5 seconds
2020-09-25 18:01:13 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 10 seconds
2020-09-25 19:38:47 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Persiana_DER_Dorm_Prin data
config
$

There are no more trace.

In HA is unavailable but I can connect to Shelly by web and it responds to ping

My wife is very angry about this, but with me, not with you, she says that Google Home ignores her :)

Could you add to your HA ping binary sensor to your Shelly device? https://www.home-assistant.io/integrations/ping/#binary-sensor
Thanks to this, we will be sure that the HA has a stable network connection with the device.

It very strange.
ping binary sensor: Disconnected
ping from the O.S. in raspberry Pi with HA:
~ $ ping 192.168.1.144
PING 192.168.1.144 (192.168.1.144): 56 data bytes
64 bytes from 192.168.1.144: seq=0 ttl=254 time=9.422 ms
64 bytes from 192.168.1.144: seq=1 ttl=254 time=37.193 ms
64 bytes from 192.168.1.144: seq=2 ttl=254 time=35.841 ms
64 bytes from 192.168.1.144: seq=3 ttl=254 time=38.321 ms
64 bytes from 192.168.1.144: seq=4 ttl=254 time=32.541 ms
64 bytes from 192.168.1.144: seq=5 ttl=254 time=32.489 ms
64 bytes from 192.168.1.144: seq=6 ttl=254 time=31.386 ms
64 bytes from 192.168.1.144: seq=7 ttl=254 time=34.583 ms
64 bytes from 192.168.1.144: seq=8 ttl=254 time=37.685 ms
64 bytes from 192.168.1.144: seq=9 ttl=254 time=2.524 ms
64 bytes from 192.168.1.144: seq=10 ttl=254 time=23.755 ms
64 bytes from 192.168.1.144: seq=11 ttl=254 time=41.364 ms
64 bytes from 192.168.1.144: seq=12 ttl=254 time=3.838 ms
64 bytes from 192.168.1.144: seq=13 ttl=254 time=29.252 ms
64 bytes from 192.168.1.144: seq=14 ttl=254 time=31.407 ms
64 bytes from 192.168.1.144: seq=15 ttl=254 time=43.532 ms
64 bytes from 192.168.1.144: seq=16 ttl=254 time=30.363 ms
64 bytes from 192.168.1.144: seq=17 ttl=254 time=26.882 ms
64 bytes from 192.168.1.144: seq=18 ttl=254 time=27.405 ms
^C
--- 192.168.1.144 ping statistics ---
19 packets transmitted, 19 packets received, 0% packet loss
round-trip min/avg/max = 2.524/28.935/43.532 ms
~

At the moment it works because I just rebooted. I can raise and lower blinds but the ping is "disconnected".
I have tried putting the binary ping with another device and it is "connected"

I have the same problem. However, it seems like reloading the entity (in the integrations section) makes it show online again, so no need to reboot.

I hope this helps

@vdlr26 Are you sure you used correct hostname/ip address in ping sensor configuration? It's very weird.

I have the same problem. However, it seems like reloading the entity (in the integrations section) makes it show online again, so no need to reboot.

I have similar issues and reloading the integration works. Will attach logs next time it happens.

@OnFreund Could you add binary sensor ping to that device?

what do you mean?

I mean this integration https://www.home-assistant.io/integrations/ping/#binary-sensor
Use Shelly device hostname/IP address as host in the configuration.

OK, but keep in mind I'm on DHCP, so there's a chance the IP address will change after I set it up.

Are you using these changeable IP addresses to configure Shelly integration?

Yes, but the integration is handling these through discovery

When the IP device is changed, Discovery updates the IP in config entry, but the integration itself doesn't get the new IP from config entry while running, but uses the old one until HA restart or config entry reload. Am I wrong?

The discovery path in the config flow calls _abort_if_unique_id_configured, which by default reloads the entry.

Didn't know that, thanks.

The same for me. All shellys end up disconnected but in their own application they were all connected without problems.

Binary sensor configuration:

  • platform: ping
    host: 192.164.1.144
    name: Shelly4
  • platform: ping
    host: 192.164.1.141
    name: Shelly1
  • platform: ping
    host: 192.164.1.142
    name: Shelly2
  • platform: ping
    host: 192.164.1.143
    name: Shelly3
  • platform: ping
    host: www.google.com
    name: Google

All Shelly are Disconected. Google is connected.
ping from linux:
config $ ping 192.168.1.141
PING 192.168.1.141 (192.168.1.141): 56 data bytes
64 bytes from 192.168.1.141: seq=0 ttl=254 time=60.374 ms
64 bytes from 192.168.1.141: seq=1 ttl=254 time=7.227 ms
64 bytes from 192.168.1.141: seq=2 ttl=254 time=3.458 ms
64 bytes from 192.168.1.141: seq=3 ttl=254 time=4.094 ms
64 bytes from 192.168.1.141: seq=4 ttl=254 time=15.379 ms
64 bytes from 192.168.1.141: seq=5 ttl=254 time=2.469 ms
^C
--- 192.168.1.141 ping statistics ---
6 packets transmitted, 6 packets received, 0% packet loss
round-trip min/avg/max = 2.469/15.500/60.374 ms
config $ ping 192.168.1.142
PING 192.168.1.142 (192.168.1.142): 56 data bytes
64 bytes from 192.168.1.142: seq=0 ttl=254 time=39.600 ms
64 bytes from 192.168.1.142: seq=1 ttl=254 time=42.148 ms
64 bytes from 192.168.1.142: seq=2 ttl=254 time=38.652 ms
64 bytes from 192.168.1.142: seq=3 ttl=254 time=34.066 ms
64 bytes from 192.168.1.142: seq=4 ttl=254 time=30.225 ms
64 bytes from 192.168.1.142: seq=5 ttl=254 time=40.098 ms
^C
--- 192.168.1.142 ping statistics ---
6 packets transmitted, 6 packets received, 0% packet loss
round-trip min/avg/max = 30.225/37.464/42.148 ms
config $ ping 192.168.1.143
PING 192.168.1.143 (192.168.1.143): 56 data bytes
64 bytes from 192.168.1.143: seq=0 ttl=254 time=12.436 ms
64 bytes from 192.168.1.143: seq=1 ttl=254 time=49.528 ms
64 bytes from 192.168.1.143: seq=2 ttl=254 time=41.845 ms
64 bytes from 192.168.1.143: seq=3 ttl=254 time=62.539 ms
64 bytes from 192.168.1.143: seq=4 ttl=254 time=2.561 ms
64 bytes from 192.168.1.143: seq=5 ttl=254 time=7.725 ms
64 bytes from 192.168.1.143: seq=6 ttl=254 time=4.378 ms
^C
--- 192.168.1.143 ping statistics ---
7 packets transmitted, 7 packets received, 0% packet loss
round-trip min/avg/max = 2.561/25.858/62.539 ms
config $ ping 192.168.1.144
PING 192.168.1.144 (192.168.1.144): 56 data bytes
64 bytes from 192.168.1.144: seq=0 ttl=254 time=3.353 ms
64 bytes from 192.168.1.144: seq=1 ttl=254 time=2.568 ms
64 bytes from 192.168.1.144: seq=2 ttl=254 time=5.643 ms
64 bytes from 192.168.1.144: seq=3 ttl=254 time=5.850 ms
64 bytes from 192.168.1.144: seq=4 ttl=254 time=15.088 ms
64 bytes from 192.168.1.144: seq=5 ttl=254 time=10.013 ms
64 bytes from 192.168.1.144: seq=6 ttl=254 time=50.201 ms
^C
--- 192.168.1.144 ping statistics ---
7 packets transmitted, 7 packets received, 0% packet loss
round-trip min/avg/max = 2.568/13.245/50.201 ms

home-assistant.log
Hello

Same issue for me, with HA 0.115.3 on docker
Shelly1JardinRelaiPompe switch is unavailable (the configuration use shelly integration), but the temperature sensor plug on it is still online (the configuration use a MQTT configuration)
I used IP adress when setting up Shelly integration, with static IP
I've no problem to control it through the web ui

Shelly firmware : 20200827-065344/v1.8.3@4a8bc427

Logs :
Capture d’écran 2020-09-27 160351
home-assistant.log

I've upgraded to 0.115.3. The problems is still here. I also added ping binary_sensors. See pics below. Actually, round trip time max could be up to 250ms. I confirm that I can access both Shelly devices using their native web-UI.

image

image

Much worse after updating to 0.115.4. Unavailable more Shellies and much more often

Much worse after updating to 0.115.4. Unavailable more Shellies and much more often

Log please.

Simone

Much worse after updating to 0.115.4. Unavailable more Shellies and much more often

Log please.

Simone

I am sorry, I had to remove the integration and back again to MQTT. None of the shellies were working. If I get some time I will try in the near future.

Things were more stable before updating to 0.115.4, even without having any trouble for a day long in any shelly. After upgrade none of them working, and after downgrade again the problem persisted more often than before.

Thank you and regards,
Javier.

Regards.

Much worse after updating to 0.115.4. Unavailable more Shellies and much more often

Log please.
Simone

I am sorry, I had to remove the integration and back again to MQTT. None of the shellies were working. If I get some time I will try in the near future.

Things were more stable before updating to 0.115.4, even without having any trouble for a day long in any shelly. After upgrade none of them working, and after downgrade again the problem persisted more often than before.

Thank you and regards,
Javier.

Regards.

If it makes any difference, I have 24 shelly devices on the shelly integration, and don't see any degradation after upgrading to 0.115.4.
I still have devices become unavailable from time to time and do not recover back till I reload the integration or restart HA.

I still have devices become unavailable from time to time and do not recover back till I reload the integration or restart HA.

Can I see your log as well please ?

Simone

Here's what I came up with so far:

  • My log has the occasional shelly timeout, but it doesn't cause a complete connection loss
  • Complete connection losses in my environment seem to trigger by a real, but temporary, network problem.
  • After such a problem, some of the shelly devices simply don't come back.
  • My logs don't contain anything other than "Timeout fetching"
  • Ping to those devices is good. Ironically, ping to the ones that are connected isn't 🤷‍♂️
  • Outside of HA, no problem reaching the devices.

This issue is very strange. In some systems it's absent, for example in my system I cannot reproduce it completely. Maybe I don't have enough Shelly devices? On the other hand, there are people who only have one device and the problem occurs. I'm completely confused.

I still have devices become unavailable from time to time and do not recover back till I reload the integration or restart HA.

Can I see your log as well please ?

Simone

The issue didn't happen over the last 36 hours.
If it will happen again, I will surely send the logs.

Happened just now.
After this network glitch, all devices became available except the "Master Bedroom Shutter"
There is no additional information in the logs.
Something that may be unrelated, but worth mentioning, is that I have three Shelly Duo bulbs that are offline as the switch powering them is off. HA may be looking to reconnect to them.

2020-09-30 15:58:34 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Master Bedroom Shutter data
2020-09-30 15:58:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Dryer data
2020-09-30 15:58:36 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Living Room Spots data
2020-09-30 15:58:36 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Utility Room Light data
2020-09-30 15:58:38 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Kitchen Light data
2020-09-30 15:58:38 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Yoav's Light & Fan data
2020-09-30 15:58:38 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Study Fan & Light data
2020-09-30 15:58:38 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Entrance Light data
2020-09-30 15:58:38 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Balcony Light data
2020-09-30 15:58:38 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Study Shutter data
2020-09-30 15:58:38 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Right Shutter data
2020-09-30 15:58:38 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Living Room Lights data
2020-09-30 15:58:38 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Washer data
2020-09-30 15:58:38 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Michal's Light & Fan data
2020-09-30 15:58:38 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Left shutter data
2020-09-30 15:58:38 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Bathroom & Hallway lights data
2020-09-30 15:58:38 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Closet Light data
2020-09-30 15:58:38 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Bedroom Light & Fan data
2020-09-30 15:58:38 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Small Bathroom Light data
2020-09-30 15:58:38 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Yoav’s Shutter data
2020-09-30 15:59:19 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 80 seconds
2020-09-30 15:59:19 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 80 seconds
2020-09-30 15:59:19 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 80 seconds
2020-09-30 16:00:42 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 80 seconds
2020-09-30 16:00:42 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 80 seconds
2020-09-30 16:00:42 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 80 seconds

I also have this issue. Right now all my 14 'Shelly 1s' running ESPHome without any issue. I reflashed 1 Shelly for testing with 1.8.3 firmware for native HA integration.

@bieniu
It is easy to reproduce this issue.

A simple reboot from the WebUI of the Shelly 1 will not trigger this issue.

TEST1:

  • Stopped Home Assistant
  • Powered off Shelly 1
  • Started Home Assistant (status is unavailable as expected)

Logs:
2020-09-30 15:14:31 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 5 seconds
2020-09-30 15:14:39 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 10 seconds
2020-09-30 15:14:52 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 20 seconds
2020-09-30 15:15:15 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 40 seconds
2020-09-30 15:15:58 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 80 seconds

No further log entries and Shelly 1 is still unavailable.

TEST 2:

  • Home Assistant is running (status is available for the Shelly 1)
  • Powered off Shelly 1 (status goes to unavailable as expected)

Logs:
2020-09-30 15:27:03 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Büro Licht data

...after 3 minutes I powered the Shelly 1 on again....

No further log entries and Shelly 1 is still unavailable.

My guess after 80 seconds no reconnection is tried from HA to the Shelly device? Independent from the test scenario.

In some network environments (wifi interference, no optimal signal strength) it is possible that a Shelly goes offline for a short time of period. I expect that also after a few minutes offline of a Shelly device, Home Assistant should try to reconnect to the device.

Edit1: E.g. when the Shelly is flashed with ESPhome and used via API in Home Assistant I can power off a Shelly for hours/days/... and after I power it on again, it is comes always back online after a few seconds.

Here is still the same and in dont get my ShellyPro4 added

Am Mi., 30. Sept. 2020 um 15:39 Uhr schrieb tunip <[email protected]

:

I also have this issue. Right now all my 14 'Shelly 1s' running ESPHome
without any issue. I reflashed 1 Shelly for testing with 1.8.3 firmware for
native HA integration.

TEST1:

  • Stopped Home Assistant
  • Powered off Shelly 1
  • Started Home Assistant

Logs:
2020-09-30 15:14:31 WARNING (MainThread) [homeassistant.config_entries]
Config entry for shelly not ready yet. Retrying in 5 seconds
2020-09-30 15:14:39 WARNING (MainThread) [homeassistant.config_entries]
Config entry for shelly not ready yet. Retrying in 10 seconds
2020-09-30 15:14:52 WARNING (MainThread) [homeassistant.config_entries]
Config entry for shelly not ready yet. Retrying in 20 seconds
2020-09-30 15:15:15 WARNING (MainThread) [homeassistant.config_entries]
Config entry for shelly not ready yet. Retrying in 40 seconds
2020-09-30 15:15:58 WARNING (MainThread) [homeassistant.config_entries]
Config entry for shelly not ready yet. Retrying in 80 seconds

TEST 2:

  • Home Assistant is running (status is available for the Shelly 1)
  • Powered off Shelly 1 (status is unavailable as expected)

Logs:
2020-09-30 15:27:03 ERROR (MainThread) [homeassistant.components.shelly]
Timeout fetching Büro Licht data

...after 3 minutes I powered the Shelly 1 on....

No log entries and Shelly 1 is still unavailable.

My guess after 80 seconds no reconnection is tried from HA to the Shelly
device? Independent from the test scenario.

In some network environments it is possible that a Shelly goes offline for
a short time of period. I expect that also after a few minutes offline of a
Shelly device, Home Assistant should try to reconnect to the device.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/core/issues/40411#issuecomment-701397092,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIMLZXJWT2GZLOLLQWK4GPTSIMYI7ANCNFSM4RUSAACQ
.

Here's what I came up with so far:

  • My log has the occasional shelly timeout, but it doesn't cause a complete connection loss
    > * Complete connection losses in my environment seem to trigger by a real, but temporary, network problem.
    > * After such a problem, some of the shelly devices simply don't come back.
  • My logs don't contain anything other than "Timeout fetching"
  • Ping to those devices is good. Ironically, ping to the ones that are connected isn't 🤷‍♂️
  • Outside of HA, no problem reaching the devices.

I totaly agree. This must be 2 different issues.

My shellies (that are configured with the new integration) has flipped to unavailable the hole morning but suddenly stops at 10AM. Strange.

disc

I have 4 shelly
the only 1 unavailable is the shelly with the worst wifi signal. the other one are OK since last sunday

in dont get my ShellyPro4 added

There is no required 1.8.x firmware for Shelly 4Pro.

TEST1:

  • Stopped Home Assistant
  • Powered off Shelly 1
  • Started Home Assistant (status is unavailable as expected)

This doesn't produce issue for me:

2020-09-30 20:54:23 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 10 seconds
2020-09-30 20:54:36 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 20 seconds
2020-09-30 20:54:59 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 40 seconds
2020-09-30 20:55:42 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 80 seconds
2020-09-30 20:57:05 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 80 seconds
2020-09-30 20:58:28 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 80 seconds
2020-09-30 20:59:48 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.shelly
2020-09-30 20:59:48 INFO (SyncWorker_9) [homeassistant.loader] Loaded light from homeassistant.components.light
2020-09-30 20:59:48 INFO (SyncWorker_30) [homeassistant.loader] Loaded cover from homeassistant.components.cover
2020-09-30 20:59:48 INFO (SyncWorker_4) [homeassistant.loader] Loaded sensor from homeassistant.components.sensor
2020-09-30 20:59:48 INFO (SyncWorker_24) [homeassistant.loader] Loaded switch from homeassistant.components.switch
2020-09-30 20:59:48 INFO (MainThread) [homeassistant.setup] Setting up light
2020-09-30 20:59:48 INFO (MainThread) [homeassistant.setup] Setting up cover
2020-09-30 20:59:49 INFO (MainThread) [homeassistant.setup] Setup of domain cover took 0.0 seconds
2020-09-30 20:59:49 INFO (MainThread) [homeassistant.setup] Setting up sensor
2020-09-30 20:59:49 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 0.0 seconds
2020-09-30 20:59:49 INFO (MainThread) [homeassistant.setup] Setting up switch
2020-09-30 20:59:49 INFO (MainThread) [homeassistant.setup] Setup of domain switch took 0.0 seconds
2020-09-30 20:59:49 INFO (MainThread) [homeassistant.setup] Setup of domain light took 0.1 seconds
2020-09-30 20:59:49 INFO (MainThread) [homeassistant.components.cover] Setting up cover.shelly
2020-09-30 20:59:49 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.shelly
2020-09-30 20:59:49 INFO (MainThread) [homeassistant.components.switch] Setting up switch.shelly
2020-09-30 20:59:49 INFO (MainThread) [homeassistant.components.light] Setting up light.shelly
2020-09-30 20:59:49 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Shelly Plug S [7AECF4] Device Temperature because it's disabled
2020-09-30 20:59:53 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching Shelly Plug S [7AECF4] data in 0.011 seconds

But TEST 2 produced the issue. Thanks.

I continue to investigate the bug. I’m currently running 0.155.5:
image

Meanwhile I added one more Shelly device (Shelly1) to my setup. I also turned on full debug mode with default: debug. Finally I added ping binary_sensors to monitor connectivity. I restarted HA and waited until one device became completely unavailable.

It happened at 7:41:17PM with the device named shellyswitch25-1f-hallway with IP 192.168.1.203. (This is actually Shelly1 device, not Shelly2.5).

I grepped the log using cat home-assistant.log | grep -E "2020-09-30\s19:(39|4[0-2]):" | grep -v -E "(zeroconf|vaillant|zha|zigpy|bellows|Keenetic|samsungtv|homekit|pychromecast)" > home-assistant-2020-09-30-shelly-failure-clean.log. The log is attached.

First issue happened at 19:40:39. The device became unavailable.

2020-09-30 19:40:39 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-1f-hallway data
2020-09-30 19:40:39 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shellyswitch25-1f-hallway data in 5.198 seconds
2020-09-30 19:40:39 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=switch.shellyswitch25_1f_hallway_relay_0, old_state=<state switch.shellyswitch25_1f_hallway_relay_0=off; friendly_name=Свет в прихожей, icon=mdi:lightbulb @ 2020-09-30T19:31:03.733797+03:00>, new_state=<state switch.shellyswitch25_1f_hallway_relay_0=unavailable; friendly_name=Свет в прихожей, icon=mdi:lightbulb @ 2020-09-30T19:40:39.989944+03:00>>

But if you look earlier in the log, the message from 192.168.1.203 with message ID 17754 and token 9af3 was successfully received. See here:

2020-09-30 19:40:36 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event timer_out_of_sync[L]: seconds=1.5433356550056487>
2020-09-30 19:40:36 DEBUG (MainThread) [coap] Sending request - Token: 9af3, Remote: <UDP6EndpointAddress 192.168.1.203>
2020-09-30 19:40:36 DEBUG (MainThread) [coap] Sending message <aiocoap.Message at 0xa7a3d358: Type.CON GET (MID 17754, token 9af3) remote <UDP6EndpointAddress 192.168.1.203>, 2 option(s)>
2020-09-30 19:40:36 DEBUG (MainThread) [coap] Exchange added, message ID: 17754.
2020-09-30 19:40:39 DEBUG (MainThread) [coap] Sending request - Token: 45fd, Remote: <UDP6EndpointAddress 192.168.1.202>
2020-09-30 19:40:39 DEBUG (MainThread) [coap] Sending message <aiocoap.Message at 0xa54fb418: Type.CON GET (MID 12601, token 45fd) remote <UDP6EndpointAddress 192.168.1.202>, 2 option(s)>
2020-09-30 19:40:39 DEBUG (MainThread) [coap] Exchange added, message ID: 12601.
2020-09-30 19:40:39 DEBUG (MainThread) [coap] Incoming message <aiocoap.Message at 0xa77ecad8: Type.ACK 2.05 Content (MID 17754, token 9af3) remote <UDP6EndpointAddress 192.168.1.203 with local address>, 4 option(s), 63 byte(s) payload>
2020-09-30 19:40:39 DEBUG (MainThread) [coap] New unique message received
2020-09-30 19:40:39 DEBUG (MainThread) [coap] Exchange removed, message ID: 17754.
2020-09-30 19:40:39 DEBUG (MainThread) [coap] Received Response: <aiocoap.Message at 0xa77ecad8: Type.ACK 2.05 Content (MID 17754, token 9af3) remote <UDP6EndpointAddress 192.168.1.203 with local address>, 4 option(s), 63 byte(s) payload>
2020-09-30 19:40:39 DEBUG (MainThread) [coap] Response <aiocoap.Message at 0xa77ecad8: Type.ACK 2.05 Content (MID 17754, token 9af3) remote <UDP6EndpointAddress 192.168.1.203 with local address>, 4 option(s), 63 byte(s) payload> matched to request
 <aiocoap.tokenmanager.PlumbingRequest object at 0xa7af0928>
2020-09-30 19:40:39 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event timer_out_of_sync[L]: seconds=2.9815002989926143>
2020-09-30 19:40:39 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-1f-hallway data
2020-09-30 19:40:39 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shellyswitch25-1f-hallway data in 5.198 seconds

Please pay attention to a strange messages like Bus:Handling <Event timer_out_of_sync[L]: seconds=1.5433356550056487>
BTW, please also pay attention to the coap exchange with 192.168.1.202 with message ID 12601. Although the exchange was added, coap can’t find matching request after receiving answer from 192.168.1.202:

2020-09-30 19:40:39 DEBUG (MainThread) [coap] Sending message <aiocoap.Message at 0xa54fb418: Type.CON GET (MID 12601, token 45fd) remote <UDP6EndpointAddress 192.168.1.202>, 2 option(s)>
2020-09-30 19:40:39 DEBUG (MainThread) [coap] Exchange added, message ID: 12601.
2020-09-30 19:40:40 DEBUG (MainThread) [coap] Incoming message <aiocoap.Message at 0xa5503fe8: Type.ACK 2.05 Content (MID 12601, token 45fd) remote <UDP6EndpointAddress 192.168.1.202 with local address>, 4 option(s), 223 byte(s) payload>
2020-09-30 19:40:40 DEBUG (MainThread) [coap] New unique message received
2020-09-30 19:40:40 DEBUG (MainThread) [coap] Exchange removed, message ID: 12601.
2020-09-30 19:40:40 DEBUG (MainThread) [coap] Received Response: <aiocoap.Message at 0xa5503fe8: Type.ACK 2.05 Content (MID 12601, token 45fd) remote <UDP6EndpointAddress 192.168.1.202 with local address>, 4 option(s), 223 byte(s) payload>
2020-09-30 19:40:40 INFO (MainThread) [coap] Response <aiocoap.Message at 0xa5503fe8: Type.ACK 2.05 Content (MID 12601, token 45fd) remote <UDP6EndpointAddress 192.168.1.202 with local address>, 4 option(s), 223 byte(s) payload> could not be matched to any request
2020-09-30 19:40:40 INFO (MainThread) [coap] Response not recognized - sending RST.
2020-09-30 19:40:40 DEBUG (MainThread) [coap] Sending message <aiocoap.Message at 0xa95a3f70: Type.RST EMPTY (MID 12601, empty token) remote <UDP6EndpointAddress 192.168.1.202 with local address>>

Anyway, shellyswitch25-1f-hallway recovered at 19:40:50. BTW, from the log you can clearly see that there is no issue with connectivity:

2020-09-30 19:40:53 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=binary_sensor.shelly_1f_hallway, old_state=<state binary_sensor.shelly_1f_hallway=on; round_trip_time_avg=12.295, round_trip_time_max=17.228, round_trip_time_mdev=, round_trip_time_min=4.628, friendly_name=shelly-1f-hallway, device_class=connectivity @ 2020-09-30T17:00:22.794626+03:00>, new_state=<state binary_sensor.shelly_1f_hallway=on; round_trip_time_avg=12.93, round_trip_time_max=28.479, round_trip_time_mdev=, round_trip_time_min=4.147, friendly_name=shelly-1f-hallway, device_class=connectivity @ 2020-09-30T17:00:22.794626+03:00>>

It was annoying, but it quickly recovered. The real problem started at 19:41:16 with message ID 17758

2020-09-30 19:41:16 DEBUG (MainThread) [coap] Sending request - Token: 9af7, Remote: <UDP6EndpointAddress 192.168.1.203>
2020-09-30 19:41:16 DEBUG (MainThread) [coap] Sending message <aiocoap.Message at 0xb1e641c0: Type.CON GET (MID 17758, token 9af7) remote <UDP6EndpointAddress 192.168.1.203>, 2 option(s)>
2020-09-30 19:41:16 DEBUG (MainThread) [coap] Exchange added, message ID: 17758.
…
2020-09-30 19:41:17 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-1f-hallway data
2020-09-30 19:41:17 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shellyswitch25-1f-hallway data in 5.002 seconds
2020-09-30 19:41:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=switch.shellyswitch25_1f_hallway_relay_0, old_state=<state switch.shellyswitch25_1f_hallway_relay_0=off; friendly_name=Свет в прихожей, icon=mdi:lightbulb @ 2020-09-30T19:40:50.368592+03:00>, new_state=<state switch.shellyswitch25_1f_hallway_relay_0=unavailable; friendly_name=Свет в прихожей, icon=mdi:lightbulb @ 2020-09-30T19:41:17.541054+03:00>>
2020-09-30 19:41:17 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2843948056] Sending {'id': 2, 'type': 'event', 'event': <Event state_changed[L]: entity_id=switch.shellyswitch25_1f_hallway_relay_0, old_state=<state switch.shellyswitch25_1f_hallway_relay_0=off; friendly_name=Свет в прихожей, icon=mdi:lightbulb @ 2020-09-30T19:40:50.368592+03:00>, new_state=<state switch.shellyswitch25_1f_hallway_relay_0=unavailable; friendly_name=Свет в прихожей, icon=mdi:lightbulb @ 2020-09-30T19:41:17.541054+03:00>>}
2020-09-30 19:41:18 INFO (MainThread) [coap] Retransmission, Message ID: 17758.
2020-09-30 19:41:21 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event timer_out_of_sync[L]: seconds=1.267956117997528>
2020-09-30 19:41:26 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event timer_out_of_sync[L]: seconds=4.9555760090006515>
2020-09-30 19:41:26 INFO (MainThread) [coap] Retransmission, Message ID: 17758.

This message with ID 17758 was retransmitted just twice, although according to this, it should have been retransmitted 4 times. There was no ACK from 192.168.1.203, I don't know why. The backlog was not cleaned. As far as I understand, in this case we need to clean it manually by sending RST to 192.168.1.203. BTW, I'm not coap expert. Thus next time HA tries to send message to 192.168.1.203, it is not actually sent. It is backlogged. All messages with tokens >= 9af8 are backlogged:

2020-09-30 19:41:27 DEBUG (MainThread) [coap] Sending request - Token: 9af8, Remote: <UDP6EndpointAddress 192.168.1.203>
2020-09-30 19:41:27 DEBUG (MainThread) [coap] Message to <UDP6EndpointAddress 192.168.1.203> put into backlog

And later there is this error:

2020-09-30 19:41:30 DEBUG (MainThread) [coap] Incoming error 113 from <UDP6EndpointAddress 192.168.1.203 with local address>

After this error all messages to 192.168.1.203 are backlogged. And the device became complete unavailable in HA. But it is still available through it's native webUI.

I hope this will help to fix the issue.

While writing this report, another device shellyswitch25-2f-bath with IP 192.168.1.201 died (became unavailable) absolutely in the same way! So, the bug is 100% reproducable.

I have the same problem, no Shelly in my house is available all the time, got the "changed to unavailable" for all my devices regulary (got around 16 devices). Also sometimes they're only available after I restart HomeAssistant (even a shelly which is really close to the access point).

Just to add, I'm another user affected by this. I have two Shelly 2.5, one of them is installed for two or so months now, I ran ShellyForHASS before, switched to Shelly native once it was available. It ran fine.
I had roller blinds installed last week, I installed two more Shelly 2.5 . Two days ago I noticed that one of them didn't react immediately (I use IKEA remote to control the Shelly that controls the blinds). I found out it was unavailable for 5 seconds and I was just lucky to hit exactly that time interval. Next day that Shelly was unavaliable since some time in the night.
I then installed the third Shelly to the other blinds, that one seems to be fine so far.
Yesterday I upgraded to 155.5 and the first Shelly that never had any outage was unavailable since early morning.
All the time while HA reported the Shellies as unavailable I could happily see them connected and access their web interface and use it to control them. If I restart the integration they are brought back to life in HA.
So the behavior is exactly the same as everybody else is reporting and it's not an isolated issue or a connectivity issue it seems.

Can someone test new version of the aioshelly library?
If yes:

  • remove old version: pip uninstall aioshelly
  • install new version: pip install git+https://github.com/bieniu/aioshelly.git@message#aioshelly==0.3.3

Can someone test new version of the aioshelly library?
If yes:

  • remove old version: pip uninstall aioshelly
  • install new version: pip install git+https://github.com/bieniu/aioshelly.git@message#aioshelly==0.3.3

I do not know if I can do that on an supervised installation? Running that command from terminal in the host it appears not detecting aioshelly install, and accesing from terminal inside Home Assistant "pip" is not a recognized command.

If there is a way to do it I can configure again one of my shellies back from MQTT and try it.

Regards.

Can someone test new version of the aioshelly library?
If yes:

  • remove old version: pip uninstall aioshelly
  • install new version: pip install git+https://github.com/bieniu/aioshelly.git@message#aioshelly==0.3.3

@bieniu I've installed aioshelly 0.3.3 and will test it out on 1 of my switches. I will report back in 24 hours. Thank you!

Can someone test new version of the aioshelly library?

Will also test this new version and give you feedback.

Many thanks

same issue with aioshelly 0.3.3
image

@WilldabeastHA This change should fix the permanent unavailable status after power/network failure because I can reproduce only this issue.

I have two hassio setups, one for prod and one for dev.

On my prod setup it looks like this:
image

On my dev setup it looks like this:
image

My prod installation is on a vm on windows server hyperv and my dev is on rasp2.

Is it possible that coap is blocked on my vm server? I have no issues with mqtt

Can someone test new version of the aioshelly library?
If yes:

  • remove old version: pip uninstall aioshelly
  • install new version: pip install git+https://github.com/bieniu/aioshelly.git@message#aioshelly==0.3.3

@bieniu first test looks good. Powered off my Shelly 1 for 5 minutes and i comes back available :-). I will add more Shelly devcies to the HA integration now.

Many thanks for looking into this issue.

@bieniu Many thanks indeed. This seems to work, I ran the debugger on the DataUpdateCoordinator and where it kept giving timeouts before with this version it picks up after devices come online.

@RobBie1221 I'm still testing this change. If there are no negative aspects of this, I will open PR tomorrow.

I also have the same problem with mu 2 shellys i wil put in mine sgellys just for reference for the signal strengh

i have 2 shelly 2.5 with the latest firmware

shelly 1 WiFi RSSI: -65 dBm
firmware 20200827-065456/v1.8.3@4a8bc427
shelly 2 WiFi RSSI: -45 dBm
firmware 20200827-065456/v1.8.3@4a8bc427
and discoveral is on

I hope there wil be a fix otherwise i will go back to mqtt that worked like a charme

same problem for me too. But only with a shelly, others work well for the moment

Same problem here too

2020-10-01 20:56:07 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-8CAAB505B914 data 2020-10-01 20:58:03 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-8CAAB505B914 data 2020-10-01 21:04:25 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-8CAAB505B914 data 2020-10-01 21:16:12 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-8CAAB505B914 data 2020-10-01 21:20:09 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-8CAAB505B914 data 2020-10-01 21:26:14 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-8CAAB505B914 data 2020-10-01 21:37:02 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-8CAAB505B914 data 2020-10-01 21:47:22 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-8CAAB505B914 data 2020-10-01 21:47:52 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-8CAAB505B914 data 2020-10-01 21:51:11 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-8CAAB505B914 data

its literally every few minutes and none stop

Current Shelly firmware version: 20200827-065344/v1.8.3@4a8bc427
Home Assistant 0.115.6

running in a docker on Unraid, no other devices have issues, I only have the 1 shelly device connected

Hope that gives you a bit more info

Edit: Attempted to format the code but it just keeps wrapping around??

My shellies is ok since 5.08AM. It looks like my processor calms down when the issue with shellies stops. Or shelly problem stops when my processor cools down.

image

image

sorry but has something been fixed?

If you are on an official build, you have to wait for 0.116

Ok, thx for fast response

for me it's still here in 0.116b4
i got about 20 shellys running, some are running with a lower signal, but are still available.
they are slower than others when i open up their webinterface, but still running.

2020-10-05 20:01:10 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_2 data
2020-10-05 20:01:10 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-05 20:01:25 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_2 data
2020-10-05 20:01:25 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-05 20:01:40 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-05 20:01:40 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_2 data
2020-10-05 20:03:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_schlafzimmer data
2020-10-05 20:04:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_schlafzimmer data
2020-10-05 20:06:40 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_schlafzimmer data
2020-10-05 20:06:55 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_schlafzimmer data
2020-10-05 20:19:05 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching mess_geschirrspueler data
2020-10-05 20:26:45 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-05 20:26:45 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_2 data
2020-10-05 20:27:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-05 20:29:15 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_schlafzimmer data
2020-10-05 20:31:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_schlafzimmer data
2020-10-05 20:31:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-05 20:34:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-05 20:35:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_schlafzimmer data
2020-10-05 20:35:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_schlafzimmer data
2020-10-05 20:40:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_schlafzimmer data
2020-10-05 20:40:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data

@balloob I'm having the same issues with aioshelly 0.3.4
switches become unavailable and available every few minutes/seconds and appears to be happening more often.

image

Just updated to version 0.115.6 by using pip3 install --upgrade homeassistant

But still "2020-10-07 02:22:44 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyplug-s-7A2FD9 data"
Is there an option somewhere so i can make the timeout time longer before changing to unavailable ?

Because it is usualy a few seconds.

7 oktober 2020
2:22:49 shellyplug-s-7A2FD9 relay 0 turned off
2:22:49 shellyplug-s-7A2FD9 Overheating cleared (no problem detected)
2:22:49 shellyplug-s-7A2FD9 Over Power cleared (no problem detected)
2:22:44 shellyplug-s-7A2FD9 relay 0 changed to unavailable
2:22:44 shellyplug-s-7A2FD9 Overheating changed to unavailable
2:22:44 shellyplug-s-7A2FD9 Over Power changed to unavailable

EDIT: The only issue that i have is with a shelly 1 that powers off when changing from unavailable back to normal, instead of back to previous state.

Please test new version of the aioshelly library. You have to change manifest.json in shelly folder.
Line:
"requirements": ["aioshelly==0.3.4"],
to:
"requirements": ["git+https://github.com/bieniu/aioshelly.git@semaphore#aioshelly==0.3.5b1"],

You can use this test version as a custom component from this repository https://github.com/bieniu/ha-shelly-test

@RobBie1221 @t0bse

Please test new version of the aioshelly library.
pip install git+https://github.com/bieniu/aioshelly.git@semaphore#aioshelly==0.3.5

@RobBie1221 @t0bse

Can I try/do this in a Supervised/HassIO img installation on an Intel NUC? @bieniu

@alundstroem Yes, the easiest way is to use Shelly integration as custom component with modified manifest.json file.

@alundstroem Yes, the easiest way is to use Shelly integration as custom component with modified manifest.json file.

How would I go about doing that? (: @bieniu

Wait a minute, I'll prepare a package for you

@bieniu SWEET 👍

Please test new version of the aioshelly library. You have to change manifest.json in shelly folder.
Line:
"requirements": ["aioshelly==0.3.4"],
to:
"requirements": ["pip install git+https://github.com/bieniu/aioshelly.git@semaphore#aioshelly==0.3.5"],

@RobBie1221 @t0bse

Sure, will test it this evening

@alundstroem https://github.com/bieniu/ha-shelly-test

Thanks @bieniu - If I would have had my previous installation (python venv) I'd just copy the folder to custom_components but as I have HassIO (img)/Supervised... how should I do it?

I've added the "Terminal" app from Supervisor/Add-ons but "config/custom_components" does not contain any "shelly" directory... I added the shelly integration through the GUI the same way as I added Google Cast etc.

Should I remove the shelly integration? Then transfer the folder into config/custom_components? And finally restart? or..?

You have to save shelly folder from repository in /config/custom_components and restart HA. Nothing more.

You have to save shelly folder from repository in /config/custom_components and restart HA. Nothing more.

Great, thanks @bieniu !

Hi.

I dont know if this is the case but when I granted more processor power to my VM my problems is gone.

My beta (dev) installation on a fresh install rasp2 with only shelly integration installed everything works.

@bieniu I've retrieved the directory, placed it into config/custom_components and restarted HA... all shellies are accounted for now (: I'll keep an eye on it.

@bieniu , I've installed your recent fix. But the issue is still here. For example, see exchange with 192.168.1.202:

2020-10-07 15:50:11 DEBUG (MainThread) [coap] Sending request - Token: b03f, Remote: <UDP6EndpointAddress 192.168.1.202>
2020-10-07 15:50:11 DEBUG (MainThread) [coap] Sending message <aiocoap.Message at 0xa8877be0: Type.CON GET (MID 6665, token b03f) remote <UDP6EndpointAddress 192.168.1.202>, 2 option(
s)>
--> 2020-10-07 15:50:11 DEBUG (MainThread) [coap] Exchange added, message ID: 6665.
2020-10-07 15:50:11 DEBUG (MainThread) [coap] Sending request - Token: 3676, Remote: <UDP6EndpointAddress 192.168.1.203>
2020-10-07 15:50:11 DEBUG (MainThread) [coap] Sending message <aiocoap.Message at 0xa6a94ee0: Type.CON GET (MID 37964, token 3676) remote <UDP6EndpointAddress 192.168.1.203>, 2 option(s)>
2020-10-07 15:50:11 DEBUG (MainThread) [coap] Exchange added, message ID: 37964.
2020-10-07 15:50:11 DEBUG (MainThread) [coap] Sending request - Token: ba37, Remote: <UDP6EndpointAddress 192.168.1.201>
2020-10-07 15:50:11 DEBUG (MainThread) [coap] Sending message <aiocoap.Message at 0xa8862b38: Type.CON GET (MID 42658, token ba37) remote <UDP6EndpointAddress 192.168.1.201>, 2 option(s)>
2020-10-07 15:50:11 DEBUG (MainThread) [coap] Exchange added, message ID: 42658.
2020-10-07 15:50:11 DEBUG (MainThread) [coap] Incoming message <aiocoap.Message at 0xa5aab9a0: Type.ACK 2.05 Content (MID 37964, token 3676) remote <UDP6EndpointAddress 192.168.1.203
with local address>, 4 option(s), 63 byte(s) payload>
2020-10-07 15:50:11 DEBUG (MainThread) [coap] New unique message received
2020-10-07 15:50:11 DEBUG (MainThread) [coap] Exchange removed, message ID: 37964.
2020-10-07 15:50:11 DEBUG (MainThread) [coap] Received Response: <aiocoap.Message at 0xa5aab9a0: Type.ACK 2.05 Content (MID 37964, token 3676) remote <UDP6EndpointAddress 192.168.1.203 with local address>, 4 option(s), 63 byte(s) payload>
2020-10-07 15:50:11 DEBUG (MainThread) [coap] Response <aiocoap.Message at 0xa5aab9a0: Type.ACK 2.05 Content (MID 37964, token 3676) remote <UDP6EndpointAddress 192.168.1.203 with local address>, 4 option(s), 63 byte(s) payload> matched to request <aiocoap.tokenmanager.PlumbingRequest object at 0xa5636ca0>
2020-10-07 15:50:11 DEBUG (MainThread) [coap] Incoming message <aiocoap.Message at 0xaf19beb0: Type.ACK 2.05 Content (MID 42658, token ba37) remote <UDP6EndpointAddress 192.168.1.201
with local address>, 4 option(s), 223 byte(s) payload>
2020-10-07 15:50:11 DEBUG (MainThread) [coap] New unique message received
2020-10-07 15:50:11 DEBUG (MainThread) [coap] Exchange removed, message ID: 42658.
2020-10-07 15:50:11 DEBUG (MainThread) [coap] Received Response: <aiocoap.Message at 0xaf19beb0: Type.ACK 2.05 Content (MID 42658, token ba37) remote <UDP6EndpointAddress 192.168.1.201 with local address>, 4 option(s), 223 byte(s) payload>
2020-10-07 15:50:11 DEBUG (MainThread) [coap] Response <aiocoap.Message at 0xaf19beb0: Type.ACK 2.05 Content (MID 42658, token ba37) remote <UDP6EndpointAddress 192.168.1.201 with local address>, 4 option(s), 223 byte(s) payload> matched to request <aiocoap.tokenmanager.PlumbingRequest object at 0xa740b220>
2020-10-07 15:50:11 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 0.232 seconds
2020-10-07 15:50:11 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-2f-bath data in 0.237 seconds
--> 2020-10-07 15:50:13 INFO (MainThread) [coap] Retransmission, Message ID: 6665.
2020-10-07 15:50:16 DEBUG (MainThread) [coap] Sending request - Token: ba38, Remote: <UDP6EndpointAddress 192.168.1.201>
2020-10-07 15:50:16 DEBUG (MainThread) [coap] Sending message <aiocoap.Message at 0xa5885d00: Type.CON GET (MID 42659, token ba38) remote <UDP6EndpointAddress 192.168.1.201>, 2 option(s)>
2020-10-07 15:50:16 DEBUG (MainThread) [coap] Exchange added, message ID: 42659.
2020-10-07 15:50:16 DEBUG (MainThread) [coap] Sending request - Token: 3677, Remote: <UDP6EndpointAddress 192.168.1.203>
2020-10-07 15:50:16 DEBUG (MainThread) [coap] Sending message <aiocoap.Message at 0xab2d1b38: Type.CON GET (MID 37965, token 3677) remote <UDP6EndpointAddress 192.168.1.203>, 2 option(s)>
2020-10-07 15:50:16 DEBUG (MainThread) [coap] Exchange added, message ID: 37965.
2020-10-07 15:50:16 DEBUG (MainThread) [coap] Incoming message <aiocoap.Message at 0xa6a948e0: Type.ACK 2.05 Content (MID 37965, token 3677) remote <UDP6EndpointAddress 192.168.1.203 with local address>, 4 option(s), 63 byte(s) payload>
2020-10-07 15:50:16 DEBUG (MainThread) [coap] New unique message received
2020-10-07 15:50:16 DEBUG (MainThread) [coap] Exchange removed, message ID: 37965.
2020-10-07 15:50:16 DEBUG (MainThread) [coap] Received Response: <aiocoap.Message at 0xa6a948e0: Type.ACK 2.05 Content (MID 37965, token 3677) remote <UDP6EndpointAddress 192.168.1.203 with local address>, 4 option(s), 63 byte(s) payload>
2020-10-07 15:50:16 DEBUG (MainThread) [coap] Response <aiocoap.Message at 0xa6a948e0: Type.ACK 2.05 Content (MID 37965, token 3677) remote <UDP6EndpointAddress 192.168.1.203 with local address>, 4 option(s), 63 byte(s) payload> matched to request <aiocoap.tokenmanager.PlumbingRequest object at 0xa6a944f0>
2020-10-07 15:50:16 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 0.029 seconds
2020-10-07 15:50:16 DEBUG (MainThread) [coap] Incoming message <aiocoap.Message at 0xa87d5a30: Type.ACK 2.05 Content (MID 42659, token ba38) remote <UDP6EndpointAddress 192.168.1.201 with local address>, 4 option(s), 223 byte(s) payload>
2020-10-07 15:50:16 DEBUG (MainThread) [coap] New unique message received
2020-10-07 15:50:16 DEBUG (MainThread) [coap] Exchange removed, message ID: 42659.
2020-10-07 15:50:16 DEBUG (MainThread) [coap] Received Response: <aiocoap.Message at 0xa87d5a30: Type.ACK 2.05 Content (MID 42659, token ba38) remote <UDP6EndpointAddress 192.168.1.201 with local address>, 4 option(s), 223 byte(s) payload>
2020-10-07 15:50:16 DEBUG (MainThread) [coap] Response <aiocoap.Message at 0xa87d5a30: Type.ACK 2.05 Content (MID 42659, token ba38) remote <UDP6EndpointAddress 192.168.1.201 with local address>, 4 option(s), 223 byte(s) payload> matched to request <aiocoap.tokenmanager.PlumbingRequest object at 0xa6a947d8>
2020-10-07 15:50:16 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-2f-bath data in 0.042 seconds
--> 2020-10-07 15:50:16 ERROR (MainThread) [custom_components.shelly] Timeout fetching shellyswitch25-1f-bath data
2020-10-07 15:50:16 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-bath data in 5.002 seconds
2020-10-07 15:50:19 INFO (MainThread) [coap] Retransmission, Message ID: 6665.
2020-10-07 15:50:21 DEBUG (MainThread) [coap] Sending request - Token: b040, Remote: <UDP6EndpointAddress 192.168.1.202>
--> 2020-10-07 15:50:21 DEBUG (MainThread) [coap] Message to <UDP6EndpointAddress 192.168.1.202> put into backlog
[skipped]
--> 2020-10-07 15:50:32 DEBUG (MainThread) [coap] Incoming error 113 from <UDP6EndpointAddress 192.168.1.202 with local address>

As before, as soon as the message is put into backlog, the device becomes completely unavailable.

If needed, I can provide the complete log.

thank you!
i copied the shelly folder in custom components and rebootet now. nothing more to do, just wait for new log entries, right?

for now i still got these entries, but all shellys are running now. i'm talking about 20 shellys integrated.

2020-10-07 15:26:25 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet.
Retrying in 5 seconds
2020-10-07 15:29:15 ERROR (MainThread) [coap] Connection loss was not expected.

so far aioshelly 0.3.5b1 has fixed the issue for me. I've been running for just over 1 hour with out any unavailable status. I will update if it changes. Many thanks for the work on this!

so far aioshelly 0.3.5b1 has fixed the issue for me. I've been running for just over 1 hour with out any unavailable status. I will update if it changes. Many thanks for the work on this!

For me as well, but when I updated from 115.3 to 115.6 it survived 1-2 days too... so I dont know if I can say (for sure) that it is fixed yet ^^ but so far so good

before aioshelly 0.3.5.b1:

2020-10-07 10:48:08 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_2 data
2020-10-07 10:49:24 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 10:50:04 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 10:50:24 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 10:50:44 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 10:50:52 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_3 data
2020-10-07 10:51:51 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-07 10:54:17 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_buero_1 data
2020-10-07 10:55:22 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_lift data
2020-10-07 10:55:34 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 10:55:52 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_1 data
2020-10-07 10:56:42 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_3 data
2020-10-07 10:57:37 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_1 data
2020-10-07 10:57:59 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 10:58:14 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:00:18 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_schlafzimmer data
2020-10-07 11:00:19 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:00:33 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_schlafzimmer data
2020-10-07 11:02:32 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_lift data
2020-10-07 11:03:11 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:03:22 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_1 data
2020-10-07 11:03:31 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:03:37 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_1 data
2020-10-07 11:06:16 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:06:52 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_3 data
2020-10-07 11:06:57 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_1 data
2020-10-07 11:07:27 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_lift data
2020-10-07 11:10:26 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:11:01 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:11:37 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_1 data
2020-10-07 11:12:28 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_2 data
2020-10-07 11:12:37 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_1 data
2020-10-07 11:12:43 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_2 data
2020-10-07 11:13:56 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:15:06 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:15:17 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_1 data
2020-10-07 11:15:41 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-07 11:15:56 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-07 11:16:27 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_1 data
2020-10-07 11:20:56 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:21:31 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:22:41 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:23:12 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_3 data
2020-10-07 11:29:42 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_1 data
2020-10-07 11:29:57 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_lift data
2020-10-07 11:30:08 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_schlafzimmer data
2020-10-07 11:31:11 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:34:48 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_2 data
2020-10-07 11:35:03 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_2 data
2020-10-07 11:36:07 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_1 data
2020-10-07 11:38:46 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:39:01 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:39:16 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:40:01 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:40:01 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-07 11:40:16 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-07 11:40:31 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:40:56 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:41:27 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_3 data
2020-10-07 11:41:27 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_lift data
2020-10-07 11:43:26 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:44:42 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_3 data
2020-10-07 11:47:06 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:47:26 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:47:51 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:48:16 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:48:31 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:48:46 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:49:31 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:49:56 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:53:43 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_schlafzimmer data
2020-10-07 11:54:32 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_1 data
2020-10-07 11:54:42 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_3 data
2020-10-07 11:55:51 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:56:41 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:57:06 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 11:57:07 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_3 data
2020-10-07 12:00:54 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 12:00:54 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_ankleide data
2020-10-07 12:00:56 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:04:21 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:04:36 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:05:23 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_2 data
2020-10-07 12:06:06 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:08:26 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:09:36 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-07 12:09:51 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-07 12:10:06 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-07 12:13:48 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_schlafzimmer data
2020-10-07 12:14:03 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_schlafzimmer data
2020-10-07 12:14:18 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_schlafzimmer data
2020-10-07 12:18:41 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:18:56 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:19:16 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:22:51 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:23:16 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:23:56 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:24:26 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:24:41 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:25:36 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:25:51 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:25:57 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_1 data
2020-10-07 12:25:57 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_3 data
2020-10-07 12:26:21 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:26:36 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:27:16 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:29:21 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:30:01 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:30:22 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_lift data
2020-10-07 12:30:43 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_2 data
2020-10-07 12:32:12 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_1 data
2020-10-07 12:33:01 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:34:41 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-07 12:34:56 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-07 12:35:07 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_lift data
2020-10-07 12:35:11 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-07 12:39:16 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:39:46 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:40:07 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_lift data
2020-10-07 12:40:21 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:41:01 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:41:56 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:42:38 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_schlafzimmer data
2020-10-07 12:42:51 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:50:37 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_lift data
2020-10-07 12:51:17 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_3 data
2020-10-07 12:51:46 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:51:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 12:52:11 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:52:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 12:52:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 12:53:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 12:53:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 12:53:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 12:54:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 12:54:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 12:54:56 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:55:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 12:56:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 12:56:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 12:56:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 12:57:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 12:57:21 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 12:58:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 12:58:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 12:59:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 12:59:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 12:59:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:00:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:00:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:00:56 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 13:01:16 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-07 13:01:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:01:21 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 13:01:31 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-07 13:01:41 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 13:01:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:02:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:03:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:03:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:04:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:04:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:04:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:06:07 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 13:06:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:06:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_2 data
2020-10-07 13:06:57 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 13:07:05 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_2 data
2020-10-07 13:07:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:08:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:08:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:08:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:09:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:10:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:10:42 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 13:11:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:13:12 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_3 data
2020-10-07 13:14:07 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 13:14:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:14:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:15:07 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 13:15:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:15:45 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_schlafzimmer data
2020-10-07 13:16:00 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_schlafzimmer data
2020-10-07 13:16:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:16:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:17:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:17:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:18:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:18:22 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_1 data
2020-10-07 13:19:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:19:22 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 13:19:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:20:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:21:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:23:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:23:32 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 13:23:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:23:57 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 13:24:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:24:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:25:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:26:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:27:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:27:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:28:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:29:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:29:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:31:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:31:22 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_lift data
2020-10-07 13:31:27 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 13:32:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:32:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:32:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:33:10 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_2 data
2020-10-07 13:33:25 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_2 data
2020-10-07 13:34:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:34:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:34:37 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-07 13:34:52 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-07 13:35:07 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-07 13:35:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:36:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:37:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:37:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:37:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:38:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:39:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:39:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:39:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:41:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:44:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:44:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:45:32 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 13:45:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_schlafzimmer data
2020-10-07 13:45:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_schlafzimmer data
2020-10-07 13:46:17 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 13:47:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:48:05 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:50:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:50:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:51:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:51:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:52:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:52:37 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_lift data
2020-10-07 13:53:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:53:22 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_1 data
2020-10-07 13:53:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:53:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:54:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:54:27 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 13:54:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:55:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:55:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:55:47 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 13:56:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:56:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:57:00 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_2 data
2020-10-07 13:57:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:57:30 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_2 data
2020-10-07 13:57:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:57:45 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_2 data
2020-10-07 13:58:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:58:57 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 13:59:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 13:59:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 14:00:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 14:01:12 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-07 14:01:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 14:01:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 14:01:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 14:02:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 14:02:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 14:02:37 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 14:02:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 14:03:02 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_1 data
2020-10-07 14:03:22 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 14:04:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 14:05:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 14:07:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 14:07:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 14:08:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 14:09:05 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 14:10:55 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_schlafzimmer data
2020-10-07 14:14:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 14:18:32 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 14:22:52 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 14:24:12 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 14:24:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 14:25:17 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-07 14:25:32 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-07 14:26:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_2 data
2020-10-07 14:27:07 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_1 data
2020-10-07 14:27:12 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 14:28:42 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 14:32:57 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_1 data
2020-10-07 14:34:02 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 14:34:37 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 14:36:15 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_schlafzimmer data
2020-10-07 14:41:37 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_3 data
2020-10-07 14:45:27 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_buero_1 data
2020-10-07 14:46:12 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 14:47:57 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 14:50:07 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 14:52:37 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 14:53:25 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_2 data
2020-10-07 14:53:52 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 14:54:42 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 14:55:52 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-07 14:56:07 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-07 14:56:42 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 14:56:57 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_buero_1 data
2020-10-07 14:56:57 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 14:57:37 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 14:58:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 14:59:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:00:07 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 15:00:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:00:37 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 15:01:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:03:05 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_schlafzimmer data
2020-10-07 15:05:12 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 15:05:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:05:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:05:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:06:22 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 15:06:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:06:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:07:32 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_lift data
2020-10-07 15:08:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:08:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:09:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:09:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:10:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:10:37 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_buero_1 data
2020-10-07 15:12:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:12:52 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_buero_1 data
2020-10-07 15:13:27 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_buero_1 data
2020-10-07 15:13:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:13:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:14:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:14:42 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_buero_1 data
2020-10-07 15:15:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:17:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:18:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:18:30 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_2 data
2020-10-07 15:18:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:19:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:19:42 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_lift data
2020-10-07 15:20:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:20:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:21:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:21:37 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 15:22:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:22:35 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:22:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 15:22:57 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-07 15:23:12 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data

after update (custom component)... looked like it helped, but now i got no such file or directory and most of my shellys aren't available anymore. never had this before, but i will restart HA now, and give it another try.

2020-10-07 16:07:32 WARNING (zeroconf-Engine-253) [zeroconf] Error sending through socket 17
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/zeroconf/__init__.py", line 2889, in send
    bytes_sent = s.sendto(packet, 0, (real_addr, port))
PermissionError: [Errno 1] Operation not permitted
2020-10-07 18:14:47 ERROR (MainThread) [custom_components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 19:01:01 ERROR (MainThread) [custom_components.shelly] Timeout fetching rol_buero_1 data
2020-10-07 19:01:01 ERROR (MainThread) [custom_components.shelly] Timeout fetching rol_wz_2 data
2020-10-07 19:01:02 ERROR (MainThread) [custom_components.shelly] Timeout fetching licht_buero_2 data
2020-10-07 19:01:02 ERROR (MainThread) [custom_components.shelly] Timeout fetching licht_schlafzimmer data
2020-10-07 19:01:02 ERROR (MainThread) [custom_components.shelly] Timeout fetching rol_lift data
2020-10-07 19:01:02 ERROR (MainThread) [custom_components.shelly] Timeout fetching rol_wz_1 data
2020-10-07 19:01:03 ERROR (MainThread) [custom_components.shelly] Timeout fetching licht_buero_1 data
2020-10-07 19:01:03 ERROR (MainThread) [custom_components.shelly] Timeout fetching dim_esszimmer data
2020-10-07 19:01:03 ERROR (MainThread) [custom_components.shelly] Timeout fetching dim_wz_vorne data
2020-10-07 19:01:03 ERROR (MainThread) [custom_components.shelly] Timeout fetching dim_flur data
2020-10-07 19:01:03 ERROR (MainThread) [custom_components.shelly] Timeout fetching dim_ankleide data
2020-10-07 19:01:03 ERROR (MainThread) [custom_components.shelly] Timeout fetching rol_wz_4 data
2020-10-07 19:01:03 ERROR (MainThread) [custom_components.shelly] Timeout fetching mess_geschirrspueler data
2020-10-07 19:01:03 ERROR (MainThread) [custom_components.shelly] Timeout fetching dim_wz_mitte data
2020-10-07 19:01:03 ERROR (MainThread) [custom_components.shelly] Timeout fetching rol_buero_2 data
2020-10-07 19:01:03 ERROR (MainThread) [custom_components.shelly] Timeout fetching dim_schlafzimmer data
2020-10-07 19:01:03 ERROR (MainThread) [custom_components.shelly] Timeout fetching dim_kueche data
2020-10-07 19:01:03 ERROR (MainThread) [custom_components.shelly] Timeout fetching dim_wz_hinten data
2020-10-07 19:01:03 ERROR (MainThread) [custom_components.shelly] Timeout fetching rol_wz_3 data
2020-10-07 19:02:07 ERROR (MainThread) [coap] Error received and ignored in this codepath: [Errno 2] No such file or directory
2020-10-07 19:02:09 ERROR (MainThread) [coap] Error received and ignored in this codepath: [Errno 2] No such file or directory
2020-10-07 19:02:22 ERROR (MainThread) [coap] Error received and ignored in this codepath: [Errno 2] No such file or directory
2020-10-07 19:02:23 ERROR (MainThread) [coap] Error received and ignored in this codepath: [Errno 2] No such file or directory
2020-10-07 19:02:27 ERROR (MainThread) [coap] Error received and ignored in this codepath: [Errno 2] No such file or directory

Please test new version of the aioshelly library. You have to change manifest.json in shelly folder.
Line:
"requirements": ["aioshelly==0.3.4"],
to:
"requirements": ["git+https://github.com/bieniu/aioshelly.git@semaphore#aioshelly==0.3.5b1"],

You can use this test version as a custom component from this repository https://github.com/bieniu/ha-shelly-test

@RobBie1221 @t0bse

Did you find side effects from the NON message type?
This version is not working for me. Honestly speaking, I'm clueless as to why the NON messagetype doesn't fail. I've been debugging the aiocoap and it seems to me the UDP6EndpointAddress is pretty dead. This connection is built up from sockets. Sockets have one basic disadvantage, when one side goes down hard (essentially without close()), the other side doesn't know that for a long long long time (could be indefinite based on settings). The robust thing would be to detect dead connection and rebuild the UDP connection when available.

See log below, this is the moment where I cut power on a Shelly Vintage Bulb. It keeps retrying one message (49409). Not visible in the log, but in the end I enabled the power again on the Shelly device. It never picks up again.

2020-10-07 18:20:01 DEBUG (MainThread) [coap] Sending request - Token: 8376, Remote: <UDP6EndpointAddress 192.168.1.240>
2020-10-07 18:20:01 DEBUG (MainThread) [coap] Sending message <aiocoap.Message at 0x7fb3202f90d0: Type.CON GET (MID 49409, token 8376) remote <UDP6EndpointAddress 192.168.1.240>, 2 option(s)>
2020-10-07 18:20:01 DEBUG (MainThread) [coap] Exchange added, message ID: 49409.
2020-10-07 18:20:03 INFO (MainThread) [coap] Retransmission, Message ID: 49409.
2020-10-07 18:20:06 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Eettafel_1 data
2020-10-07 18:20:06 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching Eettafel_1 data in 5.003 seconds
2020-10-07 18:20:07 INFO (MainThread) [coap] Retransmission, Message ID: 49409.
2020-10-07 18:20:11 DEBUG (MainThread) [coap] Sending request - Token: 8377, Remote: <UDP6EndpointAddress 192.168.1.240>
2020-10-07 18:20:11 DEBUG (MainThread) [coap] Message to <UDP6EndpointAddress 192.168.1.240> put into backlog
2020-10-07 18:20:15 INFO (MainThread) [coap] Retransmission, Message ID: 49409.
2020-10-07 18:20:16 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching Eettafel_1 data in 5.001 seconds
2020-10-07 18:20:21 DEBUG (MainThread) [coap] Sending request - Token: 8378, Remote: <UDP6EndpointAddress 192.168.1.240>
2020-10-07 18:20:21 DEBUG (MainThread) [coap] Message to <UDP6EndpointAddress 192.168.1.240> put into backlog
2020-10-07 18:20:26 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching Eettafel_1 data in 5.000 seconds
2020-10-07 18:20:31 DEBUG (MainThread) [coap] Sending request - Token: 8379, Remote: <UDP6EndpointAddress 192.168.1.240>
2020-10-07 18:20:31 DEBUG (MainThread) [coap] Message to <UDP6EndpointAddress 192.168.1.240> put into backlog
2020-10-07 18:20:31 INFO (MainThread) [coap] Retransmission, Message ID: 49409.
2020-10-07 18:20:36 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching Eettafel_1 data in 5.008 seconds
2020-10-07 18:20:41 DEBUG (MainThread) [coap] Sending request - Token: 837a, Remote: <UDP6EndpointAddress 192.168.1.240>
2020-10-07 18:20:41 DEBUG (MainThread) [coap] Message to <UDP6EndpointAddress 192.168.1.240> put into backlog
2020-10-07 18:20:46 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching Eettafel_1 data in 5.001 seconds
2020-10-07 18:20:51 DEBUG (MainThread) [coap] Sending request - Token: 837b, Remote: <UDP6EndpointAddress 192.168.1.240>
2020-10-07 18:20:51 DEBUG (MainThread) [coap] Message to <UDP6EndpointAddress 192.168.1.240> put into backlog
2020-10-07 18:20:56 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching Eettafel_1 data in 5.004 seconds
2020-10-07 18:21:01 DEBUG (MainThread) [coap] Sending request - Token: 837c, Remote: <UDP6EndpointAddress 192.168.1.240>
2020-10-07 18:21:01 DEBUG (MainThread) [coap] Message to <UDP6EndpointAddress 192.168.1.240> put into backlog
2020-10-07 18:21:04 INFO (MainThread) [coap] Exchange timed out
2020-10-07 18:21:04 DEBUG (MainThread) [coap] Sending message <aiocoap.Message at 0x7fb33d49cb20: Type.CON GET (MID 49410, token 8377) remote <UDP6EndpointAddress 192.168.1.240>, 2 option(s)>
2020-10-07 18:21:04 DEBUG (MainThread) [coap] Exchange added, message ID: 49410.
2020-10-07 18:21:06 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching Eettafel_1 data in 5.001 seconds
2020-10-07 18:21:06 INFO (MainThread) [coap] Retransmission, Message ID: 49410.
2020-10-07 18:21:07 DEBUG (MainThread) [coap] Incoming error 113 from <UDP6EndpointAddress 192.168.1.240 with local address>
2020-10-07 18:21:07 ERROR (MainThread) [coap] Error received and ignored in this codepath: [Errno 2] No such file or directory
2020-10-07 18:21:07 DEBUG (MainThread) [coap] Incoming error 113 from <UDP6EndpointAddress 192.168.1.240 with local address>
2020-10-07 18:21:11 DEBUG (MainThread) [coap] Sending request - Token: 837d, Remote: <UDP6EndpointAddress 192.168.1.240>
2020-10-07 18:21:11 DEBUG (MainThread) [coap] Message to <UDP6EndpointAddress 192.168.1.240> put into backlog
2020-10-07 18:21:16 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching Eettafel_1 data in 5.002 seconds
2020-10-07 18:21:21 DEBUG (MainThread) [coap] Sending request - Token: 837e, Remote: <UDP6EndpointAddress 192.168.1.240>
2020-10-07 18:21:21 DEBUG (MainThread) [coap] Message to <UDP6EndpointAddress 192.168.1.240> put into backlog
2020-10-07 18:21:26 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching Eettafel_1 data in 5.002 seconds
2020-10-07 18:21:31 DEBUG (MainThread) [coap] Sending request - Token: 837f, Remote: <UDP6EndpointAddress 192.168.1.240>
2020-10-07 18:21:31 DEBUG (MainThread) [coap] Message to <UDP6EndpointAddress 192.168.1.240> put into backlog
2020-10-07 18:21:36 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching Eettafel_1 data in 5.002 seconds
2020-10-07 18:21:41 DEBUG (MainThread) [coap] Sending request - Token: 8380, Remote: <UDP6EndpointAddress 192.168.1.240>
2020-10-07 18:21:41 DEBUG (MainThread) [coap] Message to <UDP6EndpointAddress 192.168.1.240> put into backlog
2020-10-07 18:21:46 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching Eettafel_1 data in 5.001 seconds
2020-10-07 18:21:51 DEBUG (MainThread) [coap] Sending request - Token: 8381, Remote: <UDP6EndpointAddress 192.168.1.240>
2020-10-07 18:21:51 DEBUG (MainThread) [coap] Message to <UDP6EndpointAddress 192.168.1.240> put into backlog
2020-10-07 18:21:56 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching Eettafel_1 data in 5.004 seconds

FYI, this is how the logs looks like with NON message type (where it picks up again)

2020-10-07 18:27:32 DEBUG (MainThread) [coap] Sending request - Token: 1464, Remote: <UDP6EndpointAddress 192.168.1.240>
2020-10-07 18:27:32 DEBUG (MainThread) [coap] Sending message <aiocoap.Message at 0x7f9b88262040: Type.NON GET (MID 4864, token 1464) remote <UDP6EndpointAddress 192.168.1.240>, 2 option(s)>
2020-10-07 18:27:37 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Eettafel_1 data
2020-10-07 18:27:37 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching Eettafel_1 data in 5.003 seconds
2020-10-07 18:27:42 DEBUG (MainThread) [coap] Sending request - Token: 1465, Remote: <UDP6EndpointAddress 192.168.1.240>
2020-10-07 18:27:42 DEBUG (MainThread) [coap] Sending message <aiocoap.Message at 0x7f9b7408f7f0: Type.NON GET (MID 4865, token 1465) remote <UDP6EndpointAddress 192.168.1.240>, 2 option(s)>
2020-10-07 18:27:45 DEBUG (MainThread) [coap] Incoming error 113 from <UDP6EndpointAddress 192.168.1.240 with local address>
2020-10-07 18:27:45 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching Eettafel_1 data in 3.066 seconds
2020-10-07 18:27:50 DEBUG (MainThread) [coap] Sending request - Token: 1466, Remote: <UDP6EndpointAddress 192.168.1.240>
2020-10-07 18:27:50 DEBUG (MainThread) [coap] Sending message <aiocoap.Message at 0x7f9b74180a60: Type.NON GET (MID 4866, token 1466) remote <UDP6EndpointAddress 192.168.1.240>, 2 option(s)>
2020-10-07 18:27:53 DEBUG (MainThread) [coap] Incoming error 113 from <UDP6EndpointAddress 192.168.1.240 with local address>
2020-10-07 18:27:53 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching Eettafel_1 data in 3.061 seconds
2020-10-07 18:27:58 DEBUG (MainThread) [coap] Sending request - Token: 1467, Remote: <UDP6EndpointAddress 192.168.1.240>
2020-10-07 18:27:58 DEBUG (MainThread) [coap] Sending message <aiocoap.Message at 0x7f9b7408f8b0: Type.NON GET (MID 4867, token 1467) remote <UDP6EndpointAddress 192.168.1.240>, 2 option(s)>
2020-10-07 18:28:01 DEBUG (MainThread) [coap] Incoming error 113 from <UDP6EndpointAddress 192.168.1.240 with local address>
2020-10-07 18:28:01 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching Eettafel_1 data in 3.068 seconds
2020-10-07 18:28:06 DEBUG (MainThread) [coap] Sending request - Token: 1468, Remote: <UDP6EndpointAddress 192.168.1.240>
2020-10-07 18:28:06 DEBUG (MainThread) [coap] Sending message <aiocoap.Message at 0x7f9b7408fe80: Type.NON GET (MID 4868, token 1468) remote <UDP6EndpointAddress 192.168.1.240>, 2 option(s)>
2020-10-07 18:28:06 DEBUG (MainThread) [coap] Incoming message <aiocoap.Message at 0x7f9b7418e580: Type.NON 2.05 Content (MID 4868, token 1468) remote <UDP6EndpointAddress 192.168.1.240 with local address>, 4 option(s), 66 byte(s) payload>
2020-10-07 18:28:06 DEBUG (MainThread) [coap] New unique message received
2020-10-07 18:28:06 DEBUG (MainThread) [coap] Received Response: <aiocoap.Message at 0x7f9b7418e580: Type.NON 2.05 Content (MID 4868, token 1468) remote <UDP6EndpointAddress 192.168.1.240 with local address>, 4 option(s), 66 byte(s) payload>
2020-10-07 18:28:06 DEBUG (MainThread) [coap] Response <aiocoap.Message at 0x7f9b7418e580: Type.NON 2.05 Content (MID 4868, token 1468) remote <UDP6EndpointAddress 192.168.1.240 with local address>, 4 option(s), 66 byte(s) payload> matched to request <aiocoap.tokenmanager.PlumbingRequest object at 0x7f9b740b1d60>
2020-10-07 18:28:06 INFO (MainThread) [homeassistant.components.shelly] Fetching Eettafel_1 data recovered
2020-10-07 18:28:06 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching Eettafel_1 data in 0.014 seconds
2020-10-07 18:28:11 DEBUG (MainThread) [coap] Sending request - Token: 1469, Remote: <UDP6EndpointAddress 192.168.1.240>
2020-10-07 18:28:11 DEBUG (MainThread) [coap] Sending message <aiocoap.Message at 0x7f9b7408f730: Type.NON GET (MID 4869, token 1469) remote <UDP6EndpointAddress 192.168.1.240>, 2 option(s)>
2020-10-07 18:28:11 DEBUG (MainThread) [coap] Incoming message <aiocoap.Message at 0x7f9b7408f820: Type.NON 2.05 Content (MID 4869, token 1469) remote <UDP6EndpointAddress 192.168.1.240 with local address>, 4 option(s), 66 byte(s) payload>
2020-10-07 18:28:11 DEBUG (MainThread) [coap] New unique message received
2020-10-07 18:28:11 DEBUG (MainThread) [coap] Received Response: <aiocoap.Message at 0x7f9b7408f820: Type.NON 2.05 Content (MID 4869, token 1469) remote <UDP6EndpointAddress 192.168.1.240 with local address>, 4 option(s), 66 byte(s) payload>
2020-10-07 18:28:11 DEBUG (MainThread) [coap] Response <aiocoap.Message at 0x7f9b7408f820: Type.NON 2.05 Content (MID 4869, token 1469) remote <UDP6EndpointAddress 192.168.1.240 with local address>, 4 option(s), 66 byte(s) payload> matched to request <aiocoap.tokenmanager.PlumbingRequest object at 0x7f9b8824dca0>
2020-10-07 18:28:11 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching Eettafel_1 data in 0.012 seconds

@RobBie1221 The problem is that NON messages are more stable for some users and CON messages for others. I have no idea what is the reason for such differences.

I finally tested aioshelly 0.3.4 with NON messagetype. In my case it is more stable than 0.3.5b1, i.e. devices do not become completely unavailable.

But they still "blink", i.e. the become unavailable and then immediately become available. Here is the pattern:

2020-10-07 22:17:18 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 0.019 seconds
2020-10-07 22:17:23 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 0.038 seconds
2020-10-07 22:17:30 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 1.870 seconds
2020-10-07 22:17:37 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 0.049 seconds
2020-10-07 22:17:42 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 0.020 seconds
2020-10-07 22:17:47 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 0.023 seconds
2020-10-07 22:17:52 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 0.042 seconds
2020-10-07 22:17:57 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 0.026 seconds
2020-10-07 22:18:02 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 0.033 seconds
2020-10-07 22:18:07 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 0.030 seconds
2020-10-07 22:18:12 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 0.024 seconds
2020-10-07 22:18:19 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 0.024 seconds
2020-10-07 22:18:28 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 1.772 seconds
2020-10-07 22:18:33 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 0.032 seconds
2020-10-07 22:18:43 ERROR (MainThread) [custom_components.shelly] Timeout fetching shellyswitch25-1f-hallway data
2020-10-07 22:18:43 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 5.001 seconds
2020-10-07 22:18:49 INFO (MainThread) [custom_components.shelly] Fetching shellyswitch25-1f-hallway data recovered
2020-10-07 22:18:49 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 0.119 seconds
2020-10-07 22:18:54 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 0.023 seconds
2020-10-07 22:18:59 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 0.023 seconds
2020-10-07 22:19:04 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 0.028 seconds
2020-10-07 22:19:09 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 0.027 seconds
2020-10-07 22:19:14 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 0.032 seconds
2020-10-07 22:19:19 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 0.022 seconds
2020-10-07 22:19:24 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 0.019 seconds
2020-10-07 22:19:29 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 0.023 seconds
2020-10-07 22:19:39 ERROR (MainThread) [custom_components.shelly] Timeout fetching shellyswitch25-1f-hallway data
2020-10-07 22:19:39 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 5.002 seconds
2020-10-07 22:19:49 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 5.002 seconds
2020-10-07 22:19:54 INFO (MainThread) [custom_components.shelly] Fetching shellyswitch25-1f-hallway data recovered

Here is a more detailed log for ERROR at 22:18:43

```
2020-10-07 22:18:33 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 0.032 seconds
2020-10-07 22:18:33 DEBUG (MainThread) [coap] Incoming message , 4 option(s), 223 byte(s) payload>
2020-10-07 22:18:33 DEBUG (MainThread) [coap] New unique message received
2020-10-07 22:18:33 DEBUG (MainThread) [coap] Received Response: , 4 option(s), 223 byte(s) payload>
2020-10-07 22:18:33 DEBUG (MainThread) [coap] Response , 4 option(s), 223 byte(s) payload> matched to request
2020-10-07 22:18:33 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-2f-bath data in 0.057 seconds
2020-10-07 22:18:33 DEBUG (MainThread) [coap] Incoming message , 4 option(s), 223 byte(s) payload>
2020-10-07 22:18:33 DEBUG (MainThread) [coap] New unique message received
2020-10-07 22:18:33 DEBUG (MainThread) [coap] Received Response: , 4 option(s), 223 byte(s) payload>
2020-10-07 22:18:33 DEBUG (MainThread) [coap] Response , 4 option(s), 223 byte(s) payload> matched to request
2020-10-07 22:18:33 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-bath data in 0.065 seconds
2020-10-07 22:18:38 DEBUG (MainThread) [coap] Sending request - Token: 5f3b, Remote:
2020-10-07 22:18:38 DEBUG (MainThread) [coap] Sending message , 2 option(s)>
2020-10-07 22:18:38 DEBUG (MainThread) [coap] Sending request - Token: acea, Remote:
2020-10-07 22:18:38 DEBUG (MainThread) [coap] Sending message , 2 option(s)>
2020-10-07 22:18:38 DEBUG (MainThread) [coap] Sending request - Token: 43ac, Remote:
2020-10-07 22:18:38 DEBUG (MainThread) [coap] Sending message , 2 option(s)>
2020-10-07 22:18:38 DEBUG (MainThread) [coap] Incoming message , 4 option(s), 223 byte(s) payload>
2020-10-07 22:18:38 DEBUG (MainThread) [coap] New unique message received
2020-10-07 22:18:38 DEBUG (MainThread) [coap] Received Response: , 4 option(s), 223 byte(s) payload>
2020-10-07 22:18:38 DEBUG (MainThread) [coap] Response , 4 option(s), 223 byte(s) payload> matched to request
2020-10-07 22:18:38 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-bath data in 0.043 seconds
2020-10-07 22:18:38 DEBUG (MainThread) [coap] Incoming message , 4 option(s), 223 byte(s) payload>
2020-10-07 22:18:38 DEBUG (MainThread) [coap] New unique message received
2020-10-07 22:18:38 DEBUG (MainThread) [coap] Received Response: , 4 option(s), 223 byte(s) payload>
2020-10-07 22:18:38 DEBUG (MainThread) [coap] Response , 4 option(s), 223 byte(s) payload> matched to request
2020-10-07 22:18:38 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-2f-bath data in 0.067 seconds
2020-10-07 22:18:43 ERROR (MainThread) [custom_components.shelly] Timeout fetching shellyswitch25-1f-hallway data
2020-10-07 22:18:43 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-hallway data in 5.001 seconds
2020-10-07 22:18:43 DEBUG (MainThread) [coap] Sending request - Token: aceb, Remote:
2020-10-07 22:18:43 DEBUG (MainThread) [coap] Sending message , 2 option(s)>
2020-10-07 22:18:43 DEBUG (MainThread) [coap] Sending request - Token: 5f3c, Remote:
2020-10-07 22:18:43 DEBUG (MainThread) [coap] Sending message , 2 option(s)>
2020-10-07 22:18:43 DEBUG (MainThread) [coap] Incoming message , 4 option(s), 223 byte(s) payload>
2020-10-07 22:18:43 DEBUG (MainThread) [coap] New unique message received
2020-10-07 22:18:43 DEBUG (MainThread) [coap] Received Response: , 4 option(s), 223 byte(s) payload>
2020-10-07 22:18:43 DEBUG (MainThread) [coap] Response , 4 option(s), 223 byte(s) payload> matched to request
2020-10-07 22:18:43 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-1f-bath data in 0.040 seconds
2020-10-07 22:18:43 DEBUG (MainThread) [coap] Incoming message , 4 option(s), 223 byte(s) payload>
2020-10-07 22:18:43 DEBUG (MainThread) [coap] New unique message received
2020-10-07 22:18:43 DEBUG (MainThread) [coap] Received Response: , 4 option(s), 223 byte(s) payload>
2020-10-07 22:18:43 DEBUG (MainThread) [coap] Response , 4 option(s), 223 byte(s) payload> matched to request
2020-10-07 22:18:43 DEBUG (MainThread) [custom_components.shelly] Finished fetching shellyswitch25-2f-bath data in 0.065 seconds
2020-10-07 22:18:49 DEBUG (MainThread) [coap] Sending request - Token: 43ad, Remote:
2020-10-07 22:18:49 DEBUG (MainThread) [coap] Sending message , 2 option(s)>

This morning, one of my shellies were offline again ):

@alundstroem So for you better are NON messages. The integration from HA 0.116.0 should be more stable for you. Thanks for testing.

i got much less timeouts with the custom component, but still many left:

2020-10-08 08:56:25 ERROR (MainThread) [custom_components.shelly] Timeout fetching rol_wz_3 data
2020-10-08 09:11:33 ERROR (MainThread) [custom_components.shelly] Timeout fetching rol_lift data
2020-10-08 09:39:57 ERROR (MainThread) [custom_components.shelly] Timeout fetching dim_wz_mitte data
2020-10-08 09:39:57 ERROR (MainThread) [custom_components.shelly] Timeout fetching dim_schlafzimmer data
2020-10-08 09:39:57 ERROR (MainThread) [custom_components.shelly] Timeout fetching dim_ankleide data
2020-10-08 10:12:35 ERROR (MainThread) [custom_components.shelly] Timeout fetching rol_wz_3 data
2020-10-08 10:38:11 ERROR (MainThread) [custom_components.shelly] Timeout fetching rol_lift data
2020-10-08 13:07:17 ERROR (MainThread) [custom_components.shelly] Timeout fetching rol_wz_2 data
2020-10-08 17:57:16 ERROR (MainThread) [custom_components.shelly] Timeout fetching rol_wz_2 data
2020-10-08 20:34:39 ERROR (MainThread) [custom_components.shelly] Timeout fetching rol_wz_1 data
2020-10-09 00:59:18 ERROR (MainThread) [custom_components.shelly] Timeout fetching rol_wz_2 data
2020-10-09 06:28:48 ERROR (MainThread) [custom_components.shelly] Timeout fetching licht_schlafzimmer data
2020-10-09 06:28:49 ERROR (MainThread) [custom_components.shelly] Timeout fetching rol_buero_1 data
2020-10-09 14:57:33 ERROR (MainThread) [custom_components.shelly] Timeout fetching rol_wz_1 data

FYI, maybe this isn't only an integration issue:

https://www.facebook.com/groups/ShellyIoTCommunitySupport/permalink/3197191990380143/

image
image

i will install this fix and will report here :)

@t0bse: how do you install/upgrade a Shelly manually?

@t0bse: how do you install/upgrade a Shelly manually?

http://shellyip/ota?url=http://provided-url-of-ota-update

not tested yet.
i will remove the custom component and update them in a few hours. lets see :)

Ah, great - I'll just wait for you to report back then ^^

(I cannot test it at the moment, regardless)

I found https://shelly-api-docs.shelly.cloud/, for future reference

I have just installed the FW on one of my shelly2.5 devices and it seems stable.
I will let it run for a few hours and report back

I have just installed the FW on one of my shelly2.5 devices and it seems stable.
I will let it run for a few hours and report back

Just a thought... I trust/hope that the Shelly will discover/upgrade as per usual when there is an official/new version ... like for example 1.9.*

I have just installed the FW on one of my shelly2.5 devices and it seems stable.
I will let it run for a few hours and report back

Just a thought... I trust/hope that the Shelly will discover/upgrade as per usual when there is an official/new version ... like for example 1.9.*

update should be released in 2-3 weeks, like dimitar said

I have just installed the FW on one of my shelly2.5 devices and it seems stable.
I will let it run for a few hours and report back

Just a thought... I trust/hope that the Shelly will discover/upgrade as per usual when there is an official/new version ... like for example 1.9.*

There is an API call you need to run to force it to update from the default URL.

I have just installed the FW on one of my shelly2.5 devices and it seems stable.
I will let it run for a few hours and report back

Just a thought... I trust/hope that the Shelly will discover/upgrade as per usual when there is an official/new version ... like for example 1.9.*

update should be released in 2-3 weeks, like dimitar said

Yes, I read that as well... I just wondered if the Shelly would discover it automatically as per usual... if the Shelly/device in question was updated with this hotfix

I have just installed the FW on one of my shelly2.5 devices and it seems stable.
I will let it run for a few hours and report back

Just a thought... I trust/hope that the Shelly will discover/upgrade as per usual when there is an official/new version ... like for example 1.9.*

There is an API call you need to run to force it to update from the default URL.

Ah, so you mean that if I upgrade my Shelly through the API (/ota?url=...) to get the hotfix I then need to update manually to the latest stable release to get it back on track?

The updated device just became unavailable for 5 seconds and then became available again 👎

I have just installed the FW on one of my shelly2.5 devices and it seems stable.
I will let it run for a few hours and report back

Just a thought... I trust/hope that the Shelly will discover/upgrade as per usual when there is an official/new version ... like for example 1.9.*

There is an API call you need to run to force it to update from the default URL.

Ah, so you mean that if I upgrade my Shelly through the API (/ota?url=...) to get the hotfix I then need to update manually to the latest stable release to get it back on track?

Yes. You should use (/ota?update=true)

The updated device just became unavailable for 5 seconds and then became available again 👎

Please check with a continuous ping as latest hotfix is for WI-FI disconnect.
Integration issue is expected to be something else.

Simone

The updated device just became unavailable for 5 seconds and then became available again 👎

Please check with a continuous ping as latest hotfix is for WI-FI disconnect.
Integration issue is expected to be something else.

Simone

Device has became unavailable for 5 seconds (it's always exactly 5 seconds!) between 16:34:51 and 15:34:56

Here are the ping results from the host that runs HA to the Shelly device:

Mon Oct 12 16:34:47 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=339 ttl=255 time=90.5 ms
Mon Oct 12 16:34:48 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=340 ttl=255 time=32.8 ms
Mon Oct 12 16:34:49 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=341 ttl=255 time=27.6 ms
Mon Oct 12 16:34:50 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=342 ttl=255 time=10.6 ms
Mon Oct 12 16:34:51 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=343 ttl=255 time=28.7 ms
Mon Oct 12 16:34:52 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=344 ttl=255 time=32.0 ms
Mon Oct 12 16:34:53 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=345 ttl=255 time=29.2 ms
Mon Oct 12 16:34:54 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=346 ttl=255 time=24.8 ms
Mon Oct 12 16:34:55 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=347 ttl=255 time=19.4 ms
Mon Oct 12 16:34:56 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=348 ttl=255 time=17.1 ms
Mon Oct 12 16:34:57 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=349 ttl=255 time=16.3 ms
Mon Oct 12 16:34:58 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=350 ttl=255 time=16.7 ms
Mon Oct 12 16:34:59 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=351 ttl=255 time=14.3 ms

I have just installed the FW on one of my shelly2.5 devices and it seems stable.
I will let it run for a few hours and report back

Just a thought... I trust/hope that the Shelly will discover/upgrade as per usual when there is an official/new version ... like for example 1.9.*

There is an API call you need to run to force it to update from the default URL.

Ah, so you mean that if I upgrade my Shelly through the API (/ota?url=...) to get the hotfix I then need to update manually to the latest stable release to get it back on track?

Yes. You should use (/ota?update=true)

@alundstroem I was wrong... when looking at the shelly app it shows me that there is a pending firmware update to the latest version.

since i do not see a quick fix for this.
how can i add the shelly devices by using MQTT instead of the integration?
Mosquitto is already running for when i was using Domoticz.

hoping that by MQTT this issue is not available.

how can i add the shelly devices by using MQTT instead of the integration?

You can use Shellies Discovery from HACS.

With latest official firmware I'm experiencing a 4% ping lost, while trying to run a long ping session.
I'll try the beta firmware posted to see if it improves the ping stability

After loading the new firmware, wifi was quite stable for about 25 minutes. After that I already start experiencing random / short disconnection with ping lost... I will have a longer observation during today

Any of you is a Synology + Docker user ?

Simone

Any of you is a Synology + Docker user ?

Simone

i am using qnap + docker

Any of you is a Synology + Docker user ?
Simone

i am using qnap + docker

Can you please do the following test ?

I'm interested in home-assistant.log.
Please report back also Linux kernel version of your QNAP box.

Thank you in advance for your help,

Simone

I have the same problem.

In my case all works fine until a wifi dropout (such as router restart).
Then the Shelly's remain unavailable until I restart HA..

This happens on my Shelly 2.5 on 0.116.4 using the Shelly Integration via the GUI, which was discovered in my network automatically.

The updated device just became unavailable for 5 seconds and then became available again 👎

Please check with a continuous ping as latest hotfix is for WI-FI disconnect.
Integration issue is expected to be something else.
Simone

Device has became unavailable for 5 seconds (it's always exactly 5 seconds!) between 16:34:51 and 15:34:56

Here are the ping results from the host that runs HA to the Shelly device:

Mon Oct 12 16:34:47 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=339 ttl=255 time=90.5 ms
Mon Oct 12 16:34:48 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=340 ttl=255 time=32.8 ms
Mon Oct 12 16:34:49 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=341 ttl=255 time=27.6 ms
Mon Oct 12 16:34:50 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=342 ttl=255 time=10.6 ms
Mon Oct 12 16:34:51 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=343 ttl=255 time=28.7 ms
Mon Oct 12 16:34:52 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=344 ttl=255 time=32.0 ms
Mon Oct 12 16:34:53 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=345 ttl=255 time=29.2 ms
Mon Oct 12 16:34:54 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=346 ttl=255 time=24.8 ms
Mon Oct 12 16:34:55 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=347 ttl=255 time=19.4 ms
Mon Oct 12 16:34:56 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=348 ttl=255 time=17.1 ms
Mon Oct 12 16:34:57 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=349 ttl=255 time=16.3 ms
Mon Oct 12 16:34:58 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=350 ttl=255 time=16.7 ms
Mon Oct 12 16:34:59 +03 2020: 64 bytes from 10.0.0.207: icmp_seq=351 ttl=255 time=14.3 ms

I also have constant disconnects that lasts exactly five seconds:
2020-10-26 15:26:00 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Belysning uppe data 2020-10-26 15:26:05 INFO (MainThread) [homeassistant.components.shelly] Fetching Belysning uppe data recovered 2020-10-26 15:26:15 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Belysning uppe data 2020-10-26 15:26:20 INFO (MainThread) [homeassistant.components.shelly] Fetching Belysning uppe data recovered

I have two shellys, powered from mains. Connected over 2,4Ghz to Ubiquiti Wireless Access Point. DHCP.
Running HA 0.116.2 from a docker container in Linux.
Firmware of Shellys is the latest that was available when I installed a month ago.
Using the Shelly integration in HA.

image
I don't know if the disconnects are visible in the image but there is a small thin grey line every 20-40 minutes.

The Ubiquiti logs does not mention any problems. The clients are listed as connected for many days and no warnings/errors related to the relevant IP addresses.

I have a Shelly 1 and I have a lot of problems:
Logger: homeassistant.components.shelly
Source: helpers/update_coordinator.py:147
Integration: Shelly (documentation, issues)
First occurred: 17:13:57 (19 occurrences)
Last logged: 21:23:02

Timeout fetching shelly1-XXXXXXXXX data

26 de octubre de 2020
Turned off
21:23:07 - Hace 5 minutos
Became unavailable
21:23:02 - Hace 6 minutos
Turned off
21:13:47 - Hace 15 minutos
Became unavailable
21:13:42 - Hace 15 minutos
Turned off
20:50:12 - Hace 38 minutos
Became unavailable
20:50:07 - Hace 38 minutos
Turned off
20:49:57 - Hace 39 minutos
Became unavailable
20:49:52 - Hace 39 minutos
Turned off
20:24:37 - Hace 1 hora

Are you willing to test the new version of the Shelly integration?
The integration is based on the new version of the aioshelly library (great work @chemelli74), which already has its own COAP support and doesn’t use external packages, which should eliminate most communication errors (entity unavailability). The library also supports listening to multicast, but so far it is not implemented in the integration.

Repo: https://github.com/bieniu/ha-shelly-own-coap

The package is prepared as a custom component so the shelly directory should be copied to /config/custom_components and restart HA is needed after that.

Thanks for testing.

Are you willing to test the new version of the Shelly integration?
The integration is based on the new version of the aioshelly library (great work @chemelli74), which already has its own COAP support and doesn’t use external packages, which should eliminate most communication errors (entity unavailability). The library also supports listening to multicast, but so far it is not implemented in the integration.

Repo: https://github.com/bieniu/ha-shelly-own-coap

The package is prepared as a custom component so the shelly directory should be copied to /config/custom_components and restart HA is needed after that.

Thanks for testing.

will test that at the weekend, is it based on aioshelly from 0.117 ?

Are you willing to test the new version of the Shelly integration?
The integration is based on the new version of the aioshelly library (great work @chemelli74), which already has its own COAP support and doesn’t use external packages, which should eliminate most communication errors (entity unavailability). The library also supports listening to multicast, but so far it is not implemented in the integration.

Repo: https://github.com/bieniu/ha-shelly-own-coap

The package is prepared as a custom component so the shelly directory should be copied to /config/custom_components and restart HA is needed after that.

Thanks for testing.

0.117 without any modifications:
2020-10-29 20:49:46 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-29 20:49:46 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_2 data
2020-10-29 20:50:01 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_2 data
2020-10-29 20:50:01 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-10-29 20:50:16 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_2 data

newest custom_component
2020-10-29 20:56:17 ERROR (MainThread) [custom_components.shelly] Timeout fetching licht_buero_1 data
2020-10-29 20:56:17 ERROR (MainThread) [custom_components.shelly] Timeout fetching licht_buero_2 data
2020-10-29 20:59:02 ERROR (MainThread) [custom_components.shelly] Timeout fetching licht_buero_1 data
2020-10-29 20:59:17 ERROR (MainThread) [custom_components.shelly] Timeout fetching licht_buero_1 data

but those are only "shelly 1" yet ... let's see what the 2.5 are doing over night.

edit: shelly 2.5 are also back at timing out:
2020-10-30 11:17:20 ERROR (MainThread) [custom_components.shelly] Timeout fetching dim_wz_vorne data
2020-10-30 11:17:35 ERROR (MainThread) [custom_components.shelly] Timeout fetching rol_wz_2 data
2020-10-30 11:17:50 ERROR (MainThread) [custom_components.shelly] Timeout fetching dim_wz_hinten data
2020-10-30 11:18:20 ERROR (MainThread) [custom_components.shelly] Timeout fetching rol_buero_1 data
2020-10-30 11:18:35 ERROR (MainThread) [custom_components.shelly] Timeout fetching dim_wz_vorne data
2020-10-30 11:18:50 ERROR (MainThread) [custom_components.shelly] Timeout fetching rol_wz_2 data
2020-10-30 11:19:20 ERROR (MainThread) [custom_components.shelly] Timeout fetching dim_wz_vorne data
2020-10-30 11:19:35 ERROR (MainThread) [custom_components.shelly] Timeout fetching rol_wz_2 data
2020-10-30 11:19:35 ERROR (MainThread) [custom_components.shelly] Timeout fetching rol_buero_1 data
2020-10-30 11:19:40 ERROR (MainThread) [custom_components.shelly] Timeout fetching licht_schlafzimmer data
2020-10-30 11:21:20 ERROR (MainThread) [custom_components.shelly] Timeout fetching dim_wz_vorne data
2020-10-30 11:21:35 ERROR (MainThread) [custom_components.shelly] Timeout fetching dim_wz_vorne data
2020-10-30 11:21:50 ERROR (MainThread) [custom_components.shelly] Timeout fetching dim_wz_hinten data
2020-10-30 11:21:50 ERROR (MainThread) [custom_components.shelly] Timeout fetching dim_wz_vorne data
2020-10-30 11:22:20 ERROR (MainThread) [custom_components.shelly] Timeout fetching rol_wz_2 data
2020-10-30 11:22:20 ERROR (MainThread) [custom_components.shelly] Timeout fetching dim_wz_vorne data
2020-10-30 11:22:35 ERROR (MainThread) [custom_components.shelly] Timeout fetching dim_wz_vorne data
2020-10-30 11:22:35 ERROR (MainThread) [custom_components.shelly] Timeout fetching rol_wz_2 data

Are you willing to test the new version of the Shelly integration?
The integration is based on the new version of the aioshelly library (great work @chemelli74), which already has its own COAP support and doesn’t use external packages, which should eliminate most communication errors (entity unavailability). The library also supports listening to multicast, but so far it is not implemented in the integration.

Repo: https://github.com/bieniu/ha-shelly-own-coap

The package is prepared as a custom component so the shelly directory should be copied to /config/custom_components and restart HA is needed after that.

Thanks for testing.

I have the same Issue... With my ShellyEM.

I'm gonna test it with this... right now. ;)

Are you willing to test the new version of the Shelly integration?
The integration is based on the new version of the aioshelly library (great work @chemelli74), which already has its own COAP support and doesn’t use external packages, which should eliminate most communication errors (entity unavailability). The library also supports listening to multicast, but so far it is not implemented in the integration.
Repo: https://github.com/bieniu/ha-shelly-own-coap
The package is prepared as a custom component so the shelly directory should be copied to /config/custom_components and restart HA is needed after that.
Thanks for testing.

I have the same Issue... With my ShellyEM.

I'm gonna test it with this... right now. ;)

Sorry... still failing. Results:

Home Assistant Version 0.117.1

Antes de Actualizar - Before Update:

_2020-10-30 16:05:21 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyem-C7F243 data
2020-10-30 16:06:11 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyem-C7F243 data
2020-10-30 16:06:26 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyem-C7F243 data
2020-10-30 16:07:01 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyem-C7F243 data
2020-10-30 16:07:16 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyem-C7F243 data
2020-10-30 16:07:31 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyem-C7F243 data
2020-10-30 16:07:46 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyem-C7F243 data
2020-10-30 16:08:01 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyem-C7F243 data_

_Logger: homeassistant.components.shelly
Source: helpers/update_coordinator.py:148
Integration: Shelly (documentation, issues)
First occurred: 16:05:21 (39 occurrences)
Last logged: 16:20:31
Timeout fetching shellyem-C7F243 data_

_Timeout fetching shellyem-C7F243 data
16:20:31 – Shelly (ERROR) - el mensaje se produjo por primera vez a las 16:05:21 y aparece 39 veces_

Después de Actualizar - After Update:

_2020-10-30 16:33:08 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for shelly which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-10-30 16:34:04 WARNING (MainThread) [homeassistant.config_entries] Config entry for shelly not ready yet. Retrying in 5 seconds
2020-10-30 16:34:22 ERROR (MainThread) [custom_components.shelly] Timeout fetching shellyem-C7F243 data
2020-10-30 16:35:15 ERROR (MainThread) [custom_components.shelly] Timeout fetching shellyem-C7F243 data
2020-10-30 16:35:57 ERROR (MainThread) [custom_components.shelly] Timeout fetching shellyem-C7F243 data_

_Logger: custom_components.shelly
Source: helpers/update_coordinator.py:148
Integration: Shelly (documentation)
First occurred: 16:34:22 (6 occurrences)
Last logged: 16:36:49
Timeout fetching shellyem-C7F243 data_

Hope it helps!! Thanks for all!

Hi all,
I'm facing the same issues with SHELLY 1 and 2.5.
I would like to test custom component but I don't know how to use it (maybe I have to modify configuration.yaml).

Please, could you help me?
Thank you.

Maybe I have to do nothing :)

Here my logs:

_2020-11-01 16:53:33 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for shelly which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-11-01 16:53:36 ERROR (MainThread) [homeassistant.components.kodi] Login to 192.168.1.148 failed: []
2020-11-01 16:54:07 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-770136 data
2020-11-01 16:54:35 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-E0F25B data
2020-11-01 16:54:52 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-770136 data
2020-11-01 16:56:00 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-E0F25B data
2020-11-01 16:56:35 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-E0F25B data
2020-11-01 16:56:42 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-770136 data
2020-11-01 16:57:22 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-770136 data
2020-11-01 16:57:35 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-E0F25B data
2020-11-01 16:57:42 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-770136 data
2020-11-01 16:57:57 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-770136 data
2020-11-01 16:58:00 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-E0F25B data
2020-11-01 16:58:12 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-770136 data
2020-11-01 16:58:15 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-E0F25B data
2020-11-01 16:58:35 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-E0F25B data
2020-11-01 16:58:42 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-770136 data
2020-11-01 16:59:12 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-770136 data
2020-11-01 16:59:15 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-E0F25B data
2020-11-01 16:59:27 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-770136 data
2020-11-01 17:00:00 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-E0F25B data
2020-11-01 17:00:14 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-770136 data
2020-11-01 17:00:15 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-E0F25B data
2020-11-01 17:00:39 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-770136 data
2020-11-01 17:00:54 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-770136 data
2020-11-01 17:01:00 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-E0F25B data
2020-11-01 17:01:14 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-770136 data
2020-11-01 17:01:15 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-E0F25B data
2020-11-01 17:01:39 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-770136 data
2020-11-01 17:01:50 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-E0F25B data
2020-11-01 17:01:59 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-770136 data
2020-11-01 17:02:05 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-E0F25B data_

Same problem:
**Logger: homeassistant.components.shelly
Source: helpers/update_coordinator.py:148
Integration: Shelly (documentation, issues)
First occurred: 22:01:15 (15 occurrences)
Last logged: 22:14:35

Timeout fetching Box Consumi data
Timeout fetching Salone Luci Est data
Timeout fetching Giardino Luci data
Timeout fetching shelly1-A4CF12F3E548 data
Timeout fetching Casa Consumi data

Same problem here since I switched to the base integration.

Same here unfortunately with Shelly Plug, Plug S, EM and 2.5.
I'm on 0.117.4

We switched from aiocoap library to our own implementation.
Code is merged on dev branch currently.

So you can wait 0.118.0 or install a development build.

Thank you for your patience,

Simone

We switched from aiocoap library to our own implementation.
Code is merged on dev branch currently.

So you can wait 0.118.0 or install a development build.

Thank you for your patience,

Simone

Thank you for all of your work. Much appreciated!

We switched from aiocoap library to our own implementation.
Code is merged on dev branch currently.

So you can wait 0.118.0 or install a development build.

Thank you for your patience,

Simone

Grazie Simone!

@gigatexel @meme1337 you can also copy code from the current branch into custom components.
@chemelli74 this should also work, right?

@gigatexel @meme1337 you can also copy code from the current branch into custom components.
@chemelli74 this should also work, right?

No, because DataUpdateCoordinator in HA had to be modified to to allow updating data from multicast listen. You must use HA 0.118dev for this new version of Shelly integration to work.

@gigatexel @meme1337 you can also copy code from the current branch into custom components.
@chemelli74 this should also work, right?

No, because DataUpdateCoordinator in HA had to be modified to to allow updating data from multicast listen. You must use HA 0.118dev for this new version of Shelly integration to work.

Pardon my ignorance but is there a release schedule for HA (118) or is it simply ”when ready” - it doesnt matter, just interested (;

EDIT: 18 nov according to https://developers.home-assistant.io/

Pardon my ignorance but is there a release schedule for HA (118) or is it simply ”when ready” - it doesnt matter, just interested (;

Go to https://developers.home-assistant.io/ and on the right, there is the Upcoming Events section 🙂 BTW it is planned to be released at 18 November

I want to bring in some informations. I have a few shelly 2.5; Dimmer 2; Door and Window 2.
Ive spinned up v118dev in Docker today and tested this solution.

  1. Great it is not longer unavailable and holds it last value
  2. Bad is, that Shelly Door and Window 2 is only woken up for 3 seconds to send its changes. In v117 i can see "open"-"unavailable"-"closed".... in v118 it misses every change and only gets all values if i set it to configure mode (press button) and it is woken up for 5 Minutes

@tobi-blue Battery powered devices are still not fully supported. Overall it is much better than it was before because by listening to multicast, integration gets data from the device when device wakes up for a second or two. Previously this was not possible.

Are you willing to test the new version of the Shelly integration?
The integration is based on the new version of the aioshelly library (great work @chemelli74), which already has its own COAP support and doesn’t use external packages, which should eliminate most communication errors (entity unavailability). The library also supports listening to multicast, but so far it is not implemented in the integration.

Repo: https://github.com/bieniu/ha-shelly-own-coap

The package is prepared as a custom component so the shelly directory should be copied to /config/custom_components and restart HA is needed after that.

Thanks for testing.

@bieniu , I've just tested this new version. I confirm that it is much better now! Great job!

Here are the details. I still have a few timeout errors:

2020-11-05 18:17:18 ERROR (MainThread) [custom_components.shelly] Timeout fetching shellyswitch25-2f-bath data

But there were just 11 errors in 3 hours. They could be related to some network issues.

And entities do not become unavailable anymore. This is really great result. Congrats and thank you!

Hi i have a Question when is it possible to get the Shelly Pro 4 back to
work
always when i try to add it i get back unsupportet Firmware i am on the
latest Shelly Pro4 Firmware
if there is a workaround i would like to know also i have some Shelly
Button when is it possible to integrate tham.
Thanks Oliver

Am Do., 5. Nov. 2020 um 18:03 Uhr schrieb smmoroz <[email protected]

:

Are you willing to test the new version of the Shelly integration?
The integration is based on the new version of the aioshelly library
(great work @chemelli74 https://github.com/chemelli74), which already
has its own COAP support and doesn’t use external packages, which should
eliminate most communication errors (entity unavailability). The library
also supports listening to multicast, but so far it is not implemented in
the integration.

Repo: https://github.com/bieniu/ha-shelly-own-coap

The package is prepared as a custom component so the shelly directory
should be copied to /config/custom_components and restart HA is needed
after that.

Thanks for testing.

@bieniu https://github.com/bieniu , I've just tested this new version.
I confirm that it is much better now! Great job!

Here are the details. I still have a few timeout errors:

2020-11-05 18:17:18 ERROR (MainThread) [custom_components.shelly] Timeout fetching shellyswitch25-2f-bath data

But there were just 11 errors in 3 hours. They could be related to some
network issues.

And entities do not become unavailable anymore. This is really great
result. Congrats and thank you!


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/core/issues/40411#issuecomment-722508102,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIMLZXNKQJOG6WXL3MG6EHLSOLLGDANCNFSM4RUSAACQ
.

@ollimagic You have to wait for firmware update from Shelly. We can't do anything with that problem.

@smmoroz This version from repo is already an old version 😉

ok it dont help :-) but thanks for the information

Am Fr., 6. Nov. 2020 um 09:36 Uhr schrieb Maciej Bieniek <
[email protected]>:

@smmoroz https://github.com/smmoroz This version from repo is already
an old version 😉


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/core/issues/40411#issuecomment-722951610,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIMLZXMI6LLA626FGA2GLJLSOOYSNANCNFSM4RUSAACQ
.

@ollimagic I think you should ask Shelly support when 4 Pro receives the update.

@smmoroz This version from repo is already an old version 😉

Got it. I was not so fast to test it ;)

Which one should I use? Or should I just wait for 0.118?

You should wait for 0.118.

I'd just like to thank all of you that have worked on the resolution of this issue: Thank you!

Are you willing to test the new version of the Shelly integration?
The integration is based on the new version of the aioshelly library (great work @chemelli74), which already has its own COAP support and doesn’t use external packages, which should eliminate most communication errors (entity unavailability). The library also supports listening to multicast, but so far it is not implemented in the integration.

Repo: https://github.com/bieniu/ha-shelly-own-coap

The package is prepared as a custom component so the shelly directory should be copied to /config/custom_components and restart HA is needed after that.

Thanks for testing.

I have to say that the issue persists using the new library and shellis continues to become unavailable periodically for 5 seconds.
Here the errors on the log:

2020-11-06 16:47:47 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-98Fxxxxxx data
2020-11-06 16:47:55 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-77xxxx data
2020-11-06 16:48:17 ERROR (MainThread) [custom_components.shelly] Timeout fetching shelly1-98yyyyyyy data

Actually I have HA 0.117.1

@bieniu , I've just tested this new version. I confirm that it is much better now! Great job!

Here are the details. I still have a few timeout errors:

2020-11-05 18:17:18 ERROR (MainThread) [custom_components.shelly] Timeout fetching shellyswitch25-2f-bath data

But there were just 11 errors in 3 hours. They could be related to some network issues.

And entities do not become unavailable anymore. This is really great result. Congrats and thank you!

Using the new library has no effect on my environment. Shellis continue to become unavailable for 5s periodically.
Anyway you say 11 errors in 3 hours that are errors 88 errors in 24 hours. That is not good. IMHO.

@maurizioandreotti60 You wrote that You are using 0.117.1.
The new version will be released in 0.118 so wait for that version or run dev from Github

@maurizioandreotti60 You wrote that You are using 0.117.1.
The new version will be released in 0.118 so wait for that version or run dev from Github

@Misiu I'm using the library from Gitub Repo: https://github.com/bieniu/ha-shelly-own-coap
Are you referring to that one?

117.5
Timeout fetching shellyswitch25-68C63AF9E4C1 data
11:39:15 AM – Shelly (ERROR) - message first occurred at November 11, 2020, 8:54:33 PM and shows up 1072 times
Constant timeouts

117.5
Timeout fetching shellyswitch25-68C63AF9E4C1 data
11:39:15 AM – Shelly (ERROR) - message first occurred at November 11, 2020, 8:54:33 PM and shows up 1072 times
Constant timeouts

We switched from aiocoap library to our own implementation.
Code is merged on dev branch currently.

So you can wait 0.118.0 or install a development build.

Thank you for your patience,

Simone

!!!

117.5
Timeout fetching shellyswitch25-68C63AF9E4C1 data
11:39:15 AM – Shelly (ERROR) - message first occurred at November 11, 2020, 8:54:33 PM and shows up 1072 times
Constant timeouts

We switched from aiocoap library to our own implementation.
Code is merged on dev branch currently.
So you can wait 0.118.0 or install a development build.
Thank you for your patience,
Simone

!!!

thanks! 👍

I installed 0.118 beta via Docker and I can confirm that the Shellys no longer flip to unavailable! Great job guys!

is this also fixed in 0.118b1 ?

is this also fixed in 0.118b1 ?
It should be. If you don't test it yourself I recommend waiting for 0.118, it should be released on Wednesday (2020-11-18)

is this also fixed in 0.118b1 ?
It should be. If you don't test it yourself I recommend waiting for 0.118, it should be released on Wednesday (2020-11-18)

i installed the beta today but it didn‘t fix the bug for me.

@kenlasko wrote just four comments above that 0.118 helped in his case.
If you have errors please post them here. Maybe they can be fixed as part of 0.118.

i installed the beta today but it didn‘t fix the bug for me.

If you used test version I posted make sure you remove the Shelly directory from /config/custom_components
If problem still exists please post debug log for Shelly component.

i installed the beta today but it didn‘t fix the bug for me.

If you used test version I posted make sure you remove the Shelly directory from /config/custom_components
If problem still exists please post debug log for Shelly component.

i removed the component already.

i still got errors like this:
2020-11-13 22:50:48 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_wz_hinten data

will run HA over night and see how much of these errors are logged.

@t0bse Debug log please.

@t0bse Debug log please.

it seems like, only those shellys in long range to my AP are getting unavailable.
but they are working fine, HA isn't patient enough... 😄

debug is running now, but only two errors for now... see
2020-11-14 09:11:49 & 2020-11-14 09:18:58

new 2.txt

@t0bse The log indicates that integration doesn't always receive data from devices via multicast listening.Try to enable "IGMP snooping" for 2,4 GHz WiFi network in the router/AP configuration.

@t0bse The log indicates that integration doesn't always receive data from devices via multicast listening.Try to enable "IGMP snooping" for 2,4 GHz WiFi network in the router/AP configuration.

enabled multigast igmpv3 in ubiquiti contoller, rebootet HA, but:

2020-11-14 09:59:21 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching dim_schlafzimmer data
2020-11-14 09:59:21 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching dim_schlafzimmer data in 18.001 seconds
2020-11-14 09:59:21 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_1 data
2020-11-14 09:59:21 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching licht_buero_1 data in 18.003 seconds
2020-11-14 09:59:21 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_buero_2 data
2020-11-14 09:59:21 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching licht_buero_2 data in 18.004 seconds
2020-11-14 09:59:21 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching licht_schlafzimmer data
2020-11-14 09:59:21 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching licht_schlafzimmer data in 18.003 seconds
2020-11-14 09:59:21 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_buero_2 data
2020-11-14 09:59:21 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching rol_buero_2 data in 18.003 seconds
2020-11-14 09:59:21 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching rol_buero_1 data

Manually updated xxx data in the log means integration get data via multicast listener. Multicast doesn't work well in your network for some reason.

Manually updated xxx data in the log means integration get data via multicast listener. Multicast doesn't work well in your network for some reason.

mmhh okay, so that means all my shellys updating manually and my multicast is not working fine?

I just upgraded to 0.118 but by shellies are also showing as unavailable.

The log shows the following error:

```
Logger: pyShelly
Source: helpers/entity.py:422
First occurred: 2:53:07 PM (20 occurrences)
Last logged: 3:01:11 PM

Error update loop, , Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/pyShelly/__init__.py", line 245, in _update_loop block.check_available() File "/usr/local/lib/python3.8/site-packages/pyShelly/block.py", line 82, in check_available dev.raise_updated() File "/usr/local/lib/python3.8/site-packages/pyShelly/device.py", line 125, in raise_updated callback(self) File "/config/custom_components/shelly/device.py", line 53, in _updated self.schedule_update_ha_state(True) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 422, in schedule_update_ha_state assert self.hass is not None AssertionError
Error update device status: 68C63AFB1832 SHSW-25, , Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/pyShelly/block.py", line 132, in update_status_information dev.update_status_information(status) File "/usr/local/lib/python3.8/site-packages/pyShelly/roller.py", line 59, in update_status_information self._update(state, None, None, {INFO_VALUE_CURRENT_CONSUMPTION:consumption}) File "/usr/local/lib/python3.8/site-packages/pyShelly/device.py", line 115, in _update self.raise_updated() File "/usr/local/lib/python3.8/site-packages/pyShelly/device.py", line 125, in raise_updated callback(self) File "/config/custom_components/shelly/device.py", line 53, in _updated self.schedule_update_ha_state(True) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 422, in schedule_update_ha_state assert self.hass is not None AssertionError
Error update device status: 68C63AFB1832-1 SHSW-25, , Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/pyShelly/block.py", line 132, in update_status_information dev.update_status_information(status) File "/usr/local/lib/python3.8/site-packages/pyShelly/powermeter.py", line 96, in update_status_information self._update(self.state, info_values=self.info_values) File "/usr/local/lib/python3.8/site-packages/pyShelly/device.py", line 115, in _update self.raise_updated() File "/usr/local/lib/python3.8/site-packages/pyShelly/device.py", line 125, in raise_updated callback(self) File "/config/custom_components/shelly/device.py", line 53, in _updated self.schedule_update_ha_state(True) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 422, in schedule_update_ha_state assert self.hass is not None AssertionError

Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/pyShelly/__init__.py", line 245, in _update_loop
block.check_available()
File "/usr/local/lib/python3.8/site-packages/pyShelly/block.py", line 82, in check_available
dev.raise_updated()
File "/usr/local/lib/python3.8/site-packages/pyShelly/device.py", line 125, in raise_updated
callback(self)
File "/config/custom_components/shelly/device.py", line 53, in _updated
self.schedule_update_ha_state(True)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 422, in schedule_update_ha_state
assert self.hass is not None
AssertionError

pyShelly is part of ShellyForHass component and it isn't related to Shelly integration from HA.

@wdmnn, you have a errore related to pyShelly that is not part of this integration. It part of the custom integration ShellyForHass.

Simone

Embarassing, sorry for that

Hi, I still have in the log timeouts:
```Logger: homeassistant.components.shelly
Source: helpers/update_coordinator.py:148
Integration: Shelly (documentation, issues)
First occurred: November 18, 2020, 10:33:33 PM (200 occurrences)
Last logged: 5:20:25 PM

Timeout fetching shellyswitch25-40F520009225 data
Timeout fetching shelly1-10521C46081B data
Timeout fetching shellyswitch25-40F520013A74 data
Timeout fetching shelly1-A4CF12F48152 data
Timeout fetching shellyswitch25-40F520160310 data


2020-11-18 20:45:57 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-40F520008C90 data
2020-11-18 20:47:18 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-A4CF12F48152 data
```

Any idea?

Please open new issue and post there debug log for shelly component.

This issue should be closed.

I will open a new tick, but for meanwhile:
2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Polling Shelly Device - shellyswitch25-40F520009225 2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Polling Shelly Device - shelly1-A4CF12F48152 2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Polling Shelly Device - shelly1-10521C46081B 2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Polling Shelly Device - shelly1-40F520045319 2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Polling Shelly Device - shellyswitch25-40F520160310 2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Polling Shelly Device - shellyswitch25-40F520013A74 2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Polling Shelly Device - shelly1-40F520046237 2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Polling Shelly Device - shellyswitch25-40F52017588B 2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shelly1-A4CF12F48152 data 2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shelly1-A4CF12F48152 data in 0.011 seconds 2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shellyswitch25-40F520009225 data 2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shellyswitch25-40F520009225 data in 0.019 seconds 2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shelly1-40F520045319 data 2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shelly1-40F520045319 data in 0.015 seconds 2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shelly1-40F520046237 data 2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shelly1-40F520046237 data in 0.012 seconds 2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shellyswitch25-40F520160310 data 2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shellyswitch25-40F520160310 data in 0.029 seconds 2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shellyswitch25-40F520013A74 data 2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shellyswitch25-40F520013A74 data in 0.040 seconds 2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shellyswitch25-40F52017588B data 2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shellyswitch25-40F52017588B data in 0.058 seconds 2020-11-19 16:22:13 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shelly1-40F520053C86 data 2020-11-19 16:22:14 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shellyswitch25-40F520008C90 data 2020-11-19 16:22:14 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shellyswitch25-40F520178753 data 2020-11-19 16:22:16 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shelly1-40F52004DC34 data 2020-11-19 16:22:19 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shelly1-40F520045C92 data 2020-11-19 16:22:28 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-10521C46081B data 2020-11-19 16:22:28 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shelly1-10521C46081B data in 18.002 seconds

I will open a new tick, but for meanwhile:

2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Polling Shelly Device - shelly1-A4CF12F48152
2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Polling Shelly Device - shelly1-10521C46081B
2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Polling Shelly Device - shelly1-40F520045319
2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Polling Shelly Device - shellyswitch25-40F520160310
2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Polling Shelly Device - shellyswitch25-40F520013A74
2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Polling Shelly Device - shelly1-40F520046237
2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Polling Shelly Device - shellyswitch25-40F52017588B
2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shelly1-A4CF12F48152 data
2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shelly1-A4CF12F48152 data in 0.011 seconds
2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shellyswitch25-40F520009225 data
2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shellyswitch25-40F520009225 data in 0.019 seconds
2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shelly1-40F520045319 data
2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shelly1-40F520045319 data in 0.015 seconds
2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shelly1-40F520046237 data
2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shelly1-40F520046237 data in 0.012 seconds
2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shellyswitch25-40F520160310 data
2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shellyswitch25-40F520160310 data in 0.029 seconds
2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shellyswitch25-40F520013A74 data
2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shellyswitch25-40F520013A74 data in 0.040 seconds
2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shellyswitch25-40F52017588B data
2020-11-19 16:22:10 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shellyswitch25-40F52017588B data in 0.058 seconds
2020-11-19 16:22:13 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shelly1-40F520053C86 data
2020-11-19 16:22:14 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shellyswitch25-40F520008C90 data
2020-11-19 16:22:14 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shellyswitch25-40F520178753 data
2020-11-19 16:22:16 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shelly1-40F52004DC34 data
2020-11-19 16:22:19 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated shelly1-40F520045C92 data
2020-11-19 16:22:28 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-10521C46081B data
2020-11-19 16:22:28 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shelly1-10521C46081B data in 18.002 seconds```

please share the link to your new ticket, i still got the same issues

please share the link to your new ticket, i still got the same issues

https://github.com/home-assistant/core/issues/43432
I found more info, please check ticket details

Hi. This is happening again with my instalation (1 Shelly 1 and 1 Shelly 1 PM).
In the logs, there are a lot of these, every couple of minutes:
2020-11-27 01:20:44 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1pm-* data
2020-11-27 01:20:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-*
data

Heres's my instalation description:
System Health

Home Assistant Core Integration

version: 0.118.4
installation_type: Home Assistant Supervised
dev: false
hassio: true
docker: true
virtualenv: false
python_version: 3.8.6
os_name: Linux
os_version: 5.4.51-v7+
arch: armv7l
timezone: Europe/Lisbon

Home Assistant Cloud

logged_in: false
can_reach_cert_server: ok
can_reach_cloud_auth: ok
can_reach_cloud: ok

Home Assistant Supervisor

host_os: Raspbian GNU/Linux 10 (buster)
update_channel: beta
supervisor_version: 2020.11.3
docker_version: 19.03.13
disk_total: 28.8 GB
disk_used: 5.4 GB
healthy: true
supported: failed to load: Unsupported
supervisor_api: ok
version_api: ok
installed_addons:

Lovelace

dashboards: 2
mode: auto-gen
resources: 0

The main cause of this issue has been solved. If you still experience issues on the latest version, please open a new issue.

Was this page helpful?
0 / 5 - 0 ratings