ioBroker.hmip icon indicating copy to clipboard operation
ioBroker.hmip copied to clipboard

AxiosError: Request failed with status code 400

Open thoeckerde opened this issue 10 months ago • 3 comments

Hello,

I use the HmIP-eTRV-B-2 R4M thermostats. When I change the setTemperature status for one thermostat, I have been getting the message "Request error: AxiosError: Request failed with status code 400" in the log for some time. Sometimes the thermostat switches to the set temperature anyway, but sometimes not.

Perhaps the error message relates to issue 536?

`

hmip.0 2024-03-29 09:36:45.144 warn Request error: AxiosError: Request failed with status code 400
hmip.0 2024-03-29 09:36:45.079 debug setPointTemperature - id ["XXXXXXXXXX-9abb-4cc7-8f33-XXXXXXXXXX","XXXXXXXXXX-d22a-4a16-a594-XXXXXXXXXX"] - Send debounced value 15 now to HMIP
hmip.0 2024-03-29 09:36:40.078 debug state change - setPointTemperature - id ["XXXXXXXXXX-9abb-4cc7-8f33-XXXXXXXXXX","XXXXXXXXXX-d22a-4a16-a594-XXXXXXXXXX"] - value rounded to 15 (step=0.5 )
hmip.0 2024-03-29 09:30:54.063 warn Request error: AxiosError: Request failed with status code 400
hmip.0 2024-03-29 09:30:53.993 debug setPointTemperature - id ["XXXXXXXXXX-9abb-4cc7-8f33-XXXXXXXXXX","XXXXXXXXXX-d22a-4a16-a594-XXXXXXXXXX"] - Send debounced value 13 now to HMIP
hmip.0 2024-03-29 09:30:48.993 debug state change - setPointTemperature - id ["XXXXXXXXXX-9abb-4cc7-8f33-XXXXXXXXXX","XXXXXXXXXX-d22a-4a16-a594-XXXXXXXXXX"] - value rounded to 13 (step=0.5 )
`

thoeckerde avatar Mar 29 '24 09:03 thoeckerde

Good question ... error 400 is "bad request" ... whatever that means ... so ... when does it work? When not? Please try to test that out and provide such details, maybe we find a reason

Apollon77 avatar Mar 29 '24 16:03 Apollon77

I analysed it in more detail for a month. I currently assume that the data is always transmitted correctly, even if the response is always error 400. If the temperature is not being transmitted correctly to the cloud, I suspect it's more likely to be due to internet interruptions, which we've unfortunately had a lot of here recently. But I will keep an eye on it.

thoeckerde avatar Apr 28 '24 05:04 thoeckerde

Same here as described by thoeckerde

gittjoel avatar Jun 15 '24 09:06 gittjoel