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

Error Code 400 when switching off multiple instances of Bosch Thermostat II in a scene #73

Open
fritut08 opened this issue Dec 7, 2022 · 5 comments
Assignees

Comments

@fritut08
Copy link

fritut08 commented Dec 7, 2022

I successfully installed this integration in Home Assistant and configured my 5 Bosch Thermostats II. so that I can set the desired room climate temperature or mode (off, manual, automatic) without a problem for individual thermostats.
However, I created scenes to change the mode of all 5 thermostats at once and when I trigger the scene that switches the thermostats off, I get the following error:
Fehler beim Aufrufen des Dienstes scene/turn_on. SHC Error (message: API call returned non-OK result (code 400)!: b'{"@type"."JsonRestExecutionResponseEntity","errorCode":"WRONG_THERMOSTAT_GROUP_MODE","statusCode":400}')
(The first few words are German and translate to "Error while calling the service...")
The thermostats are all switched offed despite this error message. But the error makes it impossible to use the scene within an automation because those stop as soon as an error occurs.
Oddly, the other scenes that switch all thermostats to automatic or manual mode work without resulting in an error.

Does anyone know what error code 400 means and whether I can do something about it?

@fritut08 fritut08 changed the title Error Code 400 when switching multiple instances of Bosch Thermostat II in a scene Error Code 400 when switching off multiple instances of Bosch Thermostat II in a scene Dec 7, 2022
@fritut08
Copy link
Author

fritut08 commented Dec 7, 2022

This is a picture of the log after the error occured. The automation that makes use of the scene is named "Durchlüften Thermostate".

grafik

@tschamm
Copy link
Owner

tschamm commented Dec 25, 2022

Hi @fritut08
You may ask in the Bosch Smart Home what is the root cause of the error "WRONG_THERMOSTAT_GROUP_MODE". This may help us to understand better why this happens.

@fritut08
Copy link
Author

@tschamm
Thanks for the reply. I did so here.

@tschamm tschamm removed the help wanted Extra attention is needed label Jan 29, 2023
@tschamm tschamm self-assigned this Jan 29, 2023
@Hellfirefox
Copy link

I put three Thermostat IIs into operation today. One is in a room with a Bosch window sensor. When the window is open and the window sensor is set to open, I get the same error.
If the window was closed, the error message did not appear.
I don't know if the description helps, but I suspect it has to do with the underfloor heating shutting off when the window is open.

@tschamm
Copy link
Owner

tschamm commented Oct 19, 2023

I can confirm this error.

  • putting the device in eco mode (opening a window in the same room)
  • adjusting the temperature via API - all ok, device stays in eco mode
  • adjust the temperature manually on the thermostat, eco mode is stopped and temperature is set to desired value
  • adjusting the temperature via API (window is still open), WRONG_THERMOSTAT_GROUP_MODE error pops up

Reason for this is most probably that eco mode is set for the Climate Control (i.e. the room the thermostat is used in), while overriding the thermostat temperature via the buttons adjusts only the valve position of that single thermostat. I also checked the official app. When eco mode is on, no temperature can be set.

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

No branches or pull requests

3 participants