-
-
Notifications
You must be signed in to change notification settings - Fork 31
Rotators
r2cloud supports different rotators via hamlib and rotctrldClient.
Any rotator supported by hamlib can be controlled from r2cloud.
r2cloud controls rotator through special daemon rotctrld. This daemon is a part of hamlib. It can be started manually or via systemd service. Just create file /lib/systemd/system/rotctrld.service with the following contents:
[Unit]
Description=rotctrld Service
[Service]
WorkingDirectory=/home/pi/r2cloud/
ExecStart=rotctld --model=1401 --port=4533 --listen-addr=127.0.0.1 --rot-file=/dev/ttyUSB0
Restart=always
User=pi
Group=pi
[Install]
WantedBy=multi-user.target
Put the model which corresponds to your rotator. To get the list of all supported models run:
rotctld --listMake sure rotator is physically connected and start the service:
sudo systemctl start rotctrldOnce the daemon is running, configure r2cloud
It is possible to configure default rotator for rtl-sdr 0 via GUI. Go to device configuration and select Antenna Type=Directional:
Set correct host and port of rotctrld and click "Save".
If everything is configured correctly, then the rotator will be activated on the next satellite pass. With default settings r2cloud will check every 1000ms if satellite within tolerance both axis. If satellite leave the region, then the rotator will be adjusted to current satellite position.