OP25 Change talkgroups on-demand in OP25

Status
Not open for further replies.

jelimoore

Member
Joined
Jul 17, 2018
Messages
39
The web interface itself isn't new, but I added a couple buttons "BkLIST" and "WhLIST".
To enable the web version on the terminal rather than the standard curses terminal, you need to change rx.py command line options.
e.g. ./rx.py -l http:192.168.1.24:8080 --args "rtl=0" --gains 'LNA:36' -S 960000 -q 0 -d -100 -v 1 -2 -U -T trunk-test.tsv 2> stderr.2
Btw, I tried this yesterday, and I got an error about "unhandled command from web: whitelist". I need to dig up the actual error, but it's also possible my Ubuntu VM was causing some weirdness. My only other Pi died after I spilled soup on it, oops.
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,339
Location
Talbot Co, MD
Btw, I tried this yesterday, and I got an error about "unhandled command from web: whitelist". I need to dig up the actual error, but it's also possible my Ubuntu VM was causing some weirdness. My only other Pi died after I spilled soup on it, oops.
Sounds like you have a mismatch between the version of code running on the web browser and the op25 instance. Stop op25, run a "git pull" command and make sure you are on the latest version.
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,339
Location
Talbot Co, MD
Ah, I'll have to try this on the Pi3+; the Pi4 currently has a 3.5" touchscreen I'm fighting with atm. I'm assuming that the web interface would allow me to control the Pi / OP25 remotely from a Windows machine?
Correct, but it needs to be on a local network. You really don't want to open that to the outside world as there is ZERO security
 

jelimoore

Member
Joined
Jul 17, 2018
Messages
39
Sounds like you have a mismatch between the version of code running on the web browser and the op25 instance. Stop op25, run a "git pull" command and make sure you are on the latest version.
Thing is it was a completely new VM which is what perplexed me. I'll try that in case the old op25 code got cached.
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,339
Location
Talbot Co, MD
Thing is it was a completely new VM which is what perplexed me. I'll try that in case the old op25 code got cached.
I've experienced weird build problems for no good reason. Not often, but when it happens it's usually something library related.
 

maus92

Member
Premium Subscriber
Joined
Jun 23, 2004
Messages
8,041
Location
The OP
Is the notation a lower case "L"? Running the command line you suggest (adding "-l http:pi-wifi-ipaddress:8080) nothing much happens: it runs through a few lines and sits. If I enter another address that does not belong to the Pi, the program will run the same lines, then return to the command prompt.
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,339
Location
Talbot Co, MD
Is the notation a lower case "L"? Running the command line you suggest (adding "-l http:pi-wifi-ipaddress:8080) nothing much happens: it runs through a few lines and sits. If I enter another address that does not belong to the Pi, the program will run the same lines, then return to the command prompt.

./rx.py -l http:192.168.1.24:8080 --nocrypt --args "rtl=0" --gains 'LNA:36' -S 960000 -q 0 -d -100 -v 1 -2 -U -T trunk-test.tsv 2> stderr.2

If rx.py starts and doesn't quit, it's probably running ok. You then need to open a web browser to see the terminal.
Loopback address 127.0.0.1 is ok for local use, but not across a network. Substitute the proper ip address for network usage.
 

nick0909

Antenna flicker
Feed Provider
Joined
Jan 4, 2003
Messages
138
Having multiple whitelists that I can switch between, or enable multiple at a time, would be an amazing future feature. Maybe I'm too far stuck in the old scanner mindset, but I like being able to turn on more banks when things are slow, or turn off banks that don't matter when things get busier. If you ever get bored there is something to strive for ;)
 
Status
Not open for further replies.
Top