Homematic integration failing with 404s

Hi there,

recently my Homematic integration started to throw lots of 404 errors, even though the initial connection seems to be successful:

2022-08-15 13:49:46.104 INFO (MainThread) [homeassistant.setup] Setting up homematic
2022-08-15 13:49:46.107 INFO (SyncWorker_0) [pyhomematic._hm] Creating proxy HMIP. Connecting to 192.168.178.78:2010
2022-08-15 13:49:46.109 INFO (SyncWorker_0) [pyhomematic._hm] Creating proxy groups. Connecting to 192.168.178.78:9292/groups
2022-08-15 13:49:46.114 INFO (SyncWorker_0) [pyhomematic._hm] Creating proxy ccu3. Connecting to 192.168.178.78:2010
2022-08-15 13:49:46.120 INFO (Thread-3) [pyhomematic._hm] Starting server at http://0.0.0.0:43911
2022-08-15 13:49:46.548 DEBUG (SyncWorker_0) [homeassistant.components.homematic] homematic.switch: Handling 00021A498A576B: None: [3]
[...]
2022-08-15 13:49:46.592 DEBUG (SyncWorker_0) [homeassistant.components.homematic] homematic.battery: Handling 00189A4995D0CF: LOW_BAT: [0]
2022-08-15 13:49:46.608 INFO (SyncWorker_0) [pyhomematic._hm] Proxy for homeassistant-HMIP initialized
2022-08-15 13:49:56.105 WARNING (MainThread) [homeassistant.setup] Setup of homematic is taking over 10 seconds.
2022-08-15 13:49:56.636 INFO (SyncWorker_0) [pyhomematic._hm] Proxy for homeassistant-groups initialized
2022-08-15 13:49:56.636 INFO (SyncWorker_0) [pyhomematic._hm] Skipping init for homeassistant-ccu3
2022-08-15 13:49:56.655 ERROR (SyncWorker_6) [pyhomematic._hm] RPCFunctions.jsonRpcPost: Exception: HTTP Error 404: Not Found
2022-08-15 13:49:56.670 INFO (MainThread) [homeassistant.setup] Setup of domain homematic took 10.6 seconds
2022-08-15 13:49:56.676 WARNING (SyncWorker_6) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session.
2022-08-15 13:49:56.678 INFO (MainThread) [homeassistant.components.switch] Setting up switch.homematic
2022-08-15 13:49:56.679 INFO (MainThread) [homeassistant.components.cover] Setting up cover.homematic
2022-08-15 13:49:56.680 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.homematic
2022-08-15 13:49:56.680 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.homematic
2022-08-15 13:49:56.681 INFO (MainThread) [homeassistant.components.climate] Setting up climate.homematic
2022-08-15 13:49:56.681 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.homematic
2022-08-15 13:49:56.690 WARNING (SyncWorker_3) [homeassistant.components.homematic.sensor] Sensor (000A5BE99C5055 SMOKE_DETECTOR_ALARM_STATUS) entity description is missing. Sensor state (SMOKE_DETECTOR_ALARM_STATUS) needs to be maintained
2022-08-15 13:49:56.709 WARNING (SyncWorker_3) [homeassistant.components.homematic.sensor] Sensor (000A5BE99C4704 SMOKE_DETECTOR_ALARM_STATUS) entity description is missing. Sensor state (SMOKE_DETECTOR_ALARM_STATUS) needs to be maintained
2022-08-15 13:49:56.710 WARNING (SyncWorker_3) [homeassistant.components.homematic.sensor] Sensor (000A5BE99C504F SMOKE_DETECTOR_ALARM_STATUS) entity description is missing. Sensor state (SMOKE_DETECTOR_ALARM_STATUS) needs to be maintained
2022-08-15 13:49:56.714 WARNING (SyncWorker_3) [homeassistant.components.homematic.sensor] Sensor (001358A99563B7 LEVEL) entity description is missing. Sensor state (LEVEL) needs to be maintained
2022-08-15 13:49:56.717 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 00021A498A576B: {'STATE': '3'}
2022-08-15 13:49:56.719 WARNING (SyncWorker_3) [homeassistant.components.homematic.sensor] Sensor (001358A99563B7 LEVEL_2) entity description is missing. Sensor state (LEVEL_2) needs to be maintained
2022-08-15 13:49:56.727 INFO (SyncWorker_4) [pyhomematic.devicetypes.generic] HMGeneric.getValue: RSSI_PEER on 001358A99563B7:0 Exception: <Fault -5: 'Unknown Parameter value for value key: RSSI_PEER'>
2022-08-15 13:49:56.906 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 00109D89935272: {'SABOTAGE': '0', 'OPERATING_VOLTAGE': '0', 'LOW_BAT': '0', 'RSSI_DEVICE': '0', 'STATE': '1'}
2022-08-15 13:49:56.969 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 000C9A499EF0CD: {'CONTROL_MODE': '1', 'BOOST_MODE': '1', 'SET_POINT_TEMPERATURE': '1', 'RSSI_DEVICE': '0', 'SET_POINT_MODE': '1', 'STATE': '8', 'ACTUAL_TEMPERATURE': '1', 'HUMIDITY': '1'}
2022-08-15 13:49:56.983 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 001358A99563B7: {'LEVEL_2': '3', 'LEVEL': '3', 'RSSI_PEER': '0', 'ACTIVITY_STATE': '4', 'LEVEL_STATUS': '4', 'SECTION': '4'}
2022-08-15 13:49:56.999 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 000C9A499EF0CD: {'BOOST_MODE': '1', 'RSSI_DEVICE': '0', 'SET_POINT_MODE': '1', 'STATE': '8', 'HUMIDITY': '1'}
2022-08-15 13:49:57.027 INFO (SyncWorker_3) [pyhomematic.devicetypes.generic] HMGeneric.getValue: LOW_BAT on 000A5BE99C5055:0 Exception: <Fault -5: 'Unknown Parameter value for value key: LOW_BAT'>
2022-08-15 13:49:57.053 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 00189A4995D0CF: {'OPERATING_VOLTAGE': '0', 'LOW_BAT': '0', 'RSSI_DEVICE': '0', 'ALARMSTATE': '1'}
2022-08-15 13:49:57.065 INFO (SyncWorker_3) [pyhomematic.devicetypes.generic] HMGeneric.getValue: RSSI_DEVICE on 000A5BE99C5055:0 Exception: <Fault -5: 'Unknown Parameter value for value key: RSSI_DEVICE'>
2022-08-15 13:49:57.078 INFO (SyncWorker_3) [pyhomematic.devicetypes.generic] HMGeneric.getValue: SMOKE_DETECTOR_ALARM_STATUS on 000A5BE99C5055:1 Exception: <Fault -5: 'Unknown Parameter value for value key: SMOKE_DETECTOR_ALARM_STATUS'>
2022-08-15 13:49:57.081 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 000A5BE99C5055: {'LOW_BAT': '0', 'RSSI_DEVICE': '0', 'SMOKE_DETECTOR_ALARM_STATUS': '1'}
2022-08-15 13:49:57.217 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 00189A4995D0CF: {'OPERATING_VOLTAGE': '0', 'LOW_BAT': '0', 'RSSI_DEVICE': '0', 'MOISTURE_DETECTED': '1'}
2022-08-15 13:49:57.275 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 000C9A498DC758: {'BOOST_MODE': '1', 'RSSI_DEVICE': '0', 'SET_POINT_MODE': '1', 'STATE': '8', 'HUMIDITY': '1'}
2022-08-15 13:49:57.284 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 000C9A498DC758: {'CONTROL_MODE': '1', 'BOOST_MODE': '1', 'SET_POINT_TEMPERATURE': '1', 'RSSI_DEVICE': '0', 'SET_POINT_MODE': '1', 'STATE': '8', 'ACTUAL_TEMPERATURE': '1', 'HUMIDITY': '1'}
2022-08-15 13:49:57.363 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 00189A4995D0CF: {'OPERATING_VOLTAGE': '0', 'LOW_BAT': '0', 'RSSI_DEVICE': '0', 'WATERLEVEL_DETECTED': '1'}
2022-08-15 13:49:57.381 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 000C9A498DC2E0: {'BOOST_MODE': '1', 'RSSI_DEVICE': '0', 'SET_POINT_MODE': '1', 'STATE': '8', 'HUMIDITY': '1'}
2022-08-15 13:49:57.389 INFO (SyncWorker_2) [pyhomematic.devicetypes.generic] HMGeneric.getValue: LOW_BAT on 000A5BE99C5055:0 Exception: <Fault -5: 'Unknown Parameter value for value key: LOW_BAT'>
2022-08-15 13:49:57.412 INFO (SyncWorker_5) [pyhomematic.devicetypes.generic] HMGeneric.getValue: LOW_BAT on 000A5BE99C4704:0 Exception: <Fault -5: 'Unknown Parameter value for value key: LOW_BAT'>
2022-08-15 13:49:57.422 INFO (SyncWorker_5) [pyhomematic.devicetypes.generic] HMGeneric.getValue: RSSI_DEVICE on 000A5BE99C4704:0 Exception: <Fault -5: 'Unknown Parameter value for value key: RSSI_DEVICE'>
2022-08-15 13:49:57.442 INFO (SyncWorker_2) [pyhomematic.devicetypes.generic] HMGeneric.getValue: RSSI_DEVICE on 000A5BE99C5055:0 Exception: <Fault -5: 'Unknown Parameter value for value key: RSSI_DEVICE'>
2022-08-15 13:49:57.447 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 000A5BE99C5055: {'LOW_BAT': '0', 'RSSI_DEVICE': '0'}
2022-08-15 13:49:57.453 INFO (SyncWorker_5) [pyhomematic.devicetypes.generic] HMGeneric.getValue: SMOKE_DETECTOR_ALARM_STATUS on 000A5BE99C4704:1 Exception: <Fault -5: 'Unknown Parameter value for value key: SMOKE_DETECTOR_ALARM_STATUS'>
2022-08-15 13:49:57.456 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 000A5BE99C4704: {'LOW_BAT': '0', 'RSSI_DEVICE': '0', 'SMOKE_DETECTOR_ALARM_STATUS': '1'}
2022-08-15 13:49:57.478 INFO (SyncWorker_1) [pyhomematic.devicetypes.generic] HMGeneric.getValue: LOW_BAT on 000A5BE99C4704:0 Exception: <Fault -5: 'Unknown Parameter value for value key: LOW_BAT'>
2022-08-15 13:49:57.499 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 000C9A498DC2E0: {'CONTROL_MODE': '1', 'BOOST_MODE': '1', 'SET_POINT_TEMPERATURE': '1', 'RSSI_DEVICE': '0', 'SET_POINT_MODE': '1', 'STATE': '8', 'ACTUAL_TEMPERATURE': '1', 'HUMIDITY': '1'}
2022-08-15 13:49:57.506 INFO (SyncWorker_1) [pyhomematic.devicetypes.generic] HMGeneric.getValue: RSSI_DEVICE on 000A5BE99C4704:0 Exception: <Fault -5: 'Unknown Parameter value for value key: RSSI_DEVICE'>
2022-08-15 13:49:57.510 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 000A5BE99C4704: {'LOW_BAT': '0', 'RSSI_DEVICE': '0'}
2022-08-15 13:49:57.614 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 00109D89935272: {'SABOTAGE': '0', 'OPERATING_VOLTAGE': '0', 'LOW_BAT': '0', 'RSSI_DEVICE': '0'}
2022-08-15 13:49:57.652 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 000A5BE99C504F: {'LOW_BAT': '0', 'RSSI_DEVICE': '0'}
2022-08-15 13:49:57.671 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 000C9BE9A6CABE: {'BOOST_MODE': '1', 'RSSI_DEVICE': '0', 'SET_POINT_MODE': '1', 'STATE': '8', 'HUMIDITY': '1'}
2022-08-15 13:49:57.696 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 000C9BE9A6CABE: {'CONTROL_MODE': '1', 'BOOST_MODE': '1', 'SET_POINT_TEMPERATURE': '1', 'RSSI_DEVICE': '0', 'SET_POINT_MODE': '1', 'STATE': '8', 'ACTUAL_TEMPERATURE': '1', 'HUMIDITY': '1'}
2022-08-15 13:49:57.743 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 00189A4995D0CF: {'OPERATING_VOLTAGE': '0', 'LOW_BAT': '0', 'RSSI_DEVICE': '0'}
2022-08-15 13:49:57.801 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 000C9A498DC2AA: {'BOOST_MODE': '1', 'RSSI_DEVICE': '0', 'SET_POINT_MODE': '1', 'STATE': '8', 'HUMIDITY': '1'}
2022-08-15 13:49:57.845 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 000C9A498DC2AA: {'CONTROL_MODE': '1', 'BOOST_MODE': '1', 'SET_POINT_TEMPERATURE': '1', 'RSSI_DEVICE': '0', 'SET_POINT_MODE': '1', 'STATE': '8', 'ACTUAL_TEMPERATURE': '1', 'HUMIDITY': '1'}
2022-08-15 13:49:57.891 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 000C9A499EF0D5: {'BOOST_MODE': '1', 'RSSI_DEVICE': '0', 'SET_POINT_MODE': '1', 'STATE': '8', 'HUMIDITY': '1'}
2022-08-15 13:49:57.957 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 000A5BE99C504F: {'LOW_BAT': '0', 'RSSI_DEVICE': '0', 'SMOKE_DETECTOR_ALARM_STATUS': '1'}
2022-08-15 13:49:57.972 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 000C9A499EF0D5: {'CONTROL_MODE': '1', 'BOOST_MODE': '1', 'SET_POINT_TEMPERATURE': '1', 'RSSI_DEVICE': '0', 'SET_POINT_MODE': '1', 'STATE': '8', 'ACTUAL_TEMPERATURE': '1', 'HUMIDITY': '1'}
2022-08-15 13:49:58.040 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 000C9BE9A6CAC7: {'BOOST_MODE': '1', 'RSSI_DEVICE': '0', 'SET_POINT_MODE': '1', 'STATE': '8', 'HUMIDITY': '1'}
2022-08-15 13:49:58.123 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 000C9A499EF0D4: {'BOOST_MODE': '1', 'RSSI_DEVICE': '0', 'SET_POINT_MODE': '1', 'STATE': '8', 'HUMIDITY': '1'}
2022-08-15 13:49:58.132 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 000C9BE9A6CAC7: {'CONTROL_MODE': '1', 'BOOST_MODE': '1', 'SET_POINT_TEMPERATURE': '1', 'RSSI_DEVICE': '0', 'SET_POINT_MODE': '1', 'STATE': '8', 'ACTUAL_TEMPERATURE': '1', 'HUMIDITY': '1'}
2022-08-15 13:49:58.209 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 000C9A498DC437: {'BOOST_MODE': '1', 'RSSI_DEVICE': '0', 'SET_POINT_MODE': '1', 'STATE': '8', 'HUMIDITY': '1'}
2022-08-15 13:49:58.225 INFO (SyncWorker_1) [pyhomematic.devicetypes.generic] HMGeneric.getValue: RSSI_PEER on 001358A99563B7:0 Exception: <Fault -5: 'Unknown Parameter value for value key: RSSI_PEER'>
2022-08-15 13:49:58.290 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 000C9A499EF0D4: {'CONTROL_MODE': '1', 'BOOST_MODE': '1', 'SET_POINT_TEMPERATURE': '1', 'RSSI_DEVICE': '0', 'SET_POINT_MODE': '1', 'STATE': '8', 'ACTUAL_TEMPERATURE': '1', 'HUMIDITY': '1'}
2022-08-15 13:49:58.364 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 001358A99563B7: {'LEVEL': '3', 'RSSI_PEER': '0', 'ACTIVITY_STATE': '4', 'LEVEL_STATUS': '4', 'SECTION': '4'}
2022-08-15 13:49:58.386 INFO (SyncWorker_8) [pyhomematic.devicetypes.generic] HMGeneric.getValue: RSSI_PEER on 001358A99563B7:0 Exception: <Fault -5: 'Unknown Parameter value for value key: RSSI_PEER'>
2022-08-15 13:49:58.485 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 000C9A498DC437: {'CONTROL_MODE': '1', 'BOOST_MODE': '1', 'SET_POINT_TEMPERATURE': '1', 'RSSI_DEVICE': '0', 'SET_POINT_MODE': '1', 'STATE': '8', 'ACTUAL_TEMPERATURE': '1', 'HUMIDITY': '1'}
2022-08-15 13:49:58.503 DEBUG (MainThread) [homeassistant.components.homematic.entity] Channel map for 001358A99563B7: {'LEVEL_2': '3', 'RSSI_PEER': '0', 'ACTIVITY_STATE': '4', 'LEVEL_STATUS': '4', 'SECTION': '4'}
2022-08-15 13:50:26.655 ERROR (SyncWorker_8) [pyhomematic._hm] RPCFunctions.jsonRpcPost: Exception: HTTP Error 404: Not Found
2022-08-15 13:50:26.660 WARNING (SyncWorker_8) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session.
2022-08-15 13:50:56.655 ERROR (SyncWorker_0) [pyhomematic._hm] RPCFunctions.jsonRpcPost: Exception: HTTP Error 404: Not Found
2022-08-15 13:50:56.659 WARNING (SyncWorker_0) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session.
2022-08-15 13:51:26.657 ERROR (SyncWorker_8) [pyhomematic._hm] RPCFunctions.jsonRpcPost: Exception: HTTP Error 404: Not Found
2022-08-15 13:51:26.662 WARNING (SyncWorker_8) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session.
2022-08-15 13:51:29.036 ERROR (SyncWorker_3) [homeassistant.components.homematic.entity] Variable Haustuer not found on ccu3
2022-08-15 13:51:56.658 ERROR (SyncWorker_5) [pyhomematic._hm] RPCFunctions.jsonRpcPost: Exception: HTTP Error 404: Not Found
2022-08-15 13:51:56.661 WARNING (SyncWorker_5) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session.
2022-08-15 13:52:26.659 ERROR (SyncWorker_3) [pyhomematic._hm] RPCFunctions.jsonRpcPost: Exception: HTTP Error 404: Not Found
2022-08-15 13:52:26.663 WARNING (SyncWorker_3) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session.
2022-08-15 13:52:56.660 ERROR (SyncWorker_7) [pyhomematic._hm] RPCFunctions.jsonRpcPost: Exception: HTTP Error 404: Not Found
2022-08-15 13:52:56.664 WARNING (SyncWorker_7) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session.
2022-08-15 13:53:26.661 ERROR (SyncWorker_4) [pyhomematic._hm] RPCFunctions.jsonRpcPost: Exception: HTTP Error 404: Not Found
2022-08-15 13:53:26.664 WARNING (SyncWorker_4) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session.
[...]
2022-08-15 14:30:56.752 ERROR (SyncWorker_7) [pyhomematic._hm] RPCFunctions.jsonRpcPost: Exception: HTTP Error 404: Not Found
2022-08-15 14:30:56.755 WARNING (SyncWorker_7) [pyhomematic._hm] ServerThread.jsonRpcLogin: Unable to open session.

I haven’t touched the config for a while and it used to work well up until recently:

homematic:
  interfaces:
    HMIP:
      host: 192.168.178.78
      port: 2010
      jsonport: 8080
      resolvenames: json
    groups:
      host: 192.168.178.78
      port: 9292
      jsonport: 8080
      resolvenames: json
      username: xxx
      password: xxx
      path: /groups
  hosts:
    ccu3:
      host: 192.168.178.78
      username: xxx
      password: xxx

On my CCU I’m running Raspberrymatic 3.65.6.20220723 and Home Assistant 2022.8.4 on a different machine.

Any idea how to narrow down the root cause of this?

Thanks,
Florian