Just wanted to share my current setup of homematic Wireless Radiator Thermostat HM-CC-RT-DN control to get you feedback where/what that can improved
Following functions are implemented:
- Auto mode - switch into auto_state on mode; Thermostat uses timing rules of homematic
- Boost mode - switch into boost_mode; quick warm up
- Day mode - switch into comfort_mode, auto off, low off
- Night mode - switch into low_mode, auto off, comfort off
Functions via homematic ccu:
- set timing rules - actually would love to have that configuration in openhab but currently now idea how to implement to enter numbers in openhab.
Major challenge I had is how to receive the status of each mode of the device. While I can request the state for “auto” and “boost”, there seems to be no possiblity to get the state for “comfort” and “low”
As mentioned earlier a “refresh” function for homematic devices would be highly appreciated.
Would appreciate any ideas how to improve configuration below:
items:
/* Heating */
Switch Heating_CE_Office "Temp. Office" <heating> (CE_Office, Heating)
Number Heating_CE_Office_Control "Mode" <temperature> (CE_Office, Heating)
Switch Heating_CE_Office_Mode_Auto {homematic="address=KEQ012345, channel=4, parameter=AUTO_MODE"}
Switch Heating_CE_Office_Mode_Boost {homematic="address=KEQ012345, channel=4, parameter=BOOST_MODE"}
Switch Heating_CE_Office_Mode_Comfort {homematic="address=KEQ012345, channel=4, parameter=COMFORT_MODE"}
Switch Heating_CE_Office_Mode_Lower {homematic="address=KEQ012345, channel=4, parameter=LOWERING_MODE"}
Switch Heating_CE_Office_Mode_Manu {homematic="address=KEQ012345, channel=4, parameter=MANU_MODE"}
Number Heating_CE_Office_Mode_Control {homematic="address=KEQ012345, channel=4, parameter=CONTROL_MODE"}
Number Heating_CE_Office_SET_TEMP {homematic="address=KEQ012345, channel=4, parameter=SET_TEMPERATURE"}
rules:
/* Homematic HEATING Office Status Update*/
rule "Update Status Thermostat Office"
when
Time cron "0 * * * * ?" or // Jede Minute ĂĽberprĂĽfen, oder
Item Heating_CE_Office_Mode_Control changed // oder wenn sich Item ändert
then
switch (Heating_CE_Office_Mode_Control.state)
{
case 0 : postUpdate(Heating_CE_Office_Control, 0 )
case 3 : postUpdate(Heating_CE_Office_Control, 1 )
case 1 : {
if (Heating_CE_Office_SET_TEMP.state > 20)
postUpdate(Heating_CE_Office_Control, 2 )
else
postUpdate(Heating_CE_Office_Control, 3 )
}
}
end
/* Homematic HEATING Office */
rule "Select Heating Mode Office"
when
Item Heating_CE_Office_Control received command
then
switch (Heating_CE_Office_Control.state)
{
case 0 : {
sendCommand(Heating_CE_Office_Mode_Lower, OFF)
sendCommand(Heating_CE_Office_Mode_Comfort, OFF)
sendCommand(Heating_CE_Office_Mode_Auto, ON)
}
case 1 : {
sendCommand(Heating_CE_Office_Mode_Boost, ON)
}
case 2 : {
sendCommand(Heating_CE_Office_Mode_Manu, ON)
sendCommand(Heating_CE_Office_Mode_Lower, OFF)
sendCommand(Heating_CE_Office_Mode_Comfort, ON)
}
case 3 : {
sendCommand(Heating_CE_Office_Mode_Manu, ON)
sendCommand(Heating_CE_Office_Mode_Comfort, OFF)
sendCommand(Heating_CE_Office_Mode_Lower, ON)
}
}
end
sitemap:
Frame label="Office" {
Switch item=Heating_CE_Office_Control mappings=[0="AUTO", 1="BOOST", 2="Tag", 3="Nacht"]
}