Skip to content

Instantly share code, notes, and snippets.

View nbartels's full-sized avatar
👨‍💻

Norbert Bartels nbartels

👨‍💻
View GitHub Profile
@nbartels
nbartels / washerNotifier.rules
Created February 25, 2021 08:05
Washing machine Openhab Rule example
var Number counter = 11
rule "washernotification"
when
Item MeterWasherEnergyPower received update
then
logInfo("MeterWasherEnergyPower", "received update " + MeterWasherEnergyPower.state)
if (MeterWasherEnergyPower.state > 3.0) {
counter = 0
} else {

Keybase proof

I hereby claim:

  • I am nbartels on github.
  • I am viego (https://keybase.io/viego) on keybase.
  • I have a public key ASDYD_A-5ZSoP5FJKKiAiSvEpK7fyvL9f1IC5hICMGkFuwo

To claim this, I am signing this object: