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

Find informations about bus trips in Chisinau #5

Open
vasica38 opened this issue Nov 7, 2020 · 4 comments
Open

Find informations about bus trips in Chisinau #5

vasica38 opened this issue Nov 7, 2020 · 4 comments

Comments

@vasica38
Copy link
Collaborator

vasica38 commented Nov 7, 2020

The current gtfs information contains only trolleys routes. Informations about how busses move around city should be added. The needed information is stops and schedules for each bus trip.

@alexiolan
Copy link

Media Security implemented GPS tracking for all busses here is a link to application: https://play.google.com/store/apps/details?id=com.mediasecurity.ibus

Also here is a link to their company https://media-security.eu/ maybe they will be agree to provide API endpoint

@roata
Copy link
Member

roata commented Dec 28, 2020

Here's what the app is doing:

  1. display this URL https://nimbus.wialon.com/locator/5f59baffc37144a3939d21bd8acc5e45
  2. which, in turn, uses websockets to subscribe to an MQTT topic and receive telemetry

Here's what you need to know:

  • MQTT topic = nimbus/locator/5f59baffc37144a3939d21bd8acc5e45/#
  • password is empty
  • username is a unique token, I present it here as a base64 encoded string: MkFibGZZakFKQzVNMXpqRE5NNjhXS29rbHBnUmZKODdhN2hkVHFCc1F4NEZVZDl4TjV0eURIR09VTXVYa3FUaw==
  • server for the MQTT-over-websocket connection: wss://mqtt.flespi.io

payload sample

{"tm":1609141589,"id":20436046,"msg":{"r":null,"pos":{"c":144,"y":46.9955466,"s":45,"x":28.8771633},"t":1609141587,"o":null,"tt":null,"i":null}}"
  • "tm":1609141589 - unix time
  • "id":20436046 - probably a bus ID
  • msg/pos/y, msg/pos/x - lat, lon

To try it on the command line: mosquitto_sub -u <token> -h mqtt.flespi.io -t nimbus/locator/5f59baffc37144a3939d21bd8acc5e45/# (replace <token> with the string you get after base64-decoding)

@roata
Copy link
Member

roata commented Dec 28, 2020

Information about routes is available at https://nimbus.wialon.com/api/locator/5f59baffc37144a3939d21bd8acc5e45/data

@vasica38 vasica38 assigned vasica38 and unassigned vasica38 Mar 30, 2023
@vasica38
Copy link
Collaborator Author

@roata this issue was assigned and fixed by @eilx2. currently I cannot assign this issue to him and therefore close it.

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

No branches or pull requests

3 participants