Trunk-Recorder instance with two nodes?

zlandmedia

not that florida man
Joined
Feb 10, 2012
Messages
430
Location
Hillsborough County, FL
I'm looking to move from SDRTrunk to Trunk-Recorder with my two Calls nodes and with Trunk-Recorder I've run into an issue where it will not run both nodes. This is happening when I use both a Raspberry Pi with Pi OS Lite and WSL inside Windows 10.

When I use the below config.json, I get this error:

Code:
-------------------------------------
PLUGINS
-------------------------------------
[2023-10-07 13:41:45.547093] (info)   Setting up plugin -  Name: openmhz_uploader        Library file: libopenmhz_uploader.so
[2023-10-07 13:41:45.635730] (info)   Setting up plugin -  Name: broadcastify_uploader   Library file: libbroadcastify_uploader.so
[2023-10-07 13:41:45.639467] (info)   Broadcastify Server: https://api.broadcastify.com/call-upload
[2023-10-07 13:41:45.643097] (info)   Uploading calls for: westSimulcast
[2023-10-07 13:41:45.643141] (info)   Uploading calls for: eastSimulcast
[2023-10-07 13:41:45.643153] (info)   Setting up plugin -  Name: unit_script     Library file: libunit_script.so
[2023-10-07 13:41:45.645870] (info)   Setting up plugin -  Name: stat_socket     Library file: libstat_socket.so
[2023-10-07 13:41:45.656807] (info)   No plugins configured
[2023-10-07 13:41:45.656882] (info)

[2023-10-07 13:41:45.657724] (info)   [westSimulcast]   Started with Control Channel: 769.281250 MHz
[2023-10-07 13:41:45.657772] (error)   [westSimulcast]   Unable to find a source for this System! Control Channel Freq: 769.281250 MHz
[2023-10-07 13:41:45.657782] (error)   Unable to setup a System to record, exiting...

And here's my config:

JSON:
{
    "ver": 2,
    "sources": [{
        "center": 770293750,
        "rate": 2048000,
        "error": 1000,
        "gain": 39,
        "digitalRecorders": 7,
        "driver": "osmosdr",
        "device": "rtl=1"
        }, {
        "center": 772731250,
        "rate": 2048000,
        "error": 1000,
        "gain": 39,
        "digitalRecorders": 9,
        "driver": "osmosdr",
        "device": "rtl=2"
        }, {
        "center": 774437500,
        "rate": 2048000,
        "error": 1000,
        "gain": 39,
        "digitalRecorders": 4,
        "driver": "osmosdr",
        "device": "rtl=3"
    }],
    "systems": [{
            "modulation": "qpsk",
        "control_channels": [769281250, 769806250, 770331250, 771006250, 771731250, 772231250, 772906250, 773481250, 773981250, 774631250],
        "type": "p25",
        "shortName": "westSimulcast",
        "broadcastifyApiKey": "[redacted]",
        "broadcastifySystemId": "971",
        "audioArchive": false
    },{
            "modulation": "qpsk",
        "control_channels": [769556250, 770581250, 771306250, 771756250, 771981250, 772481250, 773231250, 773731250, 774381250, 774893750],
        "type": "p25",
        "shortName": "eastSimulcast",
        "broadcastifyApiKey": "[redacted]",
        "broadcastifySystemId": "2307",
        "audioArchive": false
    }],
    "captureDir": "/home/zach/trunk-recorder/",
    "broadcastifyCallsServer": "https://api.broadcastify.com/call-upload",
    "controlWarnRate": 5,
    "callTimeout": 0.75
}

Am I doing anything wrong with my setup here, or is it just not possible to use trunk-recorder with two nodes on one instance?

Thanks,

Zach
 

blantonl

Founder and CEO
Staff member
Super Moderator
Joined
Dec 9, 2000
Messages
11,244
Location
San Antonio, Whitefish, New Orleans
Code:
[westSimulcast]   Unable to find a source for this System! Control Channel Freq: 769.281250 MHz

This is your problem. You need to adjust your RTL center frequencies to properly cover this channel. It's not being covered in the spread between the 3 sticks.
 

zlandmedia

not that florida man
Joined
Feb 10, 2012
Messages
430
Location
Hillsborough County, FL
Code:
[westSimulcast]   Unable to find a source for this System! Control Channel Freq: 769.281250 MHz

This is your problem. You need to adjust your RTL center frequencies to properly cover this channel. It's not being covered in the spread between the 3 sticks.
I got the center frequencies in my config file from this site, which was linked in the trunk-recorder github.

I copy-pasted the frequencies from the east and west sites of this system, and this is what it came up with:
1698068356575.png

Are those the wrong center frequencies?
 

dave3825

* * * * * * * * * * * *
Premium Subscriber
Joined
Feb 17, 2003
Messages
8,457
Location
Suffolk County NY
I copy-pasted the frequencies from the east and west sites of this system, and this is what it came up with:



The directions there say,

Find your site on the Radio Reference DB and copy/paste all of the voice AND control channels here directly

You are combining two sites. I am not sure if that will work or not. Been a long time since I played with that program.
 

zlandmedia

not that florida man
Joined
Feb 10, 2012
Messages
430
Location
Hillsborough County, FL
Just wanted to circle around and mention that I got my setup working!

Thanks to AlertPageSDR, I found this repository, which generated a configuration for me based on the system and sites: GitHub - AlertPageSDR/tr_configurator: Tunk-Recorder config auto generation with Radio Reference

Then I read through the trunk-recorder errors and saw that my USB memory size needed to be adjusted, and the solution was here:
 
  • Like
Reactions: fog
Top