Comments (5)
Hi,
yes - you are right. It shouldn't be too complicated to include Hamlib support in remoteRotator. In principle, a new Rotator has to implement the rotator.Rotator interface. Check out the Dummy rotator and Yaesu rotator for real-world implementations.
I see basically two possibilities to add Hamlib support - either by supporting the native C library or by connecting via TCP to the hamlib rotctld
daemon. Both have advantages and disadvantages.
I already started some time ago on a goHamlib - a go wrapper for Hamlib. It covers most of the radio (rig) interface, but not the rotators (yet). Another downside is that has to use cgo to interface with the hamlib C library. This makes cross-compiling for multiple OS and platforms a bit more complicated.
On the other hand, connecting to rotctld
via TCP is easy. The only disadvantage I see is that it requires a running instance of rigctld
which then wouldn't be under the direct control of remoteRotator
.
Go has a very shallow learning curve! If you are comfortable in any kind of C flavor, you can learn it in a breeze! :-)
from remoterotator.
I used the yaesu stuff as a sample and added supported for the Idiom Press Rotor-EZ (yaesu DXA models in my case, but I believe their protocol works for many others). It only took a few hours and its working well so far. I'll do a PR soon to share. https://www.hamsupply.com/rotorcard-yaesu-dxa-rotors/
from remoterotator.
I would expect that the Rotator-AZ also speaks the Yaesu Gs232 protocol. In that case, remoteRotaor should actually work out of the box.
from remoterotator.
I have the Yaesu G800DXA and it does not come with a serial interface. Yaesu suggests the GS-232B interface ($650) unit to provide serial control that would talk GS232 protocol. I opted for the Idiom Press interface noted above ($160), but it uses a different serial protocol. FWIW I went down this path because it didn't work using the "yeasu" option and after looking into the docs I see why. https://www.hamsupply.com/wp-content/uploads/2015/11/Rotor-EZ-Protocol.pdf
from remoterotator.
I see. Indeed the serial protocol is entirely different, but it looks pretty straightforward. AP1 and AI1 are the only commands you really need. I would recommend creating a copy of the yaesu implementation and adjusting It to the Idiom Press Interface protocol.
from remoterotator.
Related Issues (18)
- yaesu output HOT 5
- check if rotator already exists on the network HOT 1
- Linux and OSX binaries should be executable HOT 1
- Moving Azimuth and Elevation simultaneously causes jitter in the web UI HOT 1
- missing directory "dh1tw" component in section "How to build" in readme.md HOT 2
- install remoteRotator in $GOPATH/bin? HOT 1
- Support for more rotator features HOT 4
- WebUI: occasionally rotators disappear randomly HOT 1
- https://github.com/micro/mdns doesn't exist anymore but it is an dep HOT 3
- Add Authentication & preset buttons HOT 3
- elevation-max setting in config file is ignored HOT 13
- support RCI-SE via parallel port HOT 1
- window settings HOT 3
- Yaesu G-5500 HOT 9
- remoteRotator=RCI-USB-Ham-M Series 5 integration - relay chattering and failed fuse in Ham-M HOT 8
- duplicate attribute in <link> elements HOT 2
- Elevation not supported (K3NG interface) HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remoterotator.