KaufHA/kauf-rgbww-bulbs

ESPHOME 2023.10.5(and now 10.6) update fail for Bulb

Opened this issue · 9 comments

A few releases ago, it was the same problem. Then it work for about two releases and now updates fails again:

image

This is runing from within HAOS dashboard/UI.

It's working fine for me. Can you run the update from the dashboard and let me know what error is showing up in the logs?

"run the update from teh dashboard" - which dashboard are you referring to?
ESPHOME dasdhboard looks like this:
image
There is no option to do update.

Click on 'visit' shows that only 10.4 is available:
image

The latest on Github is still only 1.92 (2023.9.1) !

When I try to do the upgrade from HAOS notification area, I get the same message as in opening comment.

ESPHOME 10.6 was just realeased this morning - same issue.

This is the log from HAOS:
'''Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:230
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: November 2, 2023 at 5:52:21 AM (9 occurrences)
Last logged: 7:06:42 AM

[546621103552] Error updating kitchen-lamp.yaml via OTA; Try again in ESPHome dashboard for more information.
[546375046592] Error updating kitchen-lamp.yaml via OTA; Try again in ESPHome dashboard for more information.
[546525463360] Error updating kitchen-lamp.yaml via OTA; Try again in ESPHome dashboard for more information.
[546525463360] Error updating foyer-pres.yaml via OTA; Try again in ESPHome dashboard for more information.
[546523563328] Error updating kitchen-lamp.yaml via OTA; Try again in ESPHome dashboard for more information.
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 230, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 2035, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2072, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 235, in handle_service
return await service.entity_service_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 876, in entity_service_call
response_data = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 948, 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 432, in async_install_with_progress
await self.async_install(version, backup)
File "/usr/src/homeassistant/homeassistant/components/esphome/update.py", line 179, in async_install
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Error updating kitchen-lamp.yaml via OTA; Try again in ESPHome dashboard for more information.

Also, during the update process, when I 'visit' the bulb from ESPHOME, I do see the following on the web page:
image

But the firmware does not get updated to the device. It is still stuck on 10.4.

Were these previously updated fine through HA or the dashboard? If the devices aren't showing up as online in the dashboard then that is probably the issues. Since the ESPHome dashboard thinks the devices are up to date it is not showing the update option in that view. If you press the three dots you can click "install" and its the same thing.

You might need to point the yaml configs to the devices' IP addresses using use_address or set a manual IP.

When you try to update through the dashboard, what error do you get there?