I've been unable to get pyfldigi to read the current frequency from FLRIG. Does anyone have a sample program in python/C/C++/pearl/Fortran/Cobol that does this? The objective is to automate my antenna switch to select the best antenna for the current frequency. I don't want to be sending 10 meter output into a 20/40 fan dipole by mistake. Or even 2m/70cm into a long wire.
This is going to be on a Raspberry Pi 4 if that makes a difference. I get "connection refused" with the tests/test_client.py sample program in the pyFldigi distribution and python3.
Thanks - Ed KD2EIP