Hallo everybody,
I’m trying to bind a new Homematic IP Steckdose with Openhab. Since It does not work with the Openhab Binding, I was trying with Program on CCU and rule on Openhab.
I tried with the following procedure but with no results…: (It should work)
I even cannot get a Log to understand what I’m doing wrong.
Can anybody help?
Thank you
Nico
===============
***on CCU2 I created a Rule to turn on and off the Plug:
Condition: If… HMIP-PS 000213C9XXXXXX:3 when ON “Trigger when changed”
***and the other one:
Condition: If… HMIP-PS 000213C9XXXXXX:3 when OFF “Trigger when changed”
**** rule:
rule "Plug IP"
when
Item IP_Plug_1 received command
then
switch(receivedCommand) {
case ON : {
sendCommand(IP_Plug_1_on, ON)
logInfo(“IP Plug 1”, “Triggered CCU program to switch ON”)
}
case OFF : {
sendCommand(IP_Plug_1_off, ON)
logInfo(“IP Plug 1”, “Triggered CCU program to switch OFF”)
}
}
end
You should try IP_Plug_1_on.sendCommand(ON) respectively IP_Plug_1_off.sendCommand(ON)
Ah. And maybe the rule isn’t triggered at all, because the UI does not send a command but only a change, so try when Item IP_Plug_1 changed and switch(IP_Plug_1.state)
but still not working :-/
It’s driving me crazy. I just would like to make a HomematicIP Steckdose work wit my Homematic.
The plug if I use the Homematic web interface works fine.
If you have any suggestion, would be much appreciated.
The Program in the CCU was set up incorrectly. It was triggering, but I forgot to tell the program to execute a change of state of the device
Thank you Udo, you’re hint helped me out!. :thumbs:
One more thing:
I think there’s an issue with the actual Binding, because I often get this error: > Disabled Item IP_Plug_2_off with binding ProgramConfig[name=Plug_IP_2_OFF]
Actually i do not know what is the significate of this log line…