Docker Client Rotator

I’m running the image: knegge/satnogs-client:lsf-addons on a PI 3b with a separate container for roctcld. I can manually control the rotator fine, but not during an observation. It will read the position fine, but won’t set the position with the following error in the log file:

rot_set_position: range problem az=270.04(min=0.00,max=0.00), el=10.041901(min=0.00,max=0.000000)

I have tried multiple ways to pass the configuration to no avail. It’s in my container as rotctld -m 606 -r /dev/rotator -s 9600 -T 0.0.0.0 -vvvv -C min_az=0 -C max_az=360 -C min_el=0 -C max_el=90.

It’s in my station.env file as:
SATNOGS_ROT_MIN_AZ=0
SATNOGS_ROT_MAX_AZ=360
SATNOGS_ROT_MIN_EL=0
SATNOGS_ROT_MAX_EL=90

I’ve tried different hamlib rotators that supposedly support set_conf, but nothing has worked.

What else have I missed?

I just realized 606 does not support set_conf. I have the FoxDelta ST2 USB controller connected to a G-5500. 202 supposedly supports set_conf, but it doesn’t read positions correctly.

For those of you who have fought this one, how did you solve it?

Hi,
This is what I recommend SET_CONF: ‘min_az=0,max_az=360,min_el=0,max_el=90’
I dont think the additional rot min/max env values you showed will do anything, unless you use them as variables to construct the SET_CONF, but that would just be more work (:

What image are you using ? I know that the recently released 4.5.4 (latest) image is not compatible with the current -client. image librespace/hamlib:latest should be librespace/hamlib:4.0 to run the same version as -client.

Thank you so much Daniel. Out of all the combinations I had tried, I guess I hadn’t tried that one (SET_CONF and hamlib 4.0), and it worked just fine for me. Now I am banging on it trying to get my sdrplay RSP1A working with it all.

Thank you again!

Russ - ku4yj

I also have one and it rarely get used because of the [beeeeep] software, it’s such a pain.
The latest api doesn’t work on armhf(arm32) with 3.15.2

Have you seen my instructions on the addons ?

Yes, I have used your documentation a lot and implemented those scripts. I think I’m very close to getting it up - maybe??? My latest struggle was building a new image based from yours but includes the API. I think that’s working (just starting to test) but have to get the API started now. Once I get it all working, I will try to document everything I had to do so maybe someone else can benefit from my frustration.

1 Like