Please do not post questions in the shout-box as it will be lost in a few days. Open your own topic in the appropriate section. Thank you.

Upgrade to v.3.2.0

Started by Emmanuel SV1BTL, Apr 28, 2026, 09:09 PM

Previous topic - Next topic

Emmanuel SV1BTL

#60
A map is added in frontend/public: users.html and stats.html.
You can see now on the maps:
- real time users location (users.html) on a map.
- history of the users (stats.html). Because this file stats.html reads the data from the .jsonl files located in the folder log, it would take some time to load this data and put it on the map, but after this you'll have all you users that visited your server during the dates you collect.

Download these files and put them:

PhantomSDR-Plus
          └──frontend
                  └──public
                        ├── analyze_users.py
                        ├── stats.html
                        └── users.html
recompile only frontend and refresh the webpage.

Please check here: http://phantomsdr.no-ip.org:8900/

P.S. Don't forget that you can see these webpages without to call them from the GUI. Jast load:
- your_public_server:port/users.html
- your_public_server:port/stats.html

9a7aof

#61
I live in America!  :)

http://9a7aof.ddns.net:8905/users.html

I suggest that local be linked to the
QTH locator of the PhantomSDR-Plus server, if possible.

73!
Darko,9a7aof

I'm not a programmer, just a happy Linux user since 1996, my first Linux came on 4 floppy disks, that's when I fell in love with Linux.  ;D

Emmanuel SV1BTL

#62
You are right!!!
So, please download the newer files from above and recompile frontend.
Now local IP address is not shown, a "local" only is, indicating that there is a user connected from the local network, and the .py does not search for an external IP and don't count it to the map.
This was the simplest way, because associating Local IP with the QTH info in "site_information.json" was pretty complex. Maybe until the "cumulative" update of the version, I'll find a way to associate also "local" with the real IP address of the server.

Emmanuel SV1BTL

#63
The problem was that "local" IP address, when a sysop is connected locally, was shown somewhere in the USA. Tried to fix it.

So, from the beginning, ignore everything above:

1.- Download and put these files in PhantomSDR-Plus/frontend/public
PhantomSDR-Plus
          └──frontend
                  └──public
                        ├── analyze_users.py
                        ├── stats.html
                        └── users.html

2.- Download and put in PhantomSDR-Plus this file:
fix_local_geo.py

and run it
cd PhantomSDR-Plus/
python3 fix_local_geo.py
python3 fix_local_geo.py --apply

This will clean all databases in logs/*jsonl files, with "local" fake IP data. It will not affect all the other data.
It is not needed to run it every time. Once only is enough. You can repeat the check from time to time, but there is no need more often.

3.- Recompile ONLY frontend.

4.- Refresh the webpage and check.
your_ip:port/users.html and e.g. http://phantomsdr.no-ip.org:8900/users.html
your_ip:port/stats.html e.g. http://phantomsdr.no-ip.org:8900/stats.html
will be there and in the history of stats.html fake "local" IP address will not be shown any more in the USA.

9a7aof

Thanks Emmanuel,

everything works fine for me now,
I'm not in America anymore.  :)

Local proxy is no longer needed.

73!
Darko, 9a7aof
I'm not a programmer, just a happy Linux user since 1996, my first Linux came on 4 floppy disks, that's when I fell in love with Linux.  ;D

Emmanuel SV1BTL

Glad to read it Darko.
Now please replace your stats.html and users.html with these newer.
The bugs resolved:
- when the service Nominatim is down (the service that give us the geo data) then our script runs entirely offline with zero network requests. Nominatim is still tried first for city-level precision; the centroid is only used when Nominatim fails or returns no results.
- all markers are now the same size, and not bigger or smaller depended of how many visits took place from this IP address.
- Flags left the user/city were working on Mozilla, but not in the other browsers. Now this is fixed.

F1NSK

Hello Guy"s

Beware of VPN !
If you use Firefox VPN for example, You can't access to Phantom's... 8)

73's

9a7aof

QuoteFlags left the user/city were working on Mozilla, but not in the other browsers. Now this is fixed.

Done!
Everything works fine in Google Chrome too!

Thanks Emmanuel  :)

QuoteIf you use Firefox VPN for example, You can't access to Phantom's...

I'm using OpenVPN, my server is on RPI3,
PhantomSDR-Plus is on a computer that has an OpenVPN client,

I can access PhantomSDR-Plus via VPN properly. I configured
OpenVPN according to this instruction:

https://wiki.debian.org/OpenVPN#Server_part

73!
Darko, 9a7aof
I'm not a programmer, just a happy Linux user since 1996, my first Linux came on 4 floppy disks, that's when I fell in love with Linux.  ;D

lu5dnp

Hello group, I truly congratulate you — you have done a magnificent job in bringing into operation, in my opinion, the best and most practical SDR receiver on the web, with a truly outstanding level of excellence that will endure and set a high standard for anyone trying to surpass it.

It is rewarding for me to be part of this and to use Phantom while offering fellow radio operators access to it, as I have always done since 2010 when I began providing this service with various software platforms. However, this latest one is by far the most efficient and complete system I have ever used.

Once again, my congratulations to Emmanuel, Darko, and all the other collaborators involved in this project. I am certain that more additions and improvements will continue to be made through future updates, constantly modernizing and enhancing the system while striving to improve day by day.

My sincere gratitude for the collaboration and assistance in getting the receiver operational, and for all the knowledge I have gained by participating in this project.

Thank you very much.

Best regards,
Nestor – LU5DNP
73s.-

Powered by EzPortal