-
-
Notifications
You must be signed in to change notification settings - Fork 29
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 --list
Make sure rotator is connect and start the service:
sudo systemctl start rotctrld
Once the daemon is running, configure r2cloud
Go to Configuration -> General
Set correct host and port of rotctrld, check "Enabled" 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 left the region, then the rotator will be adjusted to current satellite position.