dahua icon indicating copy to clipboard operation
dahua copied to clipboard

Error when taking snapshot via HASS automation

Open Operations8 opened this issue 6 months ago • 2 comments

I keep getting this error when one of my automation takes a snapshot. Any ideas? ` Logger: custom_components.dahua Bron: custom_components/dahua/client.py:744 integratie: Dahua (documentatie, problemen) Eerst voorgekomen: 18:42:13 (132 gebeurtenissen) Laatst gelogd: 21:22:46

Traceback (most recent call last): File "/usr/local/lib/python3.13/site-packages/aiohttp/streams.py", line 347, in _wait await waiter asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/config/custom_components/dahua/client.py", line 744, in stream_events async for data, _ in response.content.iter_chunks(): on_receive(data, channel) File "/usr/local/lib/python3.13/site-packages/aiohttp/streams.py", line 71, in anext rv = await self._stream.readchunk() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/aiohttp/streams.py", line 476, in readchunk await self._wait("readchunk") File "/usr/local/lib/python3.13/site-packages/aiohttp/streams.py", line 346, in _wait with self._timer: ^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/aiohttp/helpers.py", line 685, in exit raise asyncio.TimeoutError from exc_val TimeoutError `

Operations8 avatar Apr 10 '25 19:04 Operations8