Disconnect node if it transmits for too long

Roger. You could check this out. It's from an old post dated 2019 but might work https://community.allstarlink.org/t/auto-disconnect-node-after-specified-amount-of-inactivity-time/15314/12?u=ap2x

As well as K0KN's scripts to see if you find something useful. https://www.qsl.net/k0kn/index.html