Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AxiosError: Request failed with status code 400 #538

Open
thoeckerde opened this issue Mar 29, 2024 · 4 comments
Open

AxiosError: Request failed with status code 400 #538

thoeckerde opened this issue Mar 29, 2024 · 4 comments
Labels
question Further information is requested

Comments

@thoeckerde
Copy link

thoeckerde commented Mar 29, 2024

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 )
`
@Apollon77
Copy link
Member

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 Apollon77 added the question Further information is requested label Mar 29, 2024
@thoeckerde
Copy link
Author

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.

@gittjoel
Copy link

Same here as described by thoeckerde

@mcm1957
Copy link
Member

mcm1957 commented Dec 11, 2024

Please check with current 1.26.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants