This video demonstrates how to scale / normalize data using the range node, one of the standard function node.
Link for example code
https://simplified-iot.com/example-code
Video Contents
0:00 Overview of Range Node
1:08 Default scale settings
2:42 Scale within limits
3:50 Scale wrap within limits