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
73.63k stars 30.78k forks source link

Shelly push update failures after updating to 2024.5.0 #116640

Closed Stash37 closed 6 months ago

Stash37 commented 6 months ago

The problem

Shelly device Aqua Bed Filler push update failure

Home Assistant is not receiving push updates from the Shelly device Aqua Bed Filler with IP address xxx.xxx.xxx.xxx. Check the CoIoT configuration in the web panel of the device and your network configuration.

What version of Home Assistant Core has the issue?

2024.5.0

What was the last working version of Home Assistant Core?

Previous version

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

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 6 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!

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)

NicolasGoeddel commented 6 months ago

My Shelly temperatur sensors don't work anymore since the update I made today.

clintongormley commented 6 months ago

Yep, all of my Shelly's are dead as of 2024.5.

Here's a debug log home-assistant_shelly_2024-05-02T17-40-20.461Z.log

clintongormley commented 6 months ago

I rolled back with ha core update --version 2024.4.4 and it hasn't resolved the issue

The only other integration which was upgraded at the same time was Securitas, but that looks pretty harmless

https://github.com/guerrerotook/securitas-direct-new-api/releases/tag/v2.7.5.1

thecode commented 6 months ago

My Shelly temperatur sensors don't work anymore since the update I made today.

@NicolasGoeddel Please create a new issue, unrelated to this one

thecode commented 6 months ago

@Stash37 please add which previous version did work as currently I don't know a way to guess that.

Please download the diagnostics from the device card in Home Assistant and attach it in a comment.

Thanks

thecode commented 6 months ago

@clintongormley @NicolasGoeddel each of you having a different issue from the one reported here, please create a new issue, make sure to add diagnostics and logs (@clintongormley your log shows something, I am investigating but still need diagnostic and is unrelated to the issue here).

clintongormley commented 6 months ago

Sorry for that, I misread the description. I've opened issue #116647

Stash37 commented 6 months ago

core_2024.4.4 up to 11 hours ago and then all where fine. home-assistant_shelly_2024-05-02T18-50-08.127Z.log home-assistant_shelly_2024-05-02T17-40-20.461Z.log

Stash37 commented 6 months ago

FYI, when I tell Alexa to turn on/off lights it works with the HA integration with Shelly. If I do a reload on all devices it works for 30-60 sec, then it all starts to fail again

thecode commented 6 months ago

You have a problem with your unicast configuration. This is from your log which shows that unicast is not setup (peer is empty):

'coiot': {'enabled': True, 'update_period': 15, 'peer': ''}

Please follow the docs and setup unicast correctly.

This issue existed for you also in the previous version (which was not reported here), it just didn't complain since we added the repair issue in recent releases due to users having problems with devices not always updating the status. Your comment also explained by this.

Stash37 commented 6 months ago

config_entry-shelly-2374d09a0b32c1f3352f9065ee4aa88a.json config_entry-shelly-135613a1ef6a69162c41f1c0aa29fe03.json config_entry-shelly-d8509a41a3b3cbbd836042cf193bab3f.json config_entry-shelly-d09b58d9281047e20ba89fc96d116dc6.json

Stash37 commented 6 months ago

Thanks Thecode!!!! Works like a sharm and sorry for not read all documents :( You can close this one with solved with success ;)

Mategm commented 6 months ago

I also had this problem. After the HA upgrade to 2024.05 the Shelly is disconnected. I searched for solutions and I found this topic. I followed the documentation what @thecode linked and when i tried to reach the shelly device's settings, I was recognized it, the device is freezed. After I restart it, it's working again in HA.

It is not the first time when a device is discconected from HA after an update, but first time when a Shelly was. So, it's an advice: if an integration is disconnected after an HA update, first check the device that is it works?