OP25 not working after rebuild

JAAS666

Member
Premium Subscriber
Joined
Nov 5, 2012
Messages
29
Location
Killeen, TX
A couple days away from the winter storm to hit and of course my setup decides to quit on me.

The sdcard on my raspberry pi died so I had to rebuild everything. On a positive note, I now have the latest version of op25 from the github repo.

The bad news is that I can't get it to work again. I'm almost certain my issue is with the -q and -d parameters but I can't remember what values I had previously or how I got to them.

Normally I'd spent time trying to figure out the issue but I'd really like to get it going before the weekend since my feed is the only one for my area.

If anyone is willing to help me 1on1 (even if I have to pay) please PM me.
 

JAAS666

Member
Premium Subscriber
Joined
Nov 5, 2012
Messages
29
Location
Killeen, TX
Hmm managed to get it going. I had to set -q to 0 and -d to 0
I'm pretty sure those had values before.

Any one has any theory on why I don't need them anymore? Could it be the cold weather keeping the device cooler than normal?

Next step trying to finally move from rx.py to multi_rx.py
 

JAAS666

Member
Premium Subscriber
Joined
Nov 5, 2012
Messages
29
Location
Killeen, TX
I think I got everything going with multi_rx.py.. here are some graphs and my cfg.json in case anyone sees any area where I might improve the feed.

JSON:
{
    "channels": [
        {
            "name": "MyChannel",
            "device": "sdr0",
            "trunking_sysname": "MySys",
            "demod_type": "cqpsk",
            "cqpsk_tracking": true,
            "tracking_threshold": 20,
            "tracking_feedback": 0.85,
            "tracking_limit": 1800,
            "destination": "udp://127.0.0.1:23456",
            "meta_stream_name": "stream_0",
            "excess_bw": 0.2,
            "filter_type": "rc",
            "plot": "",
            "if_rate": 24000,
            "symbol_rate": 4800,
            "enable_analog": "off",
            "whitelist": "my.wlist",
            "blacklist": ""
        }
    ],
    "devices": [
        {
            "args": "rtl",
            "gains": "lna:29",
            "name": "sdr0",
            "offset": "0",
            "ppm": "0",
            "usable_bw_pct": 0.85,
            "rate": 57600,
            "tunable": true
        }
    ],
    "trunking": {
        "module": "tk_p25.py",
        "chans": [
            {
                "nac": "0x0",
                "sysname": "MySys",
                "control_channel_list": "859.237500",
                "whitelist": "my.wlist",
                "tgid_tags_file": "my.tsv",
                "tdma_cc": false,
                "crypt_behavior": 2
            }
        ]
    },
    "metadata": {
        "module": "icemeta.py",
        "streams": [
            {
                "stream_name": "stream_0",
                "meta_format_idle": "[Scanning...]",
                "meta_format_tgid": "[%TGID%]",
                "meta_format_tag": "[%TGID%] %TAG%",
                "meta_format_rid": "- [%RID%]",
                "icecastServerAddress": "REDACTED",
                "icecastMountpoint": "REDACTED",
                "icecastPass": "REDACTED",
                "icecastMountExt": ".m3u",
                "delay": 0.0
            }
        ]
    },
    "audio": {
        "module": "sockaudio.py",
        "instances": [
            {
                "instance_name": "",
                "device_name": "default",
                "udp_port": 23456,
                "audio_gain": 1.0,
                "number_channels": 1
            }
        ]
    },
    "terminal": {
        "module": "terminal.py",
        "#terminal_type": "curses",
        "terminal_type": "http:0.0.0.0:8080",
        "curses_plot_interval": 0.1,
        "http_plot_interval": 1.0,
        "http_plot_directory": "../www/images"
    }
}



Screenshot 2024-01-11 191314.png

Screenshot 2024-01-11 191634.png
Screenshot 2024-01-11 191803.png
Screenshot 2024-01-11 191845.png
Screenshot 2024-01-11 192036.png
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,412
Location
Talbot Co, MD
The current version of boatbod op25 needs very little tweaking of ppm (-q) because it can usually adjust itself. The exception would be if you have an old non-crystal controlled dongle that needs a huge ppm to even get into the right ballpark. Most modern dongles that operate with ppm's +/-2 will work fine with no adjustment.
 

JAAS666

Member
Premium Subscriber
Joined
Nov 5, 2012
Messages
29
Location
Killeen, TX
The current version of boatbod op25 needs very little tweaking of ppm (-q) because it can usually adjust itself. The exception would be if you have an old non-crystal controlled dongle that needs a huge ppm to even get into the right ballpark. Most modern dongles that operate with ppm's +/-2 will work fine with no adjustment.
Ahh that explains it then. I kind of remember having a ppm of 17 previously but was doubting myself since it wouldn't work at all after reinstalling everything with updated code.

Thanks for all the work you've done and for always being so responsive. Kudos 🎉
 
Top