State management is now in place and working well, both on the PyTrain server as well as clients. Engine speed, direction, and startup/shutdown status is tracked, and maintained correctly when changed via a Cab 3 as well as impacting commands (engine reset and halt commands).
My next plan is to use the engine speed state to smoothly ramp up or down speed changes.
Stay tuned.
— Dave