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

gpsd-client or local request? #16

Open
Disciplus86 opened this issue Jan 25, 2023 · 12 comments
Open

gpsd-client or local request? #16

Disciplus86 opened this issue Jan 25, 2023 · 12 comments
Labels
enhancement New feature or request

Comments

@Disciplus86
Copy link

Hello!

I have install your application on my OpenWRT router (a X300B-GPS with a EG25-G LTE/GPS card)), it's work great , thas't's cool!
i have just a little request in my case, when i configure luci-app-gpoint i cant use gpsd. the /dev/ttyUSBx what already used.
Do you think is possible to use luci-app-gpoint with gpsd or insert gpsd in luci-app-gpoint.
I need a local port on my LAN for request the localisation.
Maybe you have a other solution?

A lot of thx for your work !

@Kodo-kakaku Kodo-kakaku added the enhancement New feature or request label Jan 25, 2023
@Kodo-kakaku
Copy link
Owner

Kodo-kakaku commented Jan 25, 2023

Hi @Disciplus86 !
Greetings! Initially, I wanted to make an application that would require fewer external dependencies. I understand your problem, I myself wanted to write an application in lower-level languages in order to improve performance (C\C++), but this required the user to build independently, and many do not know how and are afraid of it))) I will try to think about how to integrate gspd into the project in the near future and give feedback, maybe I will need some time for this!)
Thank you for your feedback!

@Disciplus86
Copy link
Author

Disciplus86 commented Jan 25, 2023

Great !
If you do that you have to rewrite the protocol of gpsd...
For me, if i can use a port on the LAN or WAN (or a local file or a API or a xml) and if i have the last GPS data (locality and time) it's ok ...
Thx @Kodo-kakaku for your work! respect

@Kodo-kakaku
Copy link
Owner

Kodo-kakaku commented Feb 5, 2023

Hi @Disciplus86 !
I have good news for you! Since version 2.5.1, GPSD support has appeared! I would like to hear your opinion about the use and get feedback! Thank you for your help!

@Disciplus86
Copy link
Author

Many thx @Kodo-kakaku !
I will try this week and, of course, i will send you a feedback ;-)

@Disciplus86
Copy link
Author

It's perfect, i have test your plugin, it's really great!
I have used a a windows client GPS for check the remote GPS of the openWRT router (vicking) and it's is working like a charmed!

Now, for a lambda user, if you can insert the control or the configuration of the service of GPSD it was great... but for me, it's perfect!
many many thx for your work @Kodo-kakaku !

@Kodo-kakaku
Copy link
Owner

Hi @Disciplus86 !
t's nice to hear that you like using Gpoint! Now the IP address and the GPSD port are available in the user interface from where Gpoint should take data (at the same time, Gpoint checks the correctness of the port settings and flags during initial configurations and can change the port settings, for example) My question is, what kind of configuration functionality do users need to work with GPSD for subsequent configuration?
Thank you for your support, you helped the project a lot!

@Disciplus86
Copy link
Author

Disciplus86 commented Mar 7, 2023

Hello!
I discovered an annoying behavior with the GPSD and GPOINT services. The GPOINT application sets the "listen_globally" variable to 0 of GPSD service, whereas I needed it to be 1.
I have modifie in the file on the share file of gpoint (/usr/share/gpoint/gpoint).

    if gpsd.core.port ~= modemConfig.gpsd_port
            or gpsd.core.device ~= modemConfig.port
            or gpsd.core.enabled ~= '1'
            or gpsd.core.listen_globally ~= '0' then
        uci:set("gpsd", "core", "enabled", "1")
        uci:set("gpsd", "core", "device", modemConfig.port)
        uci:set("gpsd", "core", "port", "2947")
        uci:set("gpsd", "core", "listen_globally", "0")
        uci:commit("gpsd")
    end
    luci.sys.init.start("gpsd")
end

Would it be possible for you to make these variables editable to prevent GPOINT users from being unable to use the /etc/config/gpsd configuration file?
This problem made me search for a solution for a week. 😭
but i found it !

@Kodo-kakaku
Copy link
Owner

Hi @Disciplus86!
I added the listen globally field in version 2.5.3 where you can choose yes or no in the drop-down list to configure GPSD, I also made some corrections that should affect the correctness of the application! Thank you for your feedback! I will be waiting for feedback)

@Maik2016
Copy link

Hello,
I like the tool, unfortunate the auto configuration disable my gps all the time because I need the '/dev/mhi_LOOPBACK' port on my X3000 router. Cloud you make the function able to disable or manual to import ports ?

@Kodo-kakaku
Copy link
Owner

Hi! Do I understand correctly that you use a symlink on the gps port of the modem? Tell us in more detail which router, modem do you use and what is your task?

Thanks!

@Maik2016
Copy link

Hello,
The modem is mountet as '/dev/mhi_LOOPBACK' from GLI-NET because I can not choose this in the settings it get overwritten in the gpsd.core.device to USB device.
It would be good if the settings get not overwritten by the tool better that I can put the path myself in the settings from the tool.

@Kodo-kakaku
Copy link
Owner

Kodo-kakaku commented Aug 1, 2023

Greetings! As I understand it, you have a quectel modem, the easiest way to fix this is to make a symlink with ports, for example: /dev/ttyUSB*… Currently, it is not possible to provide manual configuration of the modem in a user-friendly way. One of the reasons is that users may not always understand that to receive GNSS data, it is necessary to go through the modem configuration. Try the suggested method and thank you for your interest in the project! If you have any more questions, I will be happy to answer them!

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

3 participants