Type number : speed "Speed" [
stateTopic="wled/rgb2/v",
transformationPattern="XPATH:/vs/sx/text()"
]
At the moment this outputs a number between 0 and 255.
I would like to bind this to a dimmer, which does 0 to 100.
Can I perform an additional transform within the channel? If so, how? I’m very comfortable with JS transforms in channels, but wouldn’t know how to JS transform the XPATH transform, so to speak…