Hello,
I have created two simple programs in the CCU, which are to be executed with a virtual button. Both programs work via the CCU and the weekly profile of the thermostats is switched over. But there is no reaction via openHAB.
Number Heizung ""
Switch Heizung_Arbeit "Arbeiten" {channel="homematic:HM-RCV-50:f52ed63e:BidCoS-RF:09#PRESS_SHORT"}
Switch Heizung_Frei "Freier Tag" {channel="homematic:HM-RCV-50:f52ed63e:BidCoS-RF:10#PRESS_SHORT"}
rule "Heizung"
when
Item Heizung received command
then
if (receivedCommand==1) {
Heizung_Arbeit.sendCommand(ON)
}
if (receivedCommand==2) {
Heizung_Frei.sendCommand(ON)
}
if (receivedCommand==3) {
Heizung_Urlaub.sendCommand(ON)
}
end
Switch item=Heizung icon="" mappings=[1="Arbeiten", 2="Frei",3="Urlaub"]
Any ideas?
Greetings
Thomas