I'll spend more time deep-diving your code and the docs.
I'd have to say that it's the programming recipes/workflow that I'm missing from what you do. As a teacher, this is what value I gave to my students: the list of commands that I would routinely do in different situations. The Internet is full of great advice about the details of programming but not the method itself.
I'm reminded of Jacques Pépin's La Méthode where he broke down discreet methods you'd use as a chef and each have their own ID. So for an alfredo sauce, you'd have to refer first to the Béchamel method and then return to the method for this sauce.
For me, I almost need to create a cheat sheet of methods for the things that occur within the OctoPrint development space.
Use the virtual environment that OctoPrint is installed into:
- Remote into the Raspberry Pi
- Optionally, change to the working directory of a plugin
Finish using the virtual environment:
I'll get there, though. I've got a couple of weeks to play around in this.