I have been playing around with the JSR223 port to openHAB2. In this work I wanted to make som classes that could monitor events from a specific item. For instance a Ubiquiti Wifi Client. I can easily create triggers for each item I want to monitor. Instead I wanted just to indicate the name of the thing and then let my jython script trigger on the relevant channels. In the JSR223 thread there was an discussion about this, related to the astro events:
rule "example trigger rule"
when
Channel 'astro:sun:home:rise#event' triggered START
then
...
That works excellent, but I haven’t found other bindings where (I can trigger on a channel, I have tried in a rule).
Question is: Is it meant to be possible to trigger channel events in general? Should it be possible to trigger that a Zwave channel changes state?