I've finally decided it time to "dip my toe in the water" and attempt to write a simple plugin to integrate a UPS with OctoPrint (using apcupsd) to park and power off the printer in the event of power failure (overhead power lines + lots of trees = power cuts).
I found and read the Developer Docs but, other than the fact that they seem "a little out of date" I got the distinct impression that I would be re-inventing the wheel (no pun intended) because I already have VS Code and Python installed on my Windows 10 machine to fiddle with Fusion 360 Add-In's, and Platform IO integration for Marlin and a BTT-TFT35-E3-V3.0.
So, before I dig a hole and bury myself, is this a viable option? Is anyone else already doing this or am I wasting my time?
Many thanks for any advice and pointers!