Welcome to the new FlexRadio Community! Please review the new Community Rules and other important new Community information on the Message Board.
If you are having a problem, please refer to the product documentation or check the Help Center for known solutions.
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.

Activate an Output (relay) via TCP/IP API

n8wrl
n8wrl Member ✭✭

I just submitted this to 4o3a support, and I'm posting it here because you guys are a lot quicker than they are, if they respond at all :(


I see how i can get a list of the configured outputs here:


https://github.com/4o3a/genius-api-docs/wiki/Antenna-Genius-TCPIP-output


How can I activate one of them? That is, how do I trigger the relays like the Antenna Genius does with the UI.


Thank you!


73


-Brian n8wrl

Answers

  • n8wrl
    n8wrl Member ✭✭

    I figured it out - wireshark to the rescue.

    C#|output set <relay option/output #> active=0|1

    for an active group. If you want to specify the group,

    C#|output set <relay option/output #> group=# active=0|1

  • n8wrl
    n8wrl Member ✭✭

    I also got excellent response from Marko at 4o3a on this.

    Groups and Outputs have ID's independent of each other. There is no need to specify a group when activating an output.

    Working my way thru "sub relay" now.

  • David Decoons, wo2x
    David Decoons, wo2x Member, Super Elmer Moderator

    If you are doing Node Red, I have a flow I did for another ham to control his four square using the OM module.

    Dave wo2x

  • n8wrl
    n8wrl Member ✭✭

    Thanks Dave. This is a .NET WinForms app. It monitors DXLab's Commander for radio updates and tells the AG when to change antennas. One of them is a 4-SQR so I'd like to change direction without using the AG UI.

    I'm so close!

    73

    -Brian n8wrl

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.