Hi everyone! Just want to share my latest node-red-contrib-visualmapper node. It can map one range to another with custom mapping function that You can draw in graphic editor. The node has few other capabilities, like different out of range input's value behaviours and output rounding function. One node to make whole mapping jobs easier - for example Philips Hue temperature color map according to current day time.
Beta 2 version:
- keyframes changes does not invalidates the node
- grid lines values
- rounding changes the output type to string instead number
- cursor tooltip with input and output values
However, you shouldn't have
node-red as a dependency in the package.json of a node. Otherwise a complete Node-RED gets installed in the workspace directory.
Thanks, I'll fix that.
Although I can never get enough of Node-RED, that installation would have been in the wrong location.