Hello,
I’d like to revive this topic with my current issue.
I’ll try to simplify my set-up as follows (it’s just part of my set-up):
- Homematic CCU2
- Homematic Wall Thermostat (HM-TC-IT-WM-W-EU)
- Homematic 3 x radiator thermostats (HM-CC-RT-DN)
All those are virtually grouped together - HM-CC-VG-1- in the CCU2 and working great for years.
Now I’ve integrated all those into OH 2.5.
First issues:
- working with the Wall Thermostat (HM-TC-IT-WM-W-EU) did work on the Thermostat but did not send the actions to the radiator thermostats (HM-CC-RT-DN)
- working with one of the radiator thermostats (HM-CC-RT-DN) had the same effect
So I’now configured everything though "the"virtual device group including all 4 elements: HM-CC-VG-1.
Items:
String SalleMangerCuisine_1_ControlMode “Mode CCU2 [%s]” { channel=“homematic:HM-CC-VG-1:LEQ1005832:INT0000003:1**#CONTROL_MODE**” }
Switch SalleMangerCuisine_1_AutoMode “Automatic mode” { channel=“homematic:HM-CC-VG-1:LEQ1005832:INT0000003:1#AUTO_MODE” }
Number SalleMangerCuisine_1_SetTemperature “Target temperature [%.1f °C]” { channel=“homematic:HM-CC-VG-1:LEQ1005832:INT0000003:1#SET_TEMPERATURE” }
Number SalleMangerCuisine_1_ManuMode “Manual mode” { channel=“homematic:HM-CC-VG-1:LEQ1005832:INT0000003:1#MANU_MODE” }
Number SalleMangerCuisine_1_ActualTemperature “Current temperature [%.1f °C]” { channel=“homematic:HM-CC-VG-1:LEQ1005832:INT0000003:1#ACTUAL_TEMPERATURE” }
String SalleMangerCuisine_1_Control_Mode_openHAB “Mode openHAB[%s]”
Rules: I have 2 rules
//
//ThermostatSalle a Manger Cuisine via groupe
//
rule “ThermostatSalleaManger mode via Grouoe 3 Vannes”
when
Item SalleMangerCuisine_1_Control_Mode_openHAB changed
then
logDebug(“homematic”, “Mode switcher rule of group Salle à Manger/Cuisine executed with control mode ‘{}’”,
SalleMangerCuisine_1_Control_Mode_openHAB.state.toString)
if(“MANU-MODE”.equals(SalleMangerCuisine_1_Control_Mode_openHAB.state.toString)) {
SalleMangerCuisine_1_ManuMode.sendCommand(SalleMangerCuisine_1_SetTemperature.state as Number)
logInfo(“homematic”, “Switched group Salle à Manger/Cuisine to MANU_MODE with value {}”,
SalleMangerCuisine_1_SetTemperature.state as Number)
} else if(“AUTO-MODE”.equals(SalleMangerCuisine_1_Control_Mode_openHAB.state.toString)) {
SalleMangerCuisine_1_AutoMode.sendCommand(ON)
logInfo(“homematic”, “Switched group Salle à Manger/Cuisine to AUTO_MODE”)
} else if(“BOOST-MODE”.equals(SalleMangerCuisine_1_Control_Mode_openHAB.state.toString)) {
SalleMangerCuisine_1_BoostMode.sendCommand(ON)
logInfo(“homematic”, “Switched group Salle à Manger/Cuisine to BOOST_MODE”)
}
end
rule “Sync thermostat mode ThermostatSalleaManger via groupe”
when
Item SalleMangerCuisine_1_ControlMode changed
then
logDebug(“homematic”, “New control mode sent by CCU2 to group Salle à Manger/Cuisine is ‘{}’”,
SalleMangerCuisine_1_ControlMode.state.toString);
SalleMangerCuisine_1_Control_Mode_openHAB.sendCommand(SalleMangerCuisine_1_ControlMode.state.toString)
end
//
And the sitemap
Frame label= “Salle à Manger/Cuisine (Groupe)”{
Text item=SalleMangerCuisine_1_ActualTemperature icon=“thermo”
{
Frame label= “Salle à Manger/Cuisine (Groupe)” {
Text item=SalleMangerCuisine_1_ActualTemperature icon=“thermo”
Slider item=SalleMangerCuisine_1_SetTemperature switchSupport minValue=4.5 maxValue=24 step=0.5 icon=“vanne”
Setpoint item=SalleMangerCuisine_1_SetTemperature step=0.5 minValue=4.5 maxValue=24
Text item=VanneCuisine_4_SetTemperature icon=“thermo”
Switch item=SalleMangerCuisine_1_Control_Mode_openHAB mappings=[“AUTO-MODE”=“Automatic”, “MANU-MODE”=“Manual”, “BOOST-MODE”=“Boost”]
Text item=SalleMangerCuisine_1_BoostState icon=“Fire”
}
}
Results:
The “slider” works ok but is not very accurate so I’ve added a “Setpoint” for fine t° definition.
All this works fine.
BUT the values that are sent back are not updated !
If I manually change the t° or mode on the thermostat or on the radiators…it is not reflected in OH.
On the contrary my set-up works like a charm on all my stand-alone (not linked to a wall thermostat) other radiator thermostats !
All values are updated dynamically without issue.
Would you see where my error is ???
Thanks a lot for your review