Closed Friedrieck closed 7 months ago
Hey there @balloob, @bieniu, @thecode, @chemelli74, @bdraco, mind taking a look at this issue as it has been labeled with an integration (shelly
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
shelly documentation shelly source (message by IssueLinks)
Please only Setup websocket for Shelly battery operated devices (Shelly Plus HT for example). You should not setup websocket for other Shelly Gen2/3 devices as it will cause problems (although this is not the problem you are experiencing.
The logs shows that Gen1 devices and are setup correctly. There are many errors related to custom component nuki_ng
, please first disable it, if possible disable all custom components and check if you still have errors.
The errors that you show are not direct problem of Shelly integration, they are reported by it since we timeout sending a command to the device. I understand that you can control the devices from Shelly App, but this not passing through HA and your HA can't reach the devices.
Can you add information how your Home Assistant server is connected to the network? WiFi, wired? What type of APs/router you have?
I have just swapped out my HA installation from a Pi3 to a Pi4 and since the transfer i am having a similar issue, Shelly Device Push update error. I have checked and refreshed the CoIoT peer settings a number of times. I'm on the same IP address as before. Strange thing is i can still control my shelly devices from HA??
Did you reboot the device after modifying CoIoT ? If push doesn't work then the integration switch to polling and this is why it still works but it's not realtime
@bocsteganau please create a new issue, make sure to follow the docs before and add diagnostics from the device card in HA.
Thanks for your response.
Can you add information how your Home Assistant server is connected to the network? WiFi, wired? What type of APs/router you have?
I use a Home Assistant Blue / Hardkernel ODROID-N2, wired directly to the FritzBox router. WiFi is otherwise extended with several repeaters of the same brand.
Sorry to repeat it, maybe a coincidence, but I never had these problems when using Shelly4Hass.
For the custom integrations, I'll have to find a time slot to test that (disabling them is quite impacting).
I have same problem. My log is also full of Error fetching data: DeviceConnectionError()
I don't have a nuki_ng so it will be something else. Right now I am on core-2024.4.0 but the problem is same through multiple versions back. The Shelly is fully accessible via IP all the time, so there is some problem between Shelly and HA. It's extremely unreliable, almost unusable.
I have same problem. My log is also full of
Error fetching data: DeviceConnectionError()
@endrju666 this is a different issue, please create a new issue and add diagnostics and logs.
this is a different issue
Are you sure? I have several occurrences of that message in my posted log as well.
Between 26/03 and today, I got 465 times the error Error fetching data: DeviceConnectionError()
in my log, all in relation with Shelly devices (mainly plugs, but also switches, ix3):
Enregistreur: homeassistant.components.shelly
Source: helpers/update_coordinator.py:350
intégration: Shelly (documentation, problèmes)
S'est produit pour la première fois: 26 mars 2024 à 20:29:11 (465 occurrences)
Dernier enregistrement: 09:17:12
Error fetching Couverture chauffante data: Error fetching data: DeviceConnectionError()
Error fetching Hêtre data: Error fetching data: DeviceConnectionError()
Error fetching Portail data: Error fetching data: DeviceConnectionError()
Error fetching Séchoir data: Error fetching data: DeviceConnectionError()
Error fetching Lave-vaisselle data: Error fetching data: DeviceConnectionError()
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The problem
A few weeks ago, I decided to move from HACS' Shelly4Hass to the core Shelly integration. Since then, my Shelly devices are not reliable anymore. They sometimes work, sometimes not. When they don't, the Shelly Android app controls them fine and the related
device_trackers
areat_home
in HA. I have followed all instructions I could find: all devices' firmware are up-to-date; CoIoT/unicast set for the old ones, WS for the most recent; static IPs in the app, reserved IPs in my router's DHCP; AP roaming activated... Please help. It's really annoying not being able to rely on these devices anymore.What version of Home Assistant Core has the issue?
core-2024.3.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Shelly
Link to integration documentation on our website
https://www.home-assistant.io/integrations/shelly
Diagnostics information
Some sample diag files config_entry-shelly-1be5f26e22cf196438da65a8571b14f2-couv.json config_entry-shelly-3a3a067d2bb109b6b3bca3d35070000c-portail.json
Debug log file: home-assistant_shelly_2024-03-26T19-45-14.937Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response