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
72.81k stars 30.51k forks source link

Zwave shows Update available but will not update firmware #78288

Closed hecon5 closed 1 year ago

hecon5 commented 2 years ago

The problem

After update to Home Assistant 2022.9.2 Supervisor 2022.08.6 Operating System 8.5 Frontend 20220907.0 - latest, though this happened with 2022.09.0 and .1 as well.

At each reboot of HA, Zwavejs shows a device has firmware update available. Specifically, Plug-in Outdoor Switch V2, 500S, 14298 / ZW4203 by GE/Enbrighten with Firmware: 5.52.

Latest Firmware available shows as 5.53.

If I click update, it will spend about 5 minutes updating, briefly show it updated to 5.53, and then show update available to 5.53 again.

What version of Home Assistant Core has the issue?

2022.9.2

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

Zwavejs

Link to integration documentation on our website

https://www.home-assistant.io/integrations/zwave_js

Diagnostics information

Will append when not on mobile

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

probot-home-assistant[bot] commented 2 years ago

Hey there @home-assistant/z-wave, mind taking a look at this issue as it has been labeled with an integration (zwave_js) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)


zwave_js documentation zwave_js source (message by IssueLinks)

hecon5 commented 2 years ago

zwave_js-4c9933a3c71e0ce1b535305b1329c740-Plug-in Outdoor Switch V2, 500S-d0e862cffc9c36191671bdcc6f2e99ab.json.txt

Interesting note: I upgraded from a Nortek USB dongle to a Zooz one (and I've never had any Aeotec devices ever), and the Zooz is not shown in this; perhaps this is a clue? or just an artifact of having had two controllers?

Either way, I'd like to be able to delete the nortek entry and Aeotec, wondering if because I started with another one, I am stuck unless I perform a full reset?

dap35 commented 2 years ago

I am seeing the same problem with the GE 14288 / ZW1002 Running : Home Assistant 2022.9.4 Supervisor 2022.08.6 Operating System 9.0 Frontend 20220907.2 - latest

Logger: homeassistant.core Source: components/zwave_js/update.py:234 First occurred: 9:05:56 PM (3 occurrences) Last logged: 9:11:50 PM

Error executing service: <ServiceCall update.install (c:01GD1X5Q4X0K9G619P7X3240XP): entity_id=['update.livingroom_floor_lamp_firmware'], backup=False> Error executing service: <ServiceCall update.install (c:01GD1XBC56N8BSM7DJ11EFQR34): entity_id=['update.livingroom_floor_lamp_firmware'], backup=False> Error executing service: <ServiceCall update.install (c:01GD1XBCG6WNHYYKHPH90BDA63): entity_id=['update.livingroom_floor_lamp_firmware'], backup=False> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/zwave_js/update.py", line 229, in async_install await self.driver.controller.async_begin_ota_firmware_update( File "/usr/local/lib/python3.10/site-packages/zwave_js_server/model/controller/init.py", line 734, in async_begin_ota_firmware_update await self.client.async_send_command( File "/usr/local/lib/python3.10/site-packages/zwave_js_server/client.py", line 103, in async_send_command return await future zwave_js_server.exceptions.FailedZWaveCommand: Z-Wave error 201: Failed to start the update: The node did not respond in time! (ZW0201)

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 1756, in catch_exceptions await coro_or_task File "/usr/src/homeassistant/homeassistant/core.py", line 1775, in _execute_service await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)( File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service await service.entity_service_call( File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 676, in entity_service_call future.result() # pop exception if have File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 931, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 713, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/update/init.py", line 152, in async_install await entity.async_install_with_progress(version, backup) File "/usr/src/homeassistant/homeassistant/components/update/init.py", line 411, in async_install_with_progress await self.async_install(version, backup) File "/usr/src/homeassistant/homeassistant/components/zwave_js/update.py", line 234, in async_install raise HomeAssistantError(err) from err homeassistant.exceptions.HomeAssistantError: Z-Wave error 201: Failed to start the update: The node did not respond in time! (ZW0201)

eekdood commented 2 years ago

I'm receiving the same error as @dap35 on 7 Inovelli Red Series Dimmers (LZW31-SN)

zwave_js_server.exceptions.FailedZWaveCommand: Z-Wave error 201: Failed to start the update: The node did not respond in time! (ZW0201)

Home Assistant 2022.9.4 Supervisor 2022.08.6 Operating System 9.0 zwavejs2mqtt: 7.1.0 zwave-js: 10.0.4

eekdood commented 2 years ago

Update: It appears (at least with Inovelli devices) this is related to the firmware update utility's handling of updates containing multiple files.

https://community.inovelli.com/t/plans-to-join-home-assistants-built-in-ota-firmware-update/11404/27

Looks like it's being addressed with #78658

github-actions[bot] commented 1 year ago

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.