Backend for MS-S4A-Web
RipperFox opened this issue · 1 comments
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
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.