-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Get GPS coords from phone browser #137
Comments
Hi Mike, thanks a lot. This is Axel / HeyApos (Discord) from Germany/Ludwigshafen :-) |
The problem which most users will have, that they have to manually deploy the self-signed local domain SSL certificate to their browser to use it (step 9 / 10). This is for 127.0.0.1 (localhost). If the local domain is other than localhost, here pifinder.local it has to be publically available (chapter "Let’s Encrypt SSL Certificate for Local Domain (Not Localhost)"), which is not the case for us, as far as I understand. |
Reading up on this, I believe there's no easy solution to managing an SSL certificate. The most promising scenario (courtesy ChatGPT) would be this:
Big drawback is the effort to set this up for both Android and iOS, though... |
Assuming
We would have to check to what precision we a) need the position and b) what precision angle measurements need to have to give a "good enough" position: You'd move around the telescope to different parts of the sky, platesolving the sky position and measuring the horizont angle of stars using the IMU and then estimate the position from this data. Relevant python packages are pyalmanac and Capella. The latter offers an UI where you can plug in measurements and it calculates your position. |
The implementation of this is ready, but needs the website to be served over HTTPS.
@HeyApos said:
would it be possible to also take the GPS location of the handy, if using the browser based GUI to transfer to the pifinder? This is not a big deal with google geolocation API (http://dev.w3.org/geo/api/spec-source.html). There are a lot of devices, that can do this (e.g. the OnStep program WebGui, Stellarmate, https://artyom-beilis.github.io/astrohopper.html ,...) I find a hole bunch of ready to use code for this: https://www.google.com/search?q=browser+program+get+gps+from+handy
A "one click button" on the main page for setting time/location would be great. So the GPS dongle would be more or less totally optional.
local cert using letsencrypt:
https://thriveread.com/ssl-localhost-certificate-for-https-local-domain/
The text was updated successfully, but these errors were encountered: