Skip to content

Instantly share code, notes, and snippets.

@EricTendian
Created February 9, 2024 02:45
Show Gist options
  • Save EricTendian/9b5905fd8b036fee4b146bcada1a5e33 to your computer and use it in GitHub Desktop.
Save EricTendian/9b5905fd8b036fee4b146bcada1a5e33 to your computer and use it in GitHub Desktop.

(note: plugin configuration and upload configuration has been omitted)

Problem system

config.json

{
    "ver": 2,
    "sources": [
        {
            "center": 474000000,
            "rate": 10000000,
            "ppm": 8,
            "ifGain": 40,
            "bbGain": 14,
            "driver": "osmosdr",
            "device": "hackrf"
        },
        {
            "center": 156000000,
            "rate": 10000000,
            "ppm": -0.3,
            "gain": 15,
            "driver": "osmosdr",
            "device": "airspy=0x26A464DC28744193"
        }
    ],
    "systems": [
        {
            "channelFile": "config/redcenter.csv",
            "squelch": -60,
            "type": "conventionalP25",
            "modulation": "qpsk",
            "digitalLevels": 2,
            "shortName": "chisuburbs",
            "audioArchive": true,
            "callLog": true,
            "maxDuration": 60
        },
        {
            "channelFile": "config/chisuburbs-north-vhf.csv",
            "squelch": -58,
            "type": "conventional",
            "decodeMDC": true,
            "shortName": "chisuburbs",
            "audioArchive": true,
            "callLog": true,
            "minDuration": 1,
            "maxDuration": 60
        },
        {
            "channelFile": "config/cfd.csv",
            "unitTagsFile": "config/cfd-radio-ids.csv",
            "squelch": -55,
            "type": "conventionalP25",
            "modulation": "fsk4",
            "shortName": "chi_cfd",
            "audioArchive": true,
            "callLog": true,
            "maxDuration": 60
        },
        {
            "channelFile": "config/chisuburbs-north-uhf.csv",
            "squelch": -65,
            "type": "conventional",
            "decodeMDC": true,
            "shortName": "chisuburbs",
            "audioArchive": true,
            "callLog": true,
            "minDuration": 1,
            "maxDuration": 60
        }
    ],
    "plugins": [
    ],
    "audioStreaming": true,
    "captureDir": "media",
    "frequencyFormat": "mhz",
    "uploadServer": "https://api.openmhz.com",
    "broadcastifyCallsServer": "https://api.broadcastify.com/call-upload",
    "logLevel": "info"
}

redcenter.csv

TG Number,Frequency,Tone,Alpha Tag,Description,Tag,Category
1,159.660,925 NAC,RED Fire North,Fire Dispatch: North,Fire Dispatch,Regional Emergency Dispatch - RED Center (Northbrook)
2,156.135,47B NAC,RED Fire South,Fire Dispatch: South,Fire Dispatch,Regional Emergency Dispatch - RED Center (Northbrook)

chisuburbs-north-uhf.csv

TG Number,Frequency,Tone,Alpha Tag,Description,Tag,Category
12375,471.2375,146.2,NCmmPD Net16,"Police: Dispatch - Franklin Park, Melrose Park, River Grove, Stone Park",Law Dispatch,NORCOMM Public Safety Communications / MABAS Division 20 (Franklin Park)
5875,470.5875,156.7,CCSTN Net 10,"Net 10 -- Bedford Park, Hickory Hills, Justice, Summit and Willow Springs",Law Dispatch,Cook County Suburban Telecommunications Networks (Police)
3625,470.3625,146.2,DC IFERN Patch,Patch to IFERN Fire Mutual Aid,Fire Dispatch,DuPage Public Safety Communications (DU-COMM)

Good system

config.json

{
    "ver": 2,
    "sources": [
        {
            "center": 460315000,
            "rate": 960000,
            "device": "rtl=0000000C",
            "ppm": 0,
            "gain": 25,
            "driver": "osmosdr"
        }
    ],
    "systems": [
        {
            "channelFile": "config/cpd.csv",
            "type": "conventional",
            "decodeMDC": true,
            "squelch": -52,
            "minDuration": 1,
            "maxDuration": 60,
            "shortName": "chi_cpd",
            "audioArchive": true,
            "callLog": true
        }
    ],
    "plugins": [
    ],
    "audioStreaming": true,
    "captureDir": "media",
    "frequencyFormat": "mhz",
    "uploadServer": "https://api.openmhz.com",
    "broadcastifyCallsServer": "https://api.broadcastify.com/call-upload",
    "logLevel": "info"
}

cpd.csv

TG Number,Frequency,Tone,Alpha Tag,Description,Tag,Category
14,460.125,173.8 PL,Chi PD C/W 1,Police: Citywide 1,Law Tac,Chicago Police Department (CPD)
15,460.175,123.0 PL,Chi PD C/W 2,Police: Citywide 2,Law Tac,Chicago Police Department (CPD)
16,460.275,141.3 PL,Chi PD C/W 3,Police: Citywide 3,Law Tac,Chicago Police Department (CPD)
17,460.325,192.8 PL,Chi PD C/W 4,Police: Citywide 4,Law Tac,Chicago Police Department (CPD)
18,460.350,97.4 PL,Chi PD C/W 5,Police: Citywide 5,Law Tac,Chicago Police Department (CPD)
19,460.250,162.2 PL,Chi PD C/W 6,Police: Citywide 6,Law Tac,Chicago Police Department (CPD)
20,460.300,131.8 PL,Chi PD C/W 7,Police: Citywide 7,Law Tac,Chicago Police Department (CPD)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment