Hi,
in my KNX 2.x testing environment I noticed, that my blinds did not move as expected. First I thought, that this was caused by not being able to send a percent value to the rollershutter item.
But further testing showed, that the rules which sends the value was not triggered.
The isolate the problem I created several test rules:
1. Blinds “received command” and "update"
rule "Test blinds command"
when
Item Rolladen_Arbeiten_EG received command
then
logInfo("blinds rules", "########### Rolladen_Arbeiten_EG received command: " + receivedCommand)
if (receivedCommand == DOWN)
{
logInfo("blinds rules", "######### Rolladen_Arbeiten_EG received command down")
}
end
rule "Test blinds updated"
when
Item Rolladen_Arbeiten_EG received update
then
logInfo("blinds rules", "################ Rolladen_Arbeiten_EG received update: ")
end
In openHAB 2.2 with KNX 1 the rule trigger “received command” works as expected. In openHAB 2.3 with KNX 2 only the “received update” rule trigger works.
1. Switch item “received command” and "update"
I noticed the same behavior for a switch item.
The following rule works for openHAB 2.2 with KNX 1.x:
rule "Received KNX Watchdog Response"
when
Item KNX_Watchdog_Receive received command ON
then
KNX_Interface_Connected.postUpdate(ON)
logInfo("system rules", "Received KNX Watchdog reply")
end
In openHAB 2.3 with KNX 2, the above rule is not triggered but a “received update” trigger works:
rule "Received KNX Watchdog Response Update"
when
Item KNX_Watchdog_Receive received update
then
KNX_Interface_Connected.postUpdate(ON)
logInfo("system rules", "Received KNX Watchdog reply update")
end
I am nut sure, if this is intended behavior or a bug in openHAB 2.3 or KNX 2