One of my projects is to add JMRI programming (and possibly control through WiFi-enabled smartphones) to the track.
I recently built a new RaspberryPi with a serial board and am testing JMRI. It’s a little slow, but definitely usable. If I switch my RaspbianOS to headless, I think that would fix most of the lag.