Hi all
Needed some time to integrate my Bosch Room Thermostat II in a usefull way.
Some hints for others.
My Hardware
- Bosch Room Thermostat II
- Bosch Smart Home Controller II
- Bosch Smart Home App on iPhone
My configuration for presence
- Presence group, which includes all members of the house
- An input_select.home_away_holidays (home, away, holidays)
- Automations, which change the input_select, triggered by changes in the presence group
Desired behavior
- The target temperature of the thermostat should change, in dependence of home / away / holidays
Implementation Steps
- Installed the integration for Bosch SHC.
- Because the Bosch SHC integration does not (yet) support the Room Thermostat II, I installed the HACS component. A lot of thanks to @tschamm for his great work.
- This allows a service call of bosch_shc.trigger_scenario and to change the desired temperature without messing up. Before I was experimenting with Better Thermostat, which changed my Bosch Thermostat in unwanted ways.
Detailed steps for triggering the scenarios
- In the Smart Home App for Bosch I did set up three heating schedules (for home, away, holidays). E. g. holidays will be at a temperature of 16.
- Then I did se tup in the Smart Home App for Bosch three scenarios, each selects the corresponding heating schedule. E. g. scenario holiday selects heating schedule holiday.
- Reload the Bosch SHC in Home Assistant
- Restart Home Assistant
- Controll the entities of the Bosch SHC integration. The defined scenarios in the Bosch App are now available as entities. Example: event.scenario_holidays (entity id)
- Setup an automation using the service bosch_shc.trigger_scenario. I needed some time to find out the correct syntax.
trigger:
- platform: state
entity_id:
- input_select.home_away_holiday
to: Holiday
condition: []
action:
- service: bosch_shc.trigger_scenario
data:
name: Holiday
- Important step here was the name (Holiday) in the service trigger. First I thought, it has to be the name of the generated entities (event.scenario_holidays, see above). But it has to be the name given in the Smart Home App for Bosch.
- I added three automations (for home, away, holidays)
Result
- If I change my input_select.home_away_holiday (by automation or manually), Home Assistant changes my heating schedule on the Bosch Room Thermostat II.