Modbus binding - how to do JavaScript transformation in OH 4?

Read the thread you mentioned till the end.
It looks like you just used what was marked as the solution.
There was a change in an other Milestone release afterwards so the syntax changed.

See also this post and surrounding posts.

1 Like