Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to connect directly to GPSD instance over a network #367

Open
MattCW1701 opened this issue Feb 12, 2025 · 1 comment
Open

Add ability to connect directly to GPSD instance over a network #367

MattCW1701 opened this issue Feb 12, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@MattCW1701
Copy link

Is your feature request related to a problem? Please describe.
I use GPSD on a RaspberryPi to serve multiple positioning needs when storm chasing. To use Supercell-WX with it would require using a special com port bridge application I wrote that serves NMEA sentences on a COM port after connecting to a GPSD instance.

Describe the solution you'd like
I would like the ability to select GPS Plugin: GPSD and enter into the source field a network address (hostname or IP) which then connects to and begins receiving and parsing location information from GPSD.

Describe alternatives you've considered
As stated above, I wrote a program that serves as a bridge between applications that need to connect to a COM port. The program connects to GPSD, then sends NMEA sentences out on one end of a virtual COM Port pair. In order to use Supercell-WX along with my other applications, I would have to have two instances of my program running.

@MattCW1701 MattCW1701 added the enhancement New feature or request label Feb 12, 2025
@dpaulat
Copy link
Owner

dpaulat commented Feb 12, 2025

Thanks for the request! Currently, I don't support connecting to GPSD out of the box, but you shouldn't necessarily need a COM port bridge either.

See the following:
https://supercell-wx.readthedocs.io/en/stable/user-guide/settings.html#gps-plugin
https://doc.qt.io/qt-6/position-plugin-nmea.html#parameters
https://gpsd.gitlab.io/gpsd/gpspipe.html#_examples

You can use gpspipe and socat to serve NMEA sentences from GPSD, and then use socket://localhost:12345 (or the alternate address you configured) instead of the COM port as the GPS source.

I do want to keep this issue open, in order to support GPSD natively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants