I use the currentranger sporadically so often forget how I have set it up between projects. This time I created a small repo with an example workflow for capturing usage over serial, and visualising in an interactive plotly notebook, in case it's useful to others:
https://github.com/amadeuspzs/use-currentranger (https://github.com/amadeuspzs/use-currentranger)
I'll add in bits over time like calculating average consumption, area under the curve for Ah measurements etc.
VERY useful, thank you for sharing!