Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Rig name to use in Pat

329 views
Skip to first unread message

Keith Kaiser

unread,
Sep 13, 2022, 9:03:02 PM9/13/22
to pat-users
As you can see below rigctl -l returns this;

Here is my Pat configure file. Please note that “rig” appears a number of times but it seems each requires a different combination of the rig information.
I do not understand what column of information goes where in the config file, it seems like I’ve tried a hundred combinations and I always get this;

2022/09/13 19:30:37 QSY failed: Hamlib rig 'Icom IC7000' not loaded.

Can someone help me fix this issue please?

{
  "mycall": "wa0tjt",
  "secure_login_password": “******",
  "auxiliary_addresses": [],
  "locator": "EM29qe",
  "service_codes": [
    "PUBLIC"
  ],
  "http_addr": "localhost:8080",
  "motd": [
    "Open source Winlink client - getpat.io"
  ],
  "connect_aliases": {
    "telnet": "telnet://{mycall}:CMST...@cms.winlink.org:8772/wl2k"
  },
  "listen": [],
  "hamlib_rigs": {},
  "ax25": {
    "port": "wl2k",
    "beacon": {
      "every": 3600,
      "message": "Winlink P2P",
      "destination": "IDENT"
    },
    "rig": "Icom IC7000"
  },
  "serial-tnc": {
    "path": "/dev/ttyUSB0",
    "serial_baud": 9600,
    "hbaud": 1200,
    "type": "Kenwood"
  },
  "ardop": {
    "addr": "localhost:8515",
    "arq_bandwidth": {
      "Forced": false,
      "Max": 500
    },
    "rig": "Icom IC7000",
    "ptt_ctrl": false,
    "beacon_interval": 0,
    "cwid_enabled": true
  },
  "pactor": {
    "path": "/dev/ttyUSB0",
    "baudrate": 57600,
    "rig": "",
    "custom_init_script": ""
  },
  "telnet": {
    "listen_addr": ":8774",
    "password": ""
  },
  "varahf": {
    "host": "localhost",
    "cmdPort": 8300,
    "dataPort": 8301,
    "bandwidth": 2300,
    "rig": "Icom IC7000",
    "ptt_ctrl": true
  },
  "varafm": {
    "host": "localhost",
    "cmdPort": 8300,
    "dataPort": 8301,
    "bandwidth": 0,
    "rig": "Icom IC7000",
    "ptt_ctrl": true
  },
  "gpsd": {
    "enable_http": false,
    "allow_forms": false,
    "use_server_time": false,
    "addr": "localhost:2947"
  },
  "schedule": {},
  "version_reporting_disabled": false
}


Keith, WA0̷TJT
Author: https://net-control.us
ARRL ARES Communicator Level 2, AEC for Platte Co. MO
KCHEART Radio Operator - St. Lukes Barry Road Hospital

KM4ACK

unread,
Sep 14, 2022, 12:37:26 PM9/14/22
to pat-users
You first need to start rigctld with something like:
rigctld -m 3060 -r /dev/ttyUSB0

In the pat config file look for "hamlib_rigs": {}, and replace it with
"hamlib_rigs": {
"my_precious_rig": {"address": "localhost:4532", "network": "tcp"}
},

In addition, you will need to update each instance of "rig": "" in the config file with the name of the radio. In this case "my_precious_rig" like this:
"rig": "my_precious_rig",


73, de KM4ACK

KM4ACK

unread,
Sep 14, 2022, 1:52:53 PM9/14/22
to pat-users
| "This is helpful, thank you. But I still don’t know what value my_precious_rig has from the list, can you help me?"

my_precious_rig is an arbitrary name value. It can be anything you choose as long as it matches in the other instances of the config file. Once you define "my_precious_rig": {"address": "localhost:4532", "network": "tcp"}, it points to the rigctld instance (on port 4452) that is handling rig control so starting rigctld first is a must.

73, de KM4ACK

Keith Kaiser

unread,
Sep 14, 2022, 5:03:34 PM9/14/22
to pat-users
You have the patience of Job but I still have something wrong. I set "Hamlib_rigs" like this;

"hamlib_rigs": {"ic7000":{"address":"localhost:4452","network":"tcp"}
},

I changed all references to "rig" to say;
"rig": "ic7000"

I also tried the port number at 4532 but that didn't work. Where does that port number come from? My 7000 is connected via SignaLink USB to a M2 MacBook Air.

Where in the config file should I put the rigctld -m 3060 -r /dev/ttyUSB0? Or do I run that first?

KM4ACK

unread,
Sep 14, 2022, 5:52:37 PM9/14/22
to pat-users
Port 4532 is the default port of rigctld. Take a look at the man page (man rigctld) for ridctld. The "-t" switch is how you can change the port if needed.

You need to run the rigctld command before starting Pat. If you have pat running as a service, you need to restart the service after starting rigctld.

73, de KM4ACK

mokombo zidane

unread,
Nov 8, 2024, 9:28:52 AM11/8/24
to pat-users
WELDING MACHINES AND ACCESSORIES FOR SALE ONLINE WITH SAFE AND GUARANTEED SHIPPING.

SHOP BELOW

weldingsupplyshop.com

Buy discounted welders, plasma cutters and welding safety gear by premium brands like Miller, Lincoln Electric, Hypertherm, Hobart and Black Stallion - from the mouse with over 86 years of welding experience.

where to order welding machines and accessories online with safe shipping.

WEBSITE... weldingsupplyshop.com

we have the best welding tools like reels,miller remote,pipe bender,welding cable, lincoln rods,leads,miller welding helmet,mig guns,tig torches,plasma torches,welding cables,mig welders,tig welders,Etc.

Order now from our website below with safe and guaranteed shipping

WEBSITE... weldingsupplyshop.com


https://weldingsupplyshop.com/product/lincoln-viking-3350-mojo-auto-darkening-welding-helmet-w-4c-lens-k3101-4-for-sale-online/

https://weldingsupplyshop.com/product/lincoln-viking-3350-series-steampunk-auto-darkening-welding-helmet-k3428-4-for-sale-online/

https://weldingsupplyshop.com/product/100-ft-stick-welding-leads-100-cable-holder-ground-clamp-for-sale/

https://weldingsupplyshop.com/product/diamond-lead-reels-hd-fixed-base-reel-fbdxxblk-for-sale-online/

https://weldingsupplyshop.com/product/best-welds-1-4-bb-t-grade-50-oxy-acetylene-hose-1-4x50bbt-for-sale/

https://weldingsupplyshop.com/product/steelmax-120v-14-metal-cutting-chop-saw-sm-s-14-for-sale-online/

https://weldingsupplyshop.com/product/zoom-steelmax-115v-d1-portable-magnetic-drill-sm-d1-for-sale-online/

https://weldingsupplyshop.com/product/miller-wireless-hand-control-301582-for-sale-online/

https://weldingsupplyshop.com/product/victor-medalist-250-classic-welding-and-cutting-outfit-0384-2581-for-sale-online/

https://weldingsupplyshop.com/product/victor-edge-2-0-series-ess4-oxygen-regulator-0781-3601-for-sale-online/

https://weldingsupplyshop.com/product/victor-315-plus-ca-2460-plus-replacement-cutting-torch-0381-1937-for-sale-online/

https://weldingsupplyshop.com/product/miller-big-blue-400-pipepro-mitsubishi-stainless-welder-generator-w-wic-907805/

https://weldingsupplyshop.com/product/lincoln-cross-country-300-kubota-cc-cv-welder-generator-w-125-ft-remote-k4166-7/

https://weldingsupplyshop.com/product/miller-bobcat-200-air-pak-welder-generator-907771-for-sale/

https://weldingsupplyshop.com/product/buy-hobart-ironman-240-mig-wire-welder-with-spoolrunner-200-spool-gun-500574001-online/

https://weldingsupplyshop.com/product/miller-weldcraft-w-250-water-cooled-torch-kit-300185/

https://weldingsupplyshop.com/product/weldtec-225a-flex-head-tig-torch-water-cooled-rubber-hoses-25-ft-wt-20f-25r/

https://weldingsupplyshop.com/product/miller-smith-md-series-30-oxy-acetylene-twin-pack-regulators-htp2/

https://weldingsupplyshop.com/product/kalas-1-toughflex-boxed-welding-cable-100ft-cab1-100/

https://weldingsupplyshop.com/product/miller-digital-infinity-imperial-welding-helmet-w-clearlight-4x-lens-296784/

mokombo zidane

unread,
Nov 8, 2024, 9:29:59 AM11/8/24
to pat-users
Reply all
Reply to author
Forward
0 new messages