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.67k stars 30.42k forks source link

Error setting up entry Sonoff Zigbee 3.0 USB Dongle Plus - Sonoff Zigbee 3.0 USB Dongle Plus for zha #93478

Closed psamulat closed 1 year ago

psamulat commented 1 year ago

The problem

Logger: homeassistant.config_entries Source: components/zha/core/gateway.py:205 First occurred: 19:16:26 (1 occurrences) Last logged: 19:16:26

Error setting up entry Sonoff Zigbee 3.0 USB Dongle Plus - Sonoff Zigbee 3.0 USB Dongle Plus for zha

What version of Home Assistant Core has the issue?

2023.5.4

What was the last working version of Home Assistant Core?

2023.5.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

onoff Zigbee 3.0 USB Dongle Plus - Sonoff Zigbee 3.0 USB Dongle Plus Zigbee Home Automation

Link to integration documentation on our website

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

Diagnostics information

Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/zigpy_znp/api.py", line 1017, in request response = await response_future asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup result = await component.async_setup_entry(hass, self) File "/usr/src/homeassistant/homeassistant/components/zha/init.py", line 122, in async_setup_entry await zha_gateway.async_initialize() File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 220, in async_initialize raise exc File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 205, in async_initialize self.application_controller = await app_controller_cls.new( File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 219, in new await app.startup(auto_form=auto_form) File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 194, in startup await self.initialize(auto_form=auto_form) File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 147, in initialize await self.start_network() File "/usr/local/lib/python3.10/site-packages/zigpy_znp/zigbee/application.py", line 197, in start_network await self._write_stack_settings() File "/usr/local/lib/python3.10/site-packages/zigpy_znp/zigbee/application.py", line 725, in _write_stack_settings current_value = await self._znp.nvram.osal_read( File "/usr/local/lib/python3.10/site-packages/zigpy_znp/nvram.py", line 177, in osal_read read_rsp = await self.znp.request( File "/usr/local/lib/python3.10/site-packages/zigpy_znp/api.py", line 1013, in request async with async_timeout.timeout( File "/usr/local/lib/python3.10/site-packages/async_timeout/init.py", line 129, in aexit self._do_exit(exc_type) File "/usr/local/lib/python3.10/site-packages/async_timeout/init.py", line 212, in _do_exit raise asyncio.TimeoutError asyncio.exceptions.TimeoutError

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.core
Source: core.py:350
First occurred: 19:21:41 (1 occurrences)
Last logged: 19:21:41

Something is blocking Home Assistant from wrapping up the start up phase. We're going to continue anyway. Please report the following info at https://github.com/home-assistant/core/issues: sensor.sun, zha, hardware, binary_sensor.mobile_app, binary_sensor, raspberry_pi, scene, script, auth, assist_pipeline, notify, binary_sensor.alexa_media, api, system_log, media_player.alexa_media, hacs, onboarding, homeassistant_alerts, diagnostics, modbus, schedule, input_button, device_tracker, weather.met, sensor.nut, application_credentials, default_config, usb, logbook, bluetooth_adapters, sensor.ibeacon, ssdp, system_health, stream, tts, mobile_app, binary_sensor.hassio, switch, persistent_notification, timer, light, config, analytics, bluetooth, brother, alexa_media, alarm_control_panel.alexa_media, repairs, switch_as_x, ibeacon, cloud, websocket_api, input_text, sun, light.alexa_media, device_tracker.ibeacon, input_datetime, sensor.alexa_media, alarm_control_panel, input_select, nut, map, group, counter, device_tracker.mobile_app, sensor.brother, media_player, notify.mobile_app, sonnenbatterie, update.hassio, binary_sensor.cloud, dhcp, media_source, notify.alexa_media, hassio, conversation, http, blueprint, sensor.hassio, alarm_control_panel.manual, trace, alexa, person, rpi_power, tag, input_number, sensor, met, update, webhook, siren, tts.cloud, binary_sensor.rpi_power, search, stt, energy, device_automation, frontend, siren.switch_as_x, sensor.modbus, recorder, input_boolean, history, zone, network, my, sensor.hacs, sensor.energy, homeassistant, scene.homeassistant, switch.group, lovelace, image_upload, zeroconf, radio_browser, switch.alexa_media, sensor.mobile_app, logger, file_upload, weather, automation

Additional information

No response

home-assistant[bot] commented 1 year ago

Hey there @dmulcahey, @adminiuga, @puddly, 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 close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign zha` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


zha documentation zha source (message by IssueLinks)

psamulat commented 1 year ago

This issue was caused by a wrong configuration.yaml setting: /dev/ttyUSB1 was used by two different services. My mistake.