Back on the solar compute thing now that I kinda melted #rainpsp …
After spending a lot of time falling into hole after hole trying to shut the SBC down gracefully by monitoring solar power output, I decided to try another approach and make it OK to just “unplug” the computer when it ran out of power (without wrecking the file system, etc.).
I found that the Alpine Linux distro has a slick solution to this (run everything in ram), but it only supports raspberry pi (not the rock64 which I’ve been using).