How about adding something to the SW that allows control of the BB GPIO pins via the web interface? It would be pretty easy to control Attentuators or switch antennas that way
It looks like you're new here. If you want to get involved, click one of these buttons!
At the moment control is only via ssh connection and a couple of simple scripts, but it was pretty easy to get that far.
I didn't get far with working out how to build an extension to do the same, but I'd certainly like to get that going sometime.
I haven't seen OH1KKs switch before... how did I miss that?
Just edit KiwiSDR's /etc/crontab and make schedule you like.
# m h dom mon dow user command
# Switch to antenna 2 every day on 12:15
15 12 * * * root /usr/local/bin/ms-s7-web 2
# Switch to antenna 1 every day on 6:00
0 6 * * * root /usr/local/bin/ms-s7-web 1
I haven't tried in real life, but it looks that gpio pin control is easy on beaglebone. Converting ms-s7-web script to use beaglebone gpio pins should be trivial. My KiwiSDR is offsite and on production state and it has also working antenna switch. I do not I have no spare hardware to do GPIO tests.
I will try to modify ant_switch extension to more general direction on future. In my opinion ant_switch extension should be just frontend. Actual antenna switching should be done in background using scripts. There should be possibility to choose between many different background scripts. ms-s7-web script, beagle gpio script and so on.