Hello, I’d like to develop an Add-on which allows to extend OH by a dynamic (or self adjusting) policy. For this purpose it would be necessary to fetch the data from selectable devices. The extension should work event-based which is the reason that I don’t want a periodical trigger.
I know that there is a rule system which provides the functionality to send Commands when an item changes but for my purposed it’s not possible to abstract from the Thing layer. Afaik accessing a thing is useless to because they don’t keep their State, please correct me if I’m wrong.
To specify my question: Is it possible to access the event-bus inside a binding and to fetch specific channel-values?