core: HomematicIP cloud: Devices are not updated and addon must be restarted manually

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

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 2
  • Comments: 27 (2 by maintainers)

Most upvoted comments

@hahn-th @jan-brinkmann

Wir drei kommen alle aus Deutschland ☺️

Can you give us an update please, when we can expect an solution?

wir vier 😉

With next beta. And please test the beta!!

@hahn-th @jan-brinkmann

Wir drei kommen alle aus Deutschland ☺️

Can you give us an update please, when we can expect an solution?

For me it doesn’t work better.

Thanks to @hahn-th for working on this issue!

Which version of Home Assistant will include the bug fix?

Same here, 2 freezes so far in the last couple of weeks. Reloading integration helps.

I made an automation which will reload the integration when a specific value like the temperature is static for 45 minutes. Works great for me.

alias: Homematic neu laden, wenn Temperatur 45 Minuten gleich bleibt
description: ""
triggers:
  - entity_id:
      - sensor.h_ip_temperatur_und_luftfeuchtigkeitssensor_aussen_temperature
    for:
      hours: 0
      minutes: 45
      seconds: 0
    trigger: state
conditions: []
actions:
  - data:
      entry_id: >-
        {{
        config_entry_id('sensor.h_ip_temperatur_und_luftfeuchtigkeitssensor_aussen_temperature')
        }}
    action: homeassistant.reload_config_entry
mode: single

Image

As I said before write an automation and restart the HmIP integration once/twice a day. As I think it needs the Spook integration first, but not sure

Same here. It freezes several times a day at random times, which causes the home automation to stop working 😢.

@hahn-th @jan-brinkmann Wir drei kommen alle aus Deutschland ☺️ Can you give us an update please, when we can expect an solution?

wir vier 😉

Wir fünf 😉

About 2 weeks long the addon freezes always at about 5:30 in the morning, so I added an automation which reloads the plugin at 6 in the morning. But in the meantime it freezes at other times, too. Sometimes 3 times a day.

I configured an automation using the Spook integration, where twice a day the Homematic-IP integration is getting restarted time based, works fine.

But I have another question, maybe pretty silly, but how on earth do I find out which version of the Homematic-IP cloud integration I have installed? Further up was written that I/we should “bump up to version 2.0.4”.

Until the problem is solved i also use an automation who reloaded every hour the Homematic IP integration. But I have read that isn’t good for Home Assistant 😔

My father and me have the same issue. After restarting home assistant or the addon it works one time till next time. We have installed HA-version 2025.5.3.

I configured an automation using the Spook integration, where twice a day the Homematic-IP integration is getting restarted time based, works fine.

But I have another question, maybe pretty silly, but how on earth do I find out which version of the Homematic-IP cloud integration I have installed? Further up was written that I/we should “bump up to version 2.0.4”.

Cannot start the addon at all - getting these errors (but do not see any option to re-login):

Logger: homematicip.connection.rest_connection Source: components/homematicip_cloud/hap.py:284 First occurred: 11:03:09 (8 occurrences) Last logged: 17:35:07

Error response 403 while requesting URL(‘https://srv0014.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’: ‘5.15.76-v7l+’}, ‘id’: ‘3014F711A00003D3C99F0CD7’}. Response: <Response [403 Forbidden]>

Logger: homeassistant.components.homematicip_cloud.hap Source: components/homematicip_cloud/hap.py:129 integration: HomematicIP Cloud (documentation, issues) First occurred: 11:03:09 (3 occurrences) Last logged: 11:52:05

Error connecting with HomematicIP Cloud: (‘Could not get the current configuration. Error: %s’, ‘Forbidden’)

Same issue here! After starting addon manually it works one time.

Same issue here!

and one more for me… at least twice a week…

Same here; my issues in the past were fixed with the 2.x release but now with HA latest release I have seen, devices are not updating anymore, got no data (energy consumption etc.) since restarting the integration manually. HA 2025.5.3 with HCU and “legacy” AP’s as repeaters.

Same here, after a while the room temperature an humidiy values of all my hmip-wth-2 sensors get stuck. The value freezes until the integration is manually reloaded or HA is restarted. After 2 hours the values ​​are frozen again

Same here, after a while the room temperature an humidiy values of all my hmip-wth-2 sensors get stuck. The value freezes until the integration is manually reloaded or HA is restarted.

Same issue here.

This issue startet with 2025.5.0

Same problem with me. No idea, when it started, but it is not since long ago. It would be great if you could fix that.

I have upgraded to 2025.05.3 but the issue remains

I can back this, issue has not resolved with 2025.5.2 I will try with 2025.5.3 now, will update if the issue persists.

seems to be related to #142975

Same issue for me since I updated HA to 2025.5.2.

Restart solves the issue temporary.

Hey there @hahn-th, mind taking a look at this issue as it has been labeled with an integration (homematicip_cloud) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of homematicip_cloud can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign homematicip_cloud Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


homematicip_cloud documentation homematicip_cloud source (message by IssueLinks)