I am also considering to using node-red, I think in the long run is much much easier to have better control over the rules (and improve waf). I am still in the beginning of migrating to openhab from domoticz, and I am curious about mentioned “advanced rules”, f.eks. can node-red query some other sensors/information from openhab when it runs a rule?
Like “motion triggered, but tv/some switch is still on, do nothing”. Can it query state of “tv/some switch” from openhab, or does it need additional storage, in parallel openhab?
Also, is it “as easy” working with global variables or conditions (f.eks. having one script that determines and defines if living room is occupied), and sharing those conditions with other rules?
So that lights go off only after certain time, and only if the $livingRoomIsOccupied is 0, and only if $livingRoomIsLitt == 1 etc (each variable is defined on their own separate rules and sensors)?
Would these “globals” live in openhab, or persisted somewhere else or?
Thank you for the hard work on this.