Hope someone can help: Run HA on a RPI with the homematic ip cloud integrations.
Since 2 weeks I am no longer able to turn on / off the switch. Interestingly the manuel turn on / off at the device updates the status in HA. But the turn on event in HA gives following error: HmipWrongStatusError(400) and generates this log:
Logger: homeassistant.components.websocket_api.http.connection
Source: components/homematicip_cloud/switch.py:108
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 21:07:48 (2 occurrences)
Last logged: 21:08:15
[547992883984] HmipWrongHttpStatusError(400)
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py”, line 185, in handle_call_service
await hass.services.async_call(
File “/usr/src/homeassistant/homeassistant/core.py”, line 1491, in async_call
task.result()
File “/usr/src/homeassistant/homeassistant/core.py”, line 1526, in _execute_service
await handler.job.target(service_call)
File “/usr/src/homeassistant/homeassistant/helpers/entity_component.py”, line 213, in handle_service
await self.hass.helpers.service.entity_service_call(
File “/usr/src/homeassistant/homeassistant/helpers/service.py”, line 658, in entity_service_call
future.result() # pop exception if have
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 830, in async_request_call
await coro
File “/usr/src/homeassistant/homeassistant/helpers/service.py”, line 695, in _handle_entity_call
await result
File “/usr/src/homeassistant/homeassistant/components/homematicip_cloud/switch.py”, line 108, in async_turn_on
await self._device.turn_on(self._channel)
File “/usr/local/lib/python3.9/site-packages/homematicip/aio/device.py”, line 42, in turn_on
return await self.set_switch_state(True, channelIndex)
File “/usr/local/lib/python3.9/site-packages/homematicip/aio/device.py”, line 38, in set_switch_state
return await self._connection.api_call(url, data)
File “/usr/local/lib/python3.9/site-packages/homematicip/aio/connection.py”, line 97, in api_call
raise HmipWrongHttpStatusError(result.status)
homematicip.base.base_connection.HmipWrongHttpStatusError: HmipWrongHttpStatusError(400)
I have the same exact issue. I am no longer able to turn on / off the switch. everything else seems to work fine (reading sensors etc and setting heating values). The status of these switches are updated fine when using the homematic ip app in hass.
issue started after home assistant update and i guess it begon in version core_2021.9.6`. the previous version i ran was core_2021.8.8. Thats what noticed.
full restore to core-2021.6.4 and needed to re-integrate the hmip but same result. everything else but the buttons are working and giving me the same error like you (http400).
yes sir me to. Im not sure if you noticed, but you can now enable the “hot water req” trough the homematic ip app. i thought this was not available. maybe im wrong but yes i think there was a change at the hmip side. I did a packet capture but the connection is secured obvousily so i cant see the http request methods. I think we need to open a case with the hmip integration developers and see if they can make a fix. obvousily they arent aware of this.
ok. No did not spend time on it. hoped there where some reaction from the developers. I think this is just something small like they change the paramters from 1&0 to on/off…