Please help, all zigbee down suddenly

Hi, I’m currently facing a huge problem. Tonight suddenly i’ve noticed that my Hue lights were not responding. I’ve seen zigbee2mqtt turned off, after a restart the devices returned to work for a few minutes but now in the map I can see all the devices but no connection between them or the coordinator and nothing works anymore.
I run HA on a raspberry with a Sonoff dongle.
I did not change anything in the last hours so I don’t really know how to solve.
Please help me because right now I can no control anything in my house.

EDIT:
After some reboot of the pi and of z2m it seems that is now workin as before, is there any way to find the issue and avoid in the future?

A piece of general advice: If you are unable to control ANYTHING in your house without Home Assistant, then you are doing it wrong. Manual controls should ALWAYS be available.

Best of luck with your issue.

There was before you rebooted the host. Things you should have done before rebooting:

  • Look at the Settings → Add-ons → Z2M page. Is it running?
  • Are there errors in the Z2M addon log tab?
  • Are there errors in Settings → System → Logs?

You still may be able to see some errors in the system log from before the last reboot. Open the file config/home-assistant.log.1. You can open it with any text editor.

1 Like

The z2m addon was not running, I do not know why stopped.
I found config/home-assistant.log.1 . I paste the code from when i think the issue is appeared.

2023-05-24 00:06:15.197 WARNING (MainThread) [homeassistant.helpers.entity] Updating state for light.tutte_luci (<class 'homeassistant.components.group.light.LightGroup'>) took 3.225 seconds. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+group%22
2023-05-24 00:06:39.962 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /info request
2023-05-24 00:06:40.759 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /core/info request
2023-05-24 00:06:40.763 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /core/stats request
2023-05-24 00:06:40.766 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /supervisor/info request
2023-05-24 00:06:40.769 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /supervisor/stats request
2023-05-24 00:06:40.771 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /os/info request
2023-05-24 00:06:41.294 WARNING (MainThread) [custom_components.smartthinq_sensors.wideq.device] Connection to ThinQ failed. Timeout error - Device: Lavatrice con carica frontale
2023-05-24 00:06:42.179 ERROR (MainThread) [homeassistant.components.hassio] Error fetching hassio data: Error on Supervisor API: 
2023-05-24 00:07:56.343 ERROR (MainThread) [homeassistant.components.alexa.state_report] Timeout sending report to Alexa for light.hue_cucina
2023-05-24 00:07:57.581 ERROR (MainThread) [homeassistant.components.alexa.state_report] Timeout sending report to Alexa for light.hue_ensis_down
2023-05-24 00:07:57.611 ERROR (MainThread) [homeassistant.components.alexa.state_report] Timeout sending report to Alexa for light.hue_specchio
2023-05-24 00:07:57.615 ERROR (MainThread) [homeassistant.components.alexa.state_report] Timeout sending report to Alexa for light.hue_ambient_1_letto
2023-05-24 00:07:57.620 ERROR (MainThread) [homeassistant.components.alexa.state_report] Timeout sending report to Alexa for light.hue_ensis_up
2023-05-24 00:07:57.627 ERROR (MainThread) [homeassistant.components.alexa.state_report] Timeout sending report to Alexa for light.hue_white_letto
2023-05-24 00:07:57.633 ERROR (MainThread) [homeassistant.components.alexa.state_report] Timeout sending report to Alexa for light.hue_bagno
2023-05-24 00:07:57.638 ERROR (MainThread) [homeassistant.components.alexa.state_report] Timeout sending report to Alexa for light.hue_ambient_2_letto
2023-05-24 00:07:57.645 ERROR (MainThread) [homeassistant.components.alexa.state_report] Timeout sending report to Alexa for light.hue_armadio
2023-05-24 00:07:57.651 ERROR (MainThread) [homeassistant.components.alexa.state_report] Timeout sending report to Alexa for light.lampada_da_terra
2023-05-24 00:07:57.658 ERROR (MainThread) [homeassistant.components.alexa.state_report] Timeout sending report to Alexa for light.lampadario
2023-05-24 00:11:52.558 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /core/stats request
2023-05-24 00:11:55.649 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /supervisor/stats request
2023-05-24 00:17:07.793 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /supervisor/stats request
2023-05-24 00:32:55.029 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
    resp = await request_handler(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 85, in security_filter_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 235, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 146, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/hassio/ingress.py", line 68, in _handle
    return await self._handle_websocket(request, token, path)
  File "/usr/src/homeassistant/homeassistant/components/hassio/ingress.py", line 101, in _handle_websocket
    await ws_server.prepare(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_ws.py", line 138, in prepare
    payload_writer = await super().prepare(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_response.py", line 421, in prepare
    return await self._start(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_response.py", line 429, in _start
    await self._write_headers()
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_response.py", line 502, in _write_headers
    await writer.write_headers(status_line, self._headers)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/http_writer.py", line 130, in write_headers
    self._write(buf)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/http_writer.py", line 75, in _write
    raise ConnectionResetError("Cannot write to closing transport")
ConnectionResetError: Cannot write to closing transport
2023-05-24 00:37:33.592 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /supervisor/stats request
2023-05-24 00:37:35.603 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /core/stats request
2023-05-24 00:37:35.697 ERROR (MainThread) [homeassistant.components.hassio] Error fetching hassio data: Error on Supervisor API: 
2023-05-24 00:40:10.331 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /homeassistant/restart request
2023-05-24 00:40:28.369 ERROR (Thread-5) [pychromecast.socket_client] [43PUS8007/12(192.168.1.107):8009] Failed to connect. No retries.
2023-05-24 00:40:39.517 WARNING (Thread-170 (_do_shutdown)) [homeassistant.util.executor] Thread[SyncWorker_2] is still running at shutdown: File "/usr/local/lib/python3.10/threading.py", line 973, in _bootstrap
    self._bootstrap_inner()
  File "/usr/local/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.10/threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 81, in _worker
    work_item = work_queue.get(block=True)