-
Notifications
You must be signed in to change notification settings - Fork 14
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
Show train information when connected to train WiFi #78
Comments
I will collect some API data and provide it here for (possible) implementation |
ICE-Portal-API example requests and data (Postman collection as .txt because GitHub doesn't support JSON-uploads????) |
I can provide TGV data tmr |
Speed and location can be obtained from: https://wifi.sncf/router/api/train/gps body{"success":true,"fix":9,"timestamp":1668857683,"latitude":49.64248,"longitude":8.460343333,"altitude":96.63,"speed":11.524,"heading":345.1} Train information would be available at https://wifi.sncf/router/api/train/details however that's returning 404 (Train not found) all the time, which also causes the information to be missing in the official UI, so it looks like my train is broken |
ÖBB: {"Latitude":"47.814107","Longitude":"13.046575"} |
For NS I have some example data (and a rough JSON schema) over at https://github.com/RobinLinde/NS-travelinfo-JSON |
For the ICEPortal: https://codeberg.org/Mini_Pinguin-Projects/ICEPortal-Tool (maybe that helps with implementing?) |
When I'm connected to a train's WiFi network and there is data about the journey provided, this could be displayed in the app.
Example data could be:
For this different APIs could be implemented. e.g. the ICEPortal-API or the SBB-Infotainment-API
The text was updated successfully, but these errors were encountered: