There is the possibility of using a custom module to save/restore the client state, there's an example that covers this case here. It could make sense to have something built-in for this though, I'll keep this on my list.
Thanks, that looks promising! I'll try it tomorrow.
Yeah, something built-in would be nice! Like a new server switch. Otoh if a simple custom module does the job, it's ok too.
Now my (Pd) app can refresh all states when it receives /client_connected. So this answers my needs, thanks!
The Auto-save client state custom module isn't enough in my case, because the states can be sent from the app to the open-stage-control server before any client is connected, so no state can be restored by the custom module when the first client connects...
I wonder if a lightweight http "fake" client could be created to run alongside the server, that would be able to cache the states. My server is launched with node on a headless rPi, so the default open-stage-control GUI cannot be used.