Logger: custom_components.solarman.coordinator Zdroj: helpers/update_coordinator.py:318 integrace: Solarman (dokumentace, problémy) První výskyt: 16:37:09 (138 výskyty) Naposledy logováno: 18:06:50 Unexpected error fetching Deye 1 střecha data Unexpected error fetching Deye 2 Garáž 2A data Unexpected error fetching Deye 2 Garáž 2B data Traceback (most recent call last): File "/config/custom_components/solarman/api.py", line 134, in get responses[(code, start)] = await self.try_read_write(code, start, quantity, f"Querying {code:02X} ~ {start:04} - {end:04} | 0x{start:04X} - 0x{end:04X} #{quantity:03}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/solarman/api.py", line 101, in try_read_write if (response := await self.read_write(code, start, arg)) and (length := ilen(response)) is None and (expected := arg if code < CODE.WRITE_SINGLE_COIL else 1) and length != expected: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/solarman/api.py", line 69, in read_write if await self.modbus.connect(): ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/solarman/include/pysolarmanv5/pysolarman.py", line 36, in connect await super().connect() File "/config/custom_components/solarman/include/pysolarmanv5/pysolarmanv5_async.py", line 78, in connect self.reader, self.writer = await asyncio.wait_for( ^^^^^^^^^^^^^^^^^^^^^^^ asyncio.open_connection(self.address, self.port), self.socket_timeout ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/local/lib/python3.13/asyncio/tasks.py", line 507, in wait_for return await fut ^^^^^^^^^ File "/usr/local/lib/python3.13/asyncio/streams.py", line 48, in open_connection transport, _ = await loop.create_connection( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lambda: protocol, host, port, **kwds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/asyncio/base_events.py", line 1137, in create_connection sock = await self._connect_sock( ^^^^^^^^^^^^^^^^^^^^^^^^^ exceptions, addrinfo, laddr_infos) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/asyncio/base_events.py", line 1040, in _connect_sock await self.sock_connect(sock, address) File "/usr/local/lib/python3.13/asyncio/selector_events.py", line 641, in sock_connect return await fut ^^^^^^^^^ asyncio.exceptions.CancelledError The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/config/custom_components/solarman/api.py", line 55, in load self.device_info = await self.profile.resolve(self.get) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/solarman/provider.py", line 120, in resolve f = lookup_profile(await request(-1, set_request(*AUTODETECTION_REQUEST_DEYE)), self.attributes) if self.auto and request else self.filename ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/solarman/api.py", line 129, in get async with asyncio.timeout(TIMINGS_UPDATE_TIMEOUT): ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/asyncio/timeouts.py", line 116, in __aexit__ raise TimeoutError from exc_val TimeoutError The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 318, in __wrap_async_setup await self._async_setup() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 351, in _async_setup return await self.setup_method() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/solarman/api.py", line 58, in load raise Exception(f"[{self.config.serial}] Device setup failed. [{format_exception(e)}]") from e Exception: [3925096224] Device setup failed. [TimeoutError]