Unable to update Third Reality plug firmware over ZHA
The problem
ZHA firmware fails to update. It tries then fails after about 3 seconds.
What version of Home Assistant Core has the issue?
Core-2024.5.2
What was the last working version of Home Assistant Core?
Never
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Home Assistant WebSocket API
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:239
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 1:42:27 PM (1 occurrences)
Last logged: 1:42:27 PM
[281472317300672] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 239, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2738, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2779, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 975, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1047, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 157, in async_install
await entity.async_install_with_progress(version, backup)
File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 461, in async_install_with_progress
await self.async_install(version, backup)
File "/usr/src/homeassistant/homeassistant/components/zha/update.py", line 196, in async_install
raise HomeAssistantError(f"Update was not successful: {result}")
homeassistant.exceptions.HomeAssistantError: Update was not successful: <Status.FAILURE: 1>
Additional information
No response
This exact trace I get when try to control my smart switches. Something is definitely wrong with zha implementation.
I'm having the same issue trying to update my third reality smart plug gen 2 zigbee plugs. It fails to update on 2024.5.2 and 2024.5.3.
I am having the same issues with 2024.6.1 and still in 2024.6.2
Same issue here…
Is there even a solution to this? After one plug failed to update firmware, none of my other Third Reality plugs, which are brand new/never paired, are able to pair any more. This is so sad. I wish I never updated the damn firmware. Seeing how long this issue has lasted really makes me question the stability of HAOSS, and my desire to use it for everything...
I'm not purchasing (or recommending) any more of their products because of this issue unless it's fixed, it's irritating being constantly prompted to do firmware updates in Home Assistant and they're all failing regardless of proximity to the controller. Even when I elect to ignore the reminders, they still reappear. You would think that if they can identify a need for an update - which proves communication with the device, they could also apply an update. What's the issue here?
I am getting exactly the same issue when attempting to update the Firmware on 'Third Reality, Inc 3RSB22BZ'.
Installed version: 0x0000001c Latest version: 0x00000023
RESULT: TIMEOUT 148
Core: 2024.10.2 Supervisor: 2024.10.0 Operating System: 13.0 Frontend: 20241002.3
Logger: homeassistant.components.websocket_api.http.connection Source: components/websocket_api/commands.py:245 integration: Home Assistant WebSocket API (documentation, issues) First occurred: 00:51:16 (2 occurrences) Last logged: 00:57:46
[546376964352] Unexpected exception Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/zha/update.py", line 167, in async_install await self.entity_data.entity.async_install(version=version) File "/usr/local/lib/python3.12/site-packages/zha/application/platforms/update.py", line 304, in async_install raise ZHAException(f"Update was not successful: {result}") zha.exceptions.ZHAException: Update was not successful: <Status.TIMEOUT: 148>
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service response = await hass.services.async_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 996, in entity_service_call single_response = await _handle_entity_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1068, in _handle_entity_call result = await task ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/update/init.py", line 154, in async_install await entity.async_install_with_progress(version, backup) File "/usr/src/homeassistant/homeassistant/components/update/init.py", line 463, in async_install_with_progress await self.async_install(version, backup) File "/usr/src/homeassistant/homeassistant/components/zha/update.py", line 169, in async_install raise HomeAssistantError(exc) from exc homeassistant.exceptions.HomeAssistantError: Update was not successful: <Status.TIMEOUT: 148>
Is anyone looking at this issue? It has been open for 5 months.
Just wanted to check in, I have had this issue for a long while now. Was hoping there was some progress or did anyone else get it figured out ?
logs Logger: homeassistant.components.websocket_api.http.connection Source: components/websocket_api/commands.py:245 integration: Home Assistant WebSocket API (documentation, issues) First occurred: 8:25:09 AM (1 occurrences) Last logged: 8:25:09 AM
[543521300128] Unexpected exception Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/zha/update.py", line 167, in async_install await self.entity_data.entity.async_install(version=version) File "/usr/local/lib/python3.12/site-packages/zha/application/platforms/update.py", line 304, in async_install raise ZHAException(f"Update was not successful: {result}") zha.exceptions.ZHAException: Update was not successful: <Status.TIMEOUT: 148>
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service response = await hass.services.async_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 996, in entity_service_call single_response = await _handle_entity_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1068, in _handle_entity_call result = await task ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/update/init.py", line 154, in async_install await entity.async_install_with_progress(version, backup) File "/usr/src/homeassistant/homeassistant/components/update/init.py", line 463, in async_install_with_progress await self.async_install(version, backup) File "/usr/src/homeassistant/homeassistant/components/zha/update.py", line 169, in async_install raise HomeAssistantError(exc) from exc homeassistant.exceptions.HomeAssistantError: Update was not successful: <Status.TIMEOUT: 148>
Seeing as there is no update on this and it has been open for a long time, the only alternative I can see, is to actually buy a Third Reality hub...but they're not cheap. The Gen 2 Hub USB dongle is £30 on Amazon.
Seeing as there is no update on this and it has been open for a long time, the only alternative I can see, is to actually buy a Third Reality hub...but they're not cheap. The Gen 2 Hub USB dongle is £30 on Amazon.
I figured as much, I have around 15 Third Reality water leak sensors so this wouldn't be a bad option for me anyways.
Thanks for the reply
Same problem for me, but on multifunction night lamp with PIR and luminance sensor. Always getting update nofication and then timeout, when it should update.
FWIW, I had this issue and noticed that the plug that was very close to the Zigbee adapter updated fine. I moved the other smart plugs closer to the Zigbee adapter and was able to update them without running into this issue.
FWIW, I had this issue and noticed that the plug that was very close to the Zigbee adapter updated fine. I moved the other smart plugs closer to the Zigbee adapter and was able to update them without running into this issue.
Did your update take like forever? It started updating now, after i bringed it closer, but it takes an eternity to get to 10%, the end will probably be tomorrow.
Did your update take like forever? It started updating now, after i bringed it closer, but it takes an eternity to get to 10%, the end will probably be tomorrow.
No, it took maybe 5-10 mins max.
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.
I'm still having this exact issue. I've tried everything and no updates at all.
Hey there @dmulcahey, @adminiuga, @puddly, @thejulianjes, mind taking a look at this issue as it has been labeled with an integration (zha) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of zha can trigger bot actions by commenting:
-
@home-assistant closeCloses the issue. -
@home-assistant rename Awesome new titleRenames the issue. -
@home-assistant reopenReopen the issue. -
@home-assistant unassign zhaRemoves the current integration label and assignees on the issue, add the integration domain after the command. -
@home-assistant add-label needs-more-informationAdd a label (needs-more-information, problem in dependency, problem in custom component) to the issue. -
@home-assistant remove-label needs-more-informationRemove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
zha documentation zha source (message by IssueLinks)
Core-2024.5.2
Please upgrade to the latest Home Assistant release.
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.