Any supported transformation service can be used.what that mean ? for a test.js(data) how the parameters have to look like ?
Please also consult the binding documentation page, not only Paper UI. There are some examples of how to use a transformation. You need the transformation name, that can also be found in the documentation.
You mean Thing file? Or are you talking about mqtt1 where you defined in an item file? The syntax to mqtt is similar but instead of transname(Argument) you write transname:argument. But that is shown as description below the field on paper UI, so I don’t really understand your problem right now.
I’m struggling to get the paper UI to transform from a Json Path to a DateTime value. I’ve got my topic configured and working and value transformation setup as follows:
but the value displayed on my control window is S%. I’m assuming this is because my “Time” value arrives as “2019-03-02T11:02:21” which includes seconds, how do i instruct Openhab to trim the second values using paper UI?
I’ve seen a lot of example where people have used scripts to do this but I’m hesitant to do this as I’ve already encountered issues using scripts together with the paperUI config approach.
Its a sonoff basic switch with tasmota firmware,
Im configuring through PaperUI
I’m using an mqtt bridge to connect to it
Channel type DateTime
Topic is tele/Sonoff_XXXX/STATE
Incoming value transformation " JSONPATH:$.Time "