OH1KK / KiwiSDR-antenna-switch-extension

KiwiSDR antenna switch extension
MIT License
27 stars 13 forks source link

Backend for MS-S4A-Web #34

Open RipperFox opened 5 years ago

RipperFox commented 5 years ago

My MS-S4A-Web antenna switch arrived today - controller just got up-/down-buttons to select the antenna port. Same goes for the web interface which works nicely over wifi.

Wrote a backend for it: https://gist.github.com/RipperFox/79a0bfa16ff49c5a3c84fbdf6f1fc6dd

Number of ports has to be configured on the controller and in the backend (lz2rr sells this type of controllers also for MS-S7 switches - so 2-7 ports are possible).

I felt a bit too smart and implemented a simple port count detection in the initialization routine (just switches through and notices the highest port number returned from the controller) , but it looks like this routine is called all the time :)

Is is normal that every switch goes through ground?

73, Sascha

jks-prv commented 3 years ago

Sorry, I've just now seen this, almost two years late! I've added it to my recent changes which should eventually get merged back here.