NGRE without a thing

It is really not clear exactly what problem you are trying to solve and the way you put a few things makes me thing you don’t quite understand how OH works.

With OH 1.x version bindings like the HTTP binding you have an Item and a binding config on the Item. This Item represents a sensor or actuator of your physical device (the door in this case).

With OH 2.x bindings you have Things to represent the physical device. Things have a separate Channel for each sensor and actuator the device supports. You then expose those Channels to the rest of OH by linking them to an Item.

In either case, just about everything in openHAB operates on Items.

So, as Scott suggested, if you want to create a Rule using PaperUI which gets stored in the JSONDB, you would use one of the Item Rule triggers:

It’s unfortunate that the Item triggers aren’t listed first but PaperUI sucks for creating Rules. It’s definitely possible to do so, but it’s not recommended (though once you have Rules in JSONDB they run really well and OH boot times are super fast).

But if you are looking to write Rules in more pure Python, forget about PaperUI and write your Rules un .py text files. See:

1 Like