Trying to finalize some old stuff which was nearly finished already ...
Version 2.0.0 of the speed node is available on Github with following changes:
It is now possible to pause, resume and reset speed calculations via control messages. See explanation on the readme page.
There is a checkbox on the config screen to start (optionally) in paused mode:
The core functionality (ring buffer and speed calculations) have been extracted in a separated npm library, as described in another discussion.
I have tried to avoid breaking changes, but it was a huge change to extract the functionality in a separate NPM package. Therefore it would be nice if some users could test it, and let me know if it still works fine!
You can install the Github version from with your .node-red folder:
npm install bartbutenaers/node-red-contrib-msg-speed