home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
74.21k stars 31.16k forks source link

Shelly TRV DeviceConnectionError #130214

Open TheTrueRandom opened 3 weeks ago

TheTrueRandom commented 3 weeks ago

The problem

Same issue as https://github.com/home-assistant/core/issues/105146, unfortunately there the conversation is locked.

@Bohreromir @bieniu @chemelli74 I'd like to reopen this issue because the issue is still present. I agree with the previous comments that it's probably a bug of the shelly TRV devices but I also think that with minimal effort we can improve the experience of homeassistant significantly.

All my shelly TRV devices run the latest firmware (20240619-130912/v2.2.4@ee290818), are connected to unifi APs, which don't show a single issue with the device connection. Opening the web-ui in the browser also so far always worked without any errors.

However still in homeassistant many times when setting a temperature I get the DeviceConnectionError and after 1-2 retries it works. The experience is not good, as automations are not reliable.

Maybe we could add some retries to the homeassistant calls to the shelly TRVs, or make a retry time/count configurable.

What version of Home Assistant Core has the issue?

core-2024.10.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

shelly

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?

No response

Additional information

No response

home-assistant[bot] commented 3 weeks 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!

Code owner commands Code owners of `shelly` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign shelly` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


shelly documentation shelly source (message by IssueLinks)