Steps to install OP25 (Boatbod) Linux Mate.

wgbecks

Active Member
Joined
Jan 17, 2005
Messages
1,152
Reaction score
409
Location
NE Wisconsin
So I just edited the names in my TGID file to say PD instead of what I want as a key work "wps" and now the TG's shows up in blue. So it seems like the names in the default keyword can only be used. Was I supposed to be able to make my own keywords?
Yes, you can add or modify keywords as may be necessary. The keywords, or parts of them, are compared against the alpha tags
you created (assigned) to the groups in your TGID file. See my example below on adding and modifying keywords.

Code:
  "terminal": {
        "module": "terminal.py",
        "#terminal_type": "curses",
        "terminal_type": "http:0.0.0.0:8080",
        "terminal_timeout": 5.0,
        "default_channel": "MPSCS",
        "curses_plot_interval": 0.2,
        "http_plot_interval": 1.0,
        "http_plot_directory": "../www/images",
        "tuning_step_large": 1200,
        "tuning_step_small": 100,
        "smart_colors": [
            { "keywords": [ "fd", "fire" ], "color":"#ff5c5c" },
            { "keywords": [ "law", "lein", "pd", "police", "sheriff", "so" ], "color": "#66aaff" },
            { "keywords": [ "ambulance", "ems", "med" ], "color": "#ffb84d" },
            { "keywords": [ "rap" ], "color": "#37eb34" },
            { "keywords": [ "ecom" ], "color": "#ffff00" }

Here's a great HTMP Color Picker that you may find useful.
 
Last edited:

jets1961

Member
Joined
Jan 21, 2002
Messages
261
Reaction score
33
Thanks wgbecks that colour look up is very cool. I will get on this after work tomorrow. But it does seem like the original three can't be changes (keywords) names.
 

jets1961

Member
Joined
Jan 21, 2002
Messages
261
Reaction score
33
Keywords are not working for me. In the TGID file I am using all upper case letters is that OK or do I have to use lower case letters in the TGID file? config.json attached (saved as text file).
 

Attachments

  • cfg.txt
    4.2 KB · Views: 1

wgbecks

Active Member
Joined
Jan 17, 2005
Messages
1,152
Reaction score
409
Location
NE Wisconsin
Keywords are not working for me. In the TGID file I am using all upper case letters is that OK or do I have to use lower case letters in the TGID file? config.js_tags attached (saved as text file).

You have "tgid_tags_file" commented out. Therefore no tags and noting to match in Smart Colors.


Code:
],
    "trunking": {
        "module": "tk_p25.py",
        "chans": [
            {
                "sysname": "Trunking System 0",
                "nac": "0x0",
                "#sysid": "0x4a2",
                "#wacn": "0xbee00",
                "control_channel_list": "773.84375",
                "#tgid_tags_file": "tgid-tags.tsv",
                "#rid_tags_file": "rid-tags.tsv",
                "whitelist": "",
                "blacklist": "",
                "tdma_cc": false,
                "crypt_behavior": 2,
                "#band_plan": {
                    "0": { "offset": -45000000, "step":  6250, "frequency": 851006250 },
                    "1": { "offset": -45000000, "step": 12500, "frequency": 851012500, "tdma": 2 }
 

jets1961

Member
Joined
Jan 21, 2002
Messages
261
Reaction score
33
OK to get thing running originally I was pointing my command script to the single RTL json file (renamed for my location). It works fine with just the proper CC. So now I realzed as I was making chnages in the cfg.json I did not modify my command script to point to thsat file (sory da).

I have correctred a few errors in that file but it still will not open in terminal. Here are a few files to help out this is the command script:
./multi_rx.py -v 1 -c cfg.json 2> stderr.2

Merry Chrismas BTW :)
 

Attachments

  • cfg.txt
    4.2 KB · Views: 3
  • stderr.2.txt
    1.4 KB · Views: 1

wgbecks

Active Member
Joined
Jan 17, 2005
Messages
1,152
Reaction score
409
Location
NE Wisconsin
You need to comment out one or the other of the two terminal type options.

IE: Comment out the "http"127.0.0.1 ---- when it desired to run op25 form a terminal session. Conversely, you'd comment out the "curses" terminal type when it's desired to run op25 from the web interface (UI). You'd also use this option for applications whereby op25 is setup
to run as a system service where no terminal is attached to run the application.


Code:
 },
    "terminal": {
        "module": "terminal.py",
        "#terminal_type": "curses",
        "terminal_type": "http:127.0.0.1:25999",
        "curses_plot_interval": 0.1,
        "http_plot_interval": 1.0,
        "http_plot_directory": "../www/images",
        "tuning_step_large": 1200,
        "tuning_step_small": 100,
 
Top