home.social

#flrig — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #flrig, aggregated by home.social.

  1. Hamradio, #HomeAssistant (HA) & #linux automation
    Problem: As a user #Wavelog , I need to fire up #flrig & #waveloggate in Linux for it to read QRG from #FT991A.
    Solution: FT991A is connected to a smart power monitoring switch. When radio turns on, HA reads 100W drawn by radio.
    An automation sends a #mqtt message which payload “ON”. Ubuntu is running a simple #bash script & subscribed to mqtt topic. When On is detected, it fires up flrig & wavelog. Kills both apps when payload off is received

  2. flrig scripts to switch between radio modes in Windows 10

    If you do enough different things with ham radio on Windows, eventually you’ll run into a conflict between programs that can talk to your radio via something like flrig–and those that want the whole COM port to themselves.

    Here are some example scripts that switch between 1) a packet radio environment (that uses UZ7HO SoundModem and BPQ32) using direct COM port access, and 2) a “regular” environment, in this case aimed at 20m CW operation. You could set up a script for each of your favorite operating environments if you wanted to.

    Hopefully these will be helpful to someone in the future, even as a lot of us move toward Linux (in which case rigctld and rigctl may be more directly useful). Keep in mind that they are not perfect and you should check them line-by-line to make sure they work for you.

    For flrig, make sure you have the “Server” port configured (12345 in example) and all the boxes unchecked for “Restore.” These scripts assume you are running them on the same computer your radio is plugged into and flrig is on, otherwise you will have to replace the localhost IP and open the firewall for the port.

    The full list of commands can be found here: http://www.w1hkj.com/flrig-help/xmlrpc_server.html. These commands go inside the <methodName></methodName> tags in the XML curl statements. The variable types (e.g. “n:n”) should match these tags that wrap the actual value inside <value></value>: n – nil (?), i – integer (32 bit, s – string, d – double (but I have not tested them all).

    For this first draft, I skipped logic and just tried to close and reopen programs so I didn’t have multiple copies running. Timeouts are wait periods in seconds in case there are delays.

    Start BPQ32.bat

    @echo off

    :: Stop BPQ32 if running
    taskkill /F /IM BPQMail.exe
    taskkill /F /IM bpq32.exe
    taskkill /F /IM soundmodem.exe

    :: Set up rig
    taskkill /IM flrig.exe
    timeout 2

    start "" "C:\Program Files (x86)\flrig-1.4.5\flrig.exe"
    timeout 1
    :: Set frequency
    curl -X POST -d "<?xml version='1.0'?><methodCall><methodName>rig.set_frequency</methodName><params><param><value><double>14105000</double></value></param></params></methodCall>" http://127.0.0.1:12345

    :: Set mode
    curl -X POST -d "<?xml version='1.0'?><methodCall><methodName>rig.set_mode</methodName><params><param><value><string>LSB-D</string></value></param></params></methodCall>" http://127.0.0.1:12345

    :: Set power
    curl -X POST -d "<?xml version='1.0'?><methodCall><methodName>rig.set_power</methodName><params><param><value><int>50</int></value></param></params></methodCall>" http://127.0.0.1:12345

    :: Wait
    timeout 2

    :: Stop flrig
    taskkill /IM flrig.exe

    :: Wait
    timeout 1

    :: Start BPQ32
    taskkill /F /IM BPQMail.exe
    start "" "C:\Program Files (x86)\BPQ32\BPQMail.exe"

    exit

    Stop BPQ32.bat

    @echo off

    :: Stop BPQ32
    taskkill /F /IM BPQMail.exe
    taskkill /F /IM bpq32.exe
    taskkill /F /IM soundmodem.exe

    :: Wait
    timeout 1

    :: Start flrig
    taskkill /F /IM flrig.exe
    timeout 1
    start "" "C:\Program Files (x86)\flrig-1.4.5\flrig.exe"
    timeout 1

    :: Set frequency
    curl -X POST -d "<?xml version='1.0'?><methodCall><methodName>rig.set_frequency</methodName><params><param><value><double>14050000</double></value></param></params></methodCall>" http://127.0.0.1:12345

    :: Set mode
    curl -X POST -d "<?xml version='1.0'?><methodCall><methodName>rig.set_mode</methodName><params><param><value><string>CW</string></value></param></params></methodCall>" http://127.0.0.1:12345

    :: Set power
    curl -X POST -d "<?xml version='1.0'?><methodCall><methodName>rig.set_power</methodName><params><param><value><int>20</int></value></param></params></methodCall>" http://127.0.0.1:12345

    exit 0

    #flrig #hamRadio #packetRadio #windows10

  3. Guten Morgen 🙂
    Habe mich die halbe Nacht mit #wavelog und #waveloggate herumgeschlagen .... Es läuft jetzt soweit alles mit #flrig, nur das direkte Logging vom Gate ins Log klappt nicht.
    @DJ7NT hast Du einen Tipp warum WJTX oder JTDX UDP Pakete nicht ins #waveloggate rüber wollen?

  4. Xiegu G90 with FLRig – Getting U-D mode on startup

    An unexpected follow up to my last post.

    One of the problems with newer versions of FLRig is that it seemingly causes my G90 to revert to the last non-data mode that FLRig was in. For me this is usually USB (Upper Sideband). This is because when I run FLRig with WSJT-X, I need to be in USB-Data mode on the G90, but FLRig doesn’t have a dedicated mode for […]

    #2024 #amateurRadio #FLRig #g90 #hamRadio #radio #xiegu

    https://novakeith.net/2024/05/25/xiegu-g90-with-flrig-getting-u-d-mode-on-startup/

  5. Xiegu G90 with FLRig – Getting U-D mode on startup

    An unexpected follow up to my last post.

    One of the problems with newer versions of FLRig is that it seemingly causes my G90 to revert to the last non-data mode that FLRig was in. For me this is usually USB (Upper Sideband). This is because when I run FLRig with WSJT-X, I need to be in USB-Data mode on the G90, but FLRig doesn’t have a dedicated mode for […]

    #2024 #amateurRadio #FLRig #g90 #hamRadio #radio #xiegu

    https://novakeith.net/2024/05/25/xiegu-g90-with-flrig-getting-u-d-mode-on-startup/

  6. Xiegu G90 with FLRig – Getting U-D mode on startup

    An unexpected follow up to my last post.

    One of the problems with newer versions of FLRig is that it seemingly causes my G90 to revert to the last non-data mode that FLRig was in. For me this is usually USB (Upper Sideband). This is because when I run FLRig with WSJT-X, I need to be in USB-Data mode on the G90, but FLRig doesn’t have a dedicated mode for […]

    #2024 #amateurRadio #FLRig #g90 #hamRadio #radio #xiegu

    https://novakeith.net/2024/05/25/xiegu-g90-with-flrig-getting-u-d-mode-on-startup/

  7. Xiegu G90 with FLRig – Getting U-D mode on startup

    An unexpected follow up to my last post.

    One of the problems with newer versions of FLRig is that it seemingly causes my G90 to revert to the last non-data mode that FLRig was in. For me this is usually USB (Upper Sideband). This is because when I run FLRig with WSJT-X, I need to be in USB-Data mode on the G90, but FLRig doesn’t have a dedicated mode for […]

    #2024 #amateurRadio #FLRig #g90 #hamRadio #radio #xiegu

    https://novakeith.net/2024/05/25/xiegu-g90-with-flrig-getting-u-d-mode-on-startup/

  8. Radio Fun

    I finally had time to get back into playing around with my radio (Xiegu G90). Like any good radio operator, the first thing I did was to promptly break my entire setup.

    Some backstory: last year, I bought a copy of “RigPi” which is essentially a customized image of Raspbian that comes pre-loaded with a bunch of different radio software and […]

    #amateurRadio #FLRig #Gridtracker #hamRadio #radio #WSJTX

    https://novakeith.net/2024/05/24/radio-fun/

  9. we likes it when things
    work right the first time
    <grin/>

    ran a test...

    fired off a Zoom mtg
    logged on 2x...
    once on tablet
    plus once on desktop

    successfully kept routing
    of desktop audio on track
    so #JS8Call / #flrig audio
    running to/from radio
    in parallel w 
    desktop voice mic audio
    running to/from Zoom
    (so I can talk at the same time
    as running the radio)
    plus
    screen shared from desktop
    worked fine
    display + audio on tablet
    simultaneously with
    desktop rig ops from desktop worked fine

    I love my little desktop 'puter
    ;^}

    wa2rrb
    #AmateurRadio 📡

  10. I feel like it would be worthwhile to write a little desktop app that lists current #POTA spots along with a little bilutton that tells #FLRig to QSY and set that mode.

    #AmateurRadio #HamRadio

  11. @b4ux1t3 #FLRIG for controlling your transceiver through CAT control. #PulseAudio or #pipewire to route your computer audio to and from your transceiver. Maybe hb9hox.radio/en/posts/2022-04- will be of help.

  12. Finally got #flrig and #fldigi working well with my #Xiegu X6100. I thought I'd mess around with Olivia on 20m but there doesn't seem to be any activity at the moment

    #hamradio

  13. Does anyone use JTDX with FLRig? Having and issue with PTT. It seems to stop transmitting after a second or two. In the setup if I Test PTT, it turns on but after a second or two, the button goes back to it's normal state and the radio is still in TX mode. I have to click Test CAT to turn cat back off to get it to stop. WSJT-X all this works fine and the setup is mirrored in JTDX.
    #jtdx #flrig