core: Timeout fetching shelly1
The problem
Hy all,
a couple times a Day, it appears an issue where all my shelly are unavailable at the same time.

Like in the picture it happens every couple of hours. I uninstalled the Fritz Box Integration because i thougt about a network error this made it a lot better but it is still there.
It is the third night in a row where nothing happened, so when everybody is asleep and computers and tvs are of and there is less traffic on the network it seems to be good.
Unfortunately i realy su… at troubleshooting and reading error logs. If you might push me in the right direction this might be a great help.
If i should provide more traces please tell me how and i will do.
What version of Home Assistant Core has the issue?
2022.5.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
shelly integration
Link to integration documentation on our website
https://www.home-assistant.io/integrations/shelly/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
2022-05-16 18:25:25 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Garagentoroeffner data
2022-05-16 18:25:25 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching Garagentoroeffner data in 18.003 seconds (success: False)
2022-05-16 18:25:28 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Ambiente links data
2022-05-16 18:25:28 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching Ambiente links data in 18.002 seconds (success: False)
2022-05-16 18:25:28 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Ambiente rechts data
2022-05-16 18:25:28 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching Ambiente rechts data in 18.008 seconds (success: False)
2022-05-16 18:25:29 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Wohnzimmer Nord data
2022-05-16 18:25:29 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching Wohnzimmer Nord data in 18.003 seconds (success: False)
2022-05-16 18:25:30 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-C45BBE57E881 data
2022-05-16 18:25:30 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching shelly1-C45BBE57E881 data in 18.002 seconds (success: False)
2022-05-16 18:25:36 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Dunstabzug data
2022-05-16 18:25:36 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching Dunstabzug data in 18.002 seconds (success: False)
2022-05-16 18:25:45 DEBUG (MainThread) [aioshelly.coap] CoapMessage: ip=192.168.0.157, type=periodic(30), payload={'G': [[0, 9103, 1], [0, 1101, 0], [0, 2101, 0], [0, 2102, ''], [0, 2103, 0]]}
2022-05-16 18:25:45 DEBUG (MainThread) [aioshelly.coap] Calling CoAP message update for device 192.168.0.157
2022-05-16 18:25:45 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated Dunstabzug data
2022-05-16 18:25:49 DEBUG (MainThread) [aioshelly.coap] CoapMessage: ip=192.168.0.156, type=periodic(30), payload={'G': [[0, 9103, 1], [0, 1101, 0], [0, 2101, 0], [0, 2102, ''], [0, 2103, 0]]}
2022-05-16 18:25:49 DEBUG (MainThread) [aioshelly.coap] Calling CoAP message update for device 192.168.0.156
2022-05-16 18:25:49 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated Garagentoroeffner data
2022-05-16 18:25:52 DEBUG (MainThread) [aioshelly.coap] CoapMessage: ip=192.168.0.158, type=periodic(30), payload={'G': [[0, 9103, 1], [0, 1101, 0], [0, 5105, 0], [0, 5106, 0], [0, 5107, 0], [0, 5108, 51], [0, 5102, 15], [0, 5109, 0], [0, 4101, 0.0], [0, 4103, 0], [0, 6102, 0], [0, 2101, 0], [0, 2102, ''], [0, 2103, 0], [0, 9101, 'color']]}
2022-05-16 18:25:52 DEBUG (MainThread) [aioshelly.coap] Calling CoAP message update for device 192.168.0.158
2022-05-16 18:25:52 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated Ambiente rechts data
2022-05-16 18:25:52 DEBUG (MainThread) [aioshelly.coap] CoapMessage: ip=192.168.0.159, type=periodic(30), payload={'G': [[0, 9103, 5], [0, 1101, 0], [0, 5105, 0], [0, 5106, 0], [0, 5107, 0], [0, 5108, 51], [0, 5102, 14], [0, 5109, 0], [0, 4101, 0.0], [0, 4103, 0], [0, 6102, 0], [0, 2101, 0], [0, 2102, ''], [0, 2103, 0], [0, 9101, 'color']]}
2022-05-16 18:25:52 DEBUG (MainThread) [aioshelly.coap] Calling CoAP message update for device 192.168.0.159
Additional information
https://github.com/home-assistant/core/issues/71552
This above doesn’t seem to be the problem, because my shellys are gen.1 and those above aren’t.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (6 by maintainers)
Hy there,
i think you pointed me in the right direction. I’m running a fritzbox and had the raspy connected via a powerline and one of these tplink powerline adaptors seemed to stop working every couple of hours. I connected the raspy direktly to the router and hadn’t one single dropout of my shellys since then. Gonna wait until tomorrow and see if it stays like this.
Thank you so much for your help i really appreciate it.