I have my gateway interval set to 7 seconds which may result in multiple values registered from my scale to node red. Therefore I setup the flow below to only send the maximum value received by node red in 15 second intervals. Honestly, I’ve only tested this using a random number generator. However, I’ll update this post if changes are required. Be sure to look at the comment nodes for addition information. The maximum weight is set to pounds in this example. You can move these nodes to the Kg output. Be sure to update the Optional lbs filter to fit your needs.
Enjoy! and thank you for publishing OMG
You can download the flow from here.