Something I've been meaning to do for ages - managed to slip into a few boring moments today.
The flow needs Node-RED v1.1 I think and uses the new inject features along with the new $moment
function in JSONata.
Next step will be to build a suitable dashboard to show off the figures.