Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZHA Restarts Every Hour at the Exact Minutes Past The Hour #116283

Open
donal222022 opened this issue Apr 27, 2024 · 10 comments
Open

ZHA Restarts Every Hour at the Exact Minutes Past The Hour #116283

donal222022 opened this issue Apr 27, 2024 · 10 comments

Comments

@donal222022
Copy link

The problem

Every hour at **31 ZHA crashes and restarts due to Serial Connection Issue, I can't figure what is causing the issue, there are reports of the port being not available or being used by something else.

What version of Home Assistant Core has the issue?

2024.4.4

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

Zigbee Home Automation

Link to integration documentation on our website

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

Diagnostics information

config_entry-zha-f2aaadcfc993fb33a8eb12817bfb5486 (1).json

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-04-27 08:31:08.366 WARNING (MainThread) [zigpy_deconz.uart] Lost connection: SerialException('device reports readiness to read but returned no data (device disconnected or multiple access on port?)')
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/serial_asyncio_fast/__init__.py", line 132, in _read_ready
    data = self._serial.read(self._max_read_size)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/serial/serialposix.py", line 595, in read
    raise SerialException(
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
2024-04-27 08:31:08.387 INFO (MainThread) [custom_components.localtuya.common] [bfc...sgo] Trying to connect to 192.168.68.18...
2024-04-27 08:31:08.447 INFO (MainThread) [custom_components.localtuya.common] [bfa...swv] Trying to connect to 192.168.68.16...
2024-04-27 08:31:08.485 INFO (MainThread) [custom_components.localtuya.common] [bfb...gxq] Trying to connect to 192.168.68.47...
2024-04-27 08:31:08.499 WARNING (MainThread) [homeassistant.components.sensor] Updating rest sensor took longer than the scheduled update interval 0:00:02
2024-04-27 08:31:08.514 INFO (MainThread) [custom_components.localtuya.common] [bf2...i5t] Trying to connect to 192.168.68.44...
2024-04-27 08:31:08.526 INFO (MainThread) [custom_components.localtuya.common] [bf0...art] Trying to connect to 192.168.68.53...
2024-04-27 08:31:08.544 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/zha/sensor.py", line 272, in _refresh
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/zha/entity.py", line 259, in async_update
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/homeautomation.py", line 128, in async_update
    result = await self.get_attributes(attrs, from_cache=False, only_cache=False)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/__init__.py", line 514, in _get_attributes
    read, _ = await self.cluster.read_attributes(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/zcl/__init__.py", line 528, in read_attributes
    result = await self.read_attributes_raw(to_read, manufacturer=manufacturer)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/quirks/__init__.py", line 289, in read_attributes_raw
    results = await super().read_attributes_raw(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/quirks/__init__.py", line 334, in _read_attributes
    return await super()._read_attributes(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/zcl/__init__.py", line 377, in request
    return await self._endpoint.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/endpoint.py", line 253, in request
    return await self.device.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/device.py", line 339, in request
    await send_request()
  File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 841, in request
    await self.send_packet(
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/zigbee/application.py", line 508, in send_packet
    await self._api.aps_data_request(
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 882, in aps_data_request
    rsp = await self.send_command(
          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 508, in send_command
    return await self._command(cmd, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 586, in _command
    self._uart.send(command.replace(seq=seq).serialize())
    ^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'send'
2024-04-27 08:31:08.571 INFO (MainThread) [custom_components.localtuya.common] [bf3...3ml] Trying to connect to 192.168.68.51...
2024-04-27 08:31:08.586 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/zha/sensor.py", line 272, in _refresh
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/zha/entity.py", line 259, in async_update
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/smartenergy.py", line 325, in async_update
    result = await self.get_attributes(attrs, from_cache=False, only_cache=False)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/__init__.py", line 514, in _get_attributes
    read, _ = await self.cluster.read_attributes(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/zcl/__init__.py", line 528, in read_attributes
    result = await self.read_attributes_raw(to_read, manufacturer=manufacturer)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/quirks/__init__.py", line 289, in read_attributes_raw
    results = await super().read_attributes_raw(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/quirks/__init__.py", line 334, in _read_attributes
    return await super()._read_attributes(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/zcl/__init__.py", line 377, in request
    return await self._endpoint.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/endpoint.py", line 253, in request
    return await self.device.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/device.py", line 339, in request
    await send_request()
  File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 841, in request
    await self.send_packet(
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/zigbee/application.py", line 508, in send_packet
    await self._api.aps_data_request(
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 882, in aps_data_request
    rsp = await self.send_command(
          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 508, in send_command
    return await self._command(cmd, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 586, in _command
    self._uart.send(command.replace(seq=seq).serialize())
    ^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'send'
2024-04-27 08:31:08.630 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/zha/sensor.py", line 272, in _refresh
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/zha/entity.py", line 259, in async_update
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/homeautomation.py", line 128, in async_update
    result = await self.get_attributes(attrs, from_cache=False, only_cache=False)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/__init__.py", line 514, in _get_attributes
    read, _ = await self.cluster.read_attributes(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/zcl/__init__.py", line 528, in read_attributes
    result = await self.read_attributes_raw(to_read, manufacturer=manufacturer)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/quirks/__init__.py", line 289, in read_attributes_raw
    results = await super().read_attributes_raw(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/quirks/__init__.py", line 334, in _read_attributes
    return await super()._read_attributes(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/zcl/__init__.py", line 377, in request
    return await self._endpoint.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/endpoint.py", line 253, in request
    return await self.device.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/device.py", line 339, in request
    await send_request()
  File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 841, in request
    await self.send_packet(
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/zigbee/application.py", line 508, in send_packet
    await self._api.aps_data_request(
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 882, in aps_data_request
    rsp = await self.send_command(
          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 508, in send_command
    return await self._command(cmd, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 586, in _command
    self._uart.send(command.replace(seq=seq).serialize())
    ^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'send'
2024-04-27 08:31:08.659 INFO (MainThread) [custom_components.localtuya.common] [bf5...aad] Trying to connect to 192.168.68.15...
2024-04-27 08:31:08.679 INFO (MainThread) [music_assistant.client] Connected to Music Assistant Server 9ca1facf8d0c4771bb67510e5229b5cd using WebsocketsConnection, Version 2.0.0b129, Schema Version 24
2024-04-27 08:31:08.700 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/zha/sensor.py", line 272, in _refresh
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/zha/entity.py", line 259, in async_update
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/smartenergy.py", line 325, in async_update
    result = await self.get_attributes(attrs, from_cache=False, only_cache=False)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/__init__.py", line 514, in _get_attributes
    read, _ = await self.cluster.read_attributes(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/zcl/__init__.py", line 528, in read_attributes
    result = await self.read_attributes_raw(to_read, manufacturer=manufacturer)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/quirks/__init__.py", line 289, in read_attributes_raw
    results = await super().read_attributes_raw(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/quirks/__init__.py", line 334, in _read_attributes
    return await super()._read_attributes(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/zcl/__init__.py", line 377, in request
    return await self._endpoint.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/endpoint.py", line 253, in request
    return await self.device.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/device.py", line 339, in request
    await send_request()
  File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 841, in request
    await self.send_packet(
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/zigbee/application.py", line 508, in send_packet
    await self._api.aps_data_request(
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 882, in aps_data_request
    rsp = await self.send_command(
          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 508, in send_command
    return await self._command(cmd, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 586, in _command
    self._uart.send(command.replace(seq=seq).serialize())
    ^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'send'
2024-04-27 08:31:08.747 INFO (MainThread) [custom_components.localtuya.common] [bfa...swv] Successfully connected to 192.168.68.16
2024-04-27 08:31:08.871 INFO (MainThread) [custom_components.localtuya.common] [bf0...art] Successfully connected to 192.168.68.53
2024-04-27 08:31:08.876 WARNING (MainThread) [homeassistant.helpers.dispatcher] Unable to remove unknown dispatcher <bound method GroupProbe._reprobe_group of <homeassistant.components.zha.core.discovery.GroupProbe object at 0xffff4ee029c0>>
2024-04-27 08:31:09.055 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% if (states.sensor.camper_dehumidifier_active_power.state)|float >  150 %}
  Running
{% elif (states.sensor.camper_dehumidifier_active_power.state)|float >  25 %}
  Idling
{% elif (states.sensor.camper_dehumidifier_active_power.state)|float <  10 %}
  Not Running
{% endif %}' but no default was specified') while processing template 'Template<template=({% if (states.sensor.camper_dehumidifier_active_power.state)|float >  150 %}
  Running
{% elif (states.sensor.camper_dehumidifier_active_power.state)|float >  25 %}
  Idling
{% elif (states.sensor.camper_dehumidifier_active_power.state)|float <  10 %}
  Not Running
{% endif %}) renders=372>' for attribute '_attr_native_value' in entity 'sensor.dehumidifer_camper'
2024-04-27 08:31:09.083 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{ states('sensor.camper_dehumidifier_daily_energy')|float   * 0.3335 }}' but no default was specified') while processing template 'Template<template=({{ states('sensor.camper_dehumidifier_daily_energy')|float   * 0.3335 }}) renders=214>' for attribute '_attr_native_value' in entity 'sensor.camper_dehumidifier_daily_cost'
2024-04-27 08:31:09.086 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{ states('sensor.camper_dehumidifier_monthly_energy')|float   * 0.3335 }}' but no default was specified') while processing template 'Template<template=({{ states('sensor.camper_dehumidifier_monthly_energy')|float   * 0.3335 }}) renders=212>' for attribute '_attr_native_value' in entity 'sensor.camper_dehumidifier_monthly_cost'
2024-04-27 08:31:09.089 INFO (MainThread) [homeassistant.components.media_player] Setting up mass.media_player
2024-04-27 08:31:09.135 INFO (MainThread) [custom_components.localtuya.common] [bf5...aad] Successfully connected to 192.168.68.15
2024-04-27 08:31:09.284 INFO (MainThread) [custom_components.localtuya.common] [bf2...i5t] Successfully connected to 192.168.68.44
2024-04-27 08:31:09.349 INFO (MainThread) [custom_components.localtuya.common] [bfc...sgo] Successfully connected to 192.168.68.18
2024-04-27 08:31:09.365 INFO (MainThread) [custom_components.localtuya.common] [bf8...mjn] Successfully connected to 192.168.68.69
2024-04-27 08:31:09.998 INFO (MainThread) [custom_components.localtuya.common] [bf3...3ml] Successfully connected to 192.168.68.51
2024-04-27 08:31:11.262 WARNING (MainThread) [custom_components.localtuya.common] [bfc...w3l] Failed to connect to 192.168.68.59: [Errno 113] Connect call failed ('192.168.68.59', 6668)
2024-04-27 08:31:11.294 WARNING (MainThread) [custom_components.localtuya.common] [bfe...ly0] Failed to connect to 192.168.68.33: [Errno 113] Connect call failed ('192.168.68.33', 6668)
2024-04-27 08:31:12.348 INFO (MainThread) [custom_components.localtuya.common] [bfb...gxq] Successfully connected to 192.168.68.47
2024-04-27 08:31:17.578 INFO (MainThread) [homeassistant.components.alarm_control_panel] Setting up zha.alarm_control_panel
2024-04-27 08:31:17.579 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up zha.binary_sensor
2024-04-27 08:31:17.580 INFO (MainThread) [homeassistant.components.button] Setting up zha.button
2024-04-27 08:31:17.580 INFO (MainThread) [homeassistant.components.climate] Setting up zha.climate
2024-04-27 08:31:17.581 INFO (MainThread) [homeassistant.components.cover] Setting up zha.cover
2024-04-27 08:31:17.581 INFO (MainThread) [homeassistant.components.device_tracker] Setting up zha.device_tracker
2024-04-27 08:31:17.582 INFO (MainThread) [homeassistant.components.fan] Setting up zha.fan
2024-04-27 08:31:17.583 INFO (MainThread) [homeassistant.components.light] Setting up zha.light
2024-04-27 08:31:17.584 INFO (MainThread) [homeassistant.components.lock] Setting up zha.lock
2024-04-27 08:31:17.586 INFO (MainThread) [homeassistant.components.number] Setting up zha.number
2024-04-27 08:31:17.587 INFO (MainThread) [homeassistant.components.select] Setting up zha.select
2024-04-27 08:31:17.587 INFO (MainThread) [homeassistant.components.sensor] Setting up zha.sensor
2024-04-27 08:31:17.588 INFO (MainThread) [homeassistant.components.siren] Setting up zha.siren
2024-04-27 08:31:17.589 INFO (MainThread) [homeassistant.components.switch] Setting up zha.switch
2024-04-27 08:31:17.590 INFO (MainThread) [homeassistant.components.update] Setting up zha.update

Additional information

I will update debug logs later.

@home-assistant
Copy link

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 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.
  • @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)


zha documentation
zha source
(message by IssueLinks)

@donal222022
Copy link
Author

Debug Log Added

Debug.log

@rrooggiieerr
Copy link
Contributor

Which Zigbee coordinator do you use?

@donal222022
Copy link
Author

Hi, I am using Conbee 2 dongle.

I have picked up these in the Host Logs:

2024-04-30 06:30:48.263 homeassistant kernel: usb 1-1.3: USB disconnect, device number 96
2024-04-30 06:30:48.571 homeassistant kernel: usb 1-1.3: new full-speed USB device number 97 using xhci-hcd
2024-04-30 06:30:48.780 homeassistant kernel: cdc_acm 1-1.3:1.0: ttyACM1: USB ACM device
2024-04-30 06:30:52.103 homeassistant kernel: usb 1-1.3: USB disconnect, device number 97
2024-04-30 06:30:52.479 homeassistant kernel: usb 1-1.3: new full-speed USB device number 98 using xhci-hcd
2024-04-30 06:30:52.683 homeassistant kernel: cdc_acm 1-1.3:1.0: ttyACM1: USB ACM device

@rrooggiieerr
Copy link
Contributor

IMHO this is a hardware issue and not an integration issue. If you're running on a Pi make sure you use a proper power supply

@puddly
Copy link
Contributor

puddly commented May 1, 2024

Can you enable ZHA debug logging and leave it running for two hours?

@donal222022
Copy link
Author

IMHO this is a hardware issue and not an integration issue. If you're running on a Pi make sure you use a proper power supply

Using an Hardkernel ODROID-C4 with supplied power supply, where should I move this issue to ?

Cheers.

@donal222022
Copy link
Author

Can you enable ZHA debug logging and leave it running for two hours?

Attached as requested covering 2 hours.

Debug010524.txt

@rrooggiieerr
Copy link
Contributor

where should I move this issue to

If it's really a hardware issue you have to resolve it yourself I think. What you could try is move the device to an other USB port, also try a USB 2 port. Or use a USB extension cable, that sometimes also resolves the issue.

@donal222022
Copy link
Author

where should I move this issue to

If it's really a hardware issue you have to resolve it yourself I think. What you could try is move the device to an other USB port, also try a USB 2 port. Or use a USB extension cable, that sometimes also resolves the issue.

Thanks for the response, currently using an extension cable and tried all the different ports but issue still happens , at the exact same time every hour , never misses an hour, even after reboots, power cycle, still happens at same time,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants