8000 HomematicIP cloud: Devices are not updated and addon must be restarted manually · Issue #145501 · home-assistant/core · GitHub
[go: up one dir, main page]

Skip to content
HomematicIP cloud: Devices are not updated and addon must be restarted manually #145501
@jan-brinkmann

Description

@jan-brinkmann

The problem

Since round about two weeks, I frequently observe, that the status of devices from the Homematic IP cloud addon are not updated in Home Assistant anymore. I.e., a light remain off althought it is turned on or my energy counter remain at some kWh value for a couple of hours. If something like this is observed, I find the following two erros in the Home Assistant log:

Logger: homematicip.connection.rest_connection
Quelle: components/homematicip_cloud/hap.py:215
Erstmals aufgetreten: 20. Mai 2025 um 00:04:19 (4 Vorkommnisse)
Zuletzt protokolliert: 22. Mai 2025 um 23:47:24

An error occurred while requesting URL('https://srv0005.a.homematic.com:6969/hmip/home/getCurrentState').
Error response 502 while requesting URL('https://srv0005.a.homematic.com:6969/hmip/home/getCurrentState') with data {'clientCharacteristics': {'apiVersion': '10', 'applicationIdentifier': 'homematicip-python', 'applicationVersion': '1.0', 'deviceManufacturer': 'none', 'deviceType': 'Computer', 'language': 'en_US', 'osType': 'Linux', 'osVersion': '6.6.74-haos-raspi'}, 'id': 'id_of_my_hmip_accesspoint'}.
Response: <Response [502 Bad Gateway]>
Logger: homeassistant
Quelle: components/homematicip_cloud/hap.py:215
Erstmals aufgetreten: 20. Mai 2025 um 00:04:19 (3 Vorkommnisse)
Zuletzt protokolliert: 22. Mai 2025 um 23:47:24

Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/homematicip_cloud/hap.py", line 215, in async_connect
    await self.home.get_current_state_async()
  File "/usr/local/lib/python3.13/site-packages/homematicip/async_home.py", line 198, in get_current_state_async
    json_state = await self.download_configuration_async()
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/homematicip/async_home.py", line 187, in download_configuration_async
    raise Exception("Could not get the current configuration. Error: %s", result.status_text)
Exception: ('Could not get the current configuration. Error: %s', 'No status code')

When this happens in Home Assistant, the official Homematic IP smartphone app works fine.

The issue can immediatelly be solved by restarting the Homematic IP cloud addon - but one or two days later it occurs again.

I do not believe, that this issue is related to the problem with blocked IP addresses because 1) when restarting the addon my IP address does not change (but the device status updates are working again), 2) I do not receive a warning in the Homematic IP smartphone app (thats the case when an IP is blocked).

I am grateful for any suggestion!

Jan

What version of Home Assistant Core has the issue?

core-2025.5.2

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

HomematicIP Cloud

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

Anything in the logs that might be useful for us?

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0