Hi,
ich möchte einen Impulszähler bauen, und verwende dafür folgende rule
import org.openhab.core.library.types.*
import org.openhab.model.script.actions.*
rule GasZaehler
when
Item GasImpuls changed
then
logInfo("myRules","Impuls gezaehlt")
end
und in items habe ich
Switch GasImpuls { knx="1/1/5" }
ich hatte auch schon Contact. Ich habe auch schon probiert anstelle des logInfo mal ein sendCommand. Aber irgendwie bekomme ich keinerlei Reaktion. Es kommt nix raus, auch wenn ich alles auf DEBUG stelle.
Irgendeine Idee ?
Gruss
Steffen
ich möchte einen Impulszähler bauen, und verwende dafür folgende rule
import org.openhab.core.library.types.*
import org.openhab.model.script.actions.*
rule GasZaehler
when
Item GasImpuls changed
then
logInfo("myRules","Impuls gezaehlt")
end
und in items habe ich
Switch GasImpuls { knx="1/1/5" }
ich hatte auch schon Contact. Ich habe auch schon probiert anstelle des logInfo mal ein sendCommand. Aber irgendwie bekomme ich keinerlei Reaktion. Es kommt nix raus, auch wenn ich alles auf DEBUG stelle.
Irgendeine Idee ?
Gruss
Steffen
Kommentar