Skip to content

Increased ‘Unavailable’ Issues #100

@ray-smith20

Description

@ray-smith20

Hello,

Firstly thank you for this integration I’ve been using it since February last year quite extensively to automate home heating and cooling across 5 indoor units.

In that time I’ve had the odd issue with units showing as unavailable briefly but following the latest update 1.7.3 last week I’m finding I’m noticing brief periods of unavailable randomly across all 5 units all day long. Have there been any modifications which may explain this please? They usually recover within seconds but I may need to tweak my automations to accommodate this if not.

I will also look if it’s possible to rollback though it’s not something I’ve ever looked at before.

I did find the following at the top of my HA logs, I can’t imagine this is related to my wifi as there’s great mesh coverage throughout but I’m looking into it anyway.

Thank you.

`This error originated from a custom integration.

Logger: custom_components.fujitsu_airstage
Source: helpers/update_coordinator.py:419
integration: Fujitsu Airstage (documentation, issues)
First occurred: 13:49:08 (30 occurrences)
Last logged: 19:52:23

Unexpected error fetching Fujitsu Airstage A841F43CE793 data
Unexpected error fetching Fujitsu Airstage A841F43D21DD data
Unexpected error fetching Fujitsu Airstage F854F6D86553 data
Unexpected error fetching Fujitsu Airstage A841F41814B5 data
Unexpected error fetching Fujitsu Airstage A841F4182673 data
Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 779, in _request
    resp = await handler(req)
           ^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 734, in _connect_and_send_request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        req, traces=traces, timeout=real_timeout
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 642, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 1209, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 1550, in _create_direct_connection
    transp, proto = await self._wrap_create_connection(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 1268, in _wrap_create_connection
    sock = await aiohappyeyeballs.start_connection(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/aiohappyeyeballs/impl.py", line 73, in start_connection
    sock = await _connect_sock(
           ^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/aiohappyeyeballs/impl.py", line 208, in _connect_sock
    await loop.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/fujitsu_airstage/__init__.py", line 108, in async_get
    return await apiLocal.get_devices()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/pyairstage/airstageApi.py", line 255, in get_devices
    acInfo = await self.get_parameters(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/pyairstage/airstageApi.py", line 332, in get_parameters
    response = await self.async_call_api(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
        "POST", f"http://{self.ip_address}/GetParam", json=json.dumps(jsonPayload)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/pyairstage/airstageApi.py", line 384, in async_call_api
    async with self.session.request(
               ~~~~~~~~~~~~~~~~~~~~^
        method,
        ^^^^^^^
    ...<3 lines>...
        headers=kwargs.get("headers"),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ) as resp:
    ^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 1510, in __aenter__
    self._resp: _RetType = await self._coro
                           ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 624, in _request
    with timer:
         ^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/helpers.py", line 713, in __exit__
    raise asyncio.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 419, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 308, in _async_update_data
    return await self.update_method()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fujitsu_airstage/__init__.py", line 114, in async_get
    raise PlatformNotReady(
        f"Connection error while connecting to {device_ip}: {err}"
    ) from err
homeassistant.exceptions.PlatformNotReady: Connection error while connecting to 192.168.0.214: 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions