I came across this, seems like a similar use-case and possible solution. Would you say this is on the right track?
I am still working my way through the tutorial/guide for OpenHab 2.5 so will try to use these pieces and fill in the gaps with that. Thanks!