4 ms·
Are implementation details for this available? What's the stack?
by deft 9y ago
Are implementation details for this available? What's the stack?
- tuukkah 9y agoWe try to be as open as possible nowadays. However, these backend systems are from an old proprietary contract. There's a computer with a GPS receiver and driver UI in each bus and tram sending the MQTT messages to mqtt.hsl.fi (IBM MessageSight hardware for now) over 3G cellural data connection. The subway can't use GPS but the trains read RFID tags installed along the tracks and there's wifi coverage. The suburban trains have Raspberry Pi's listening in promiscuous mode in the maintenance Ethernet ports and relaying the vehicle data to us. The ferries send AIS radio data that we fetch from here: https://meri.digitraffic.fi/api/v1/metadata/documentation/swagger-ui.html#/vessel-location-controller https://meri.digitraffic.fi/api/v1/metadata/documentation/sw... The REST API is part of Digitransit, which is a fully open passenger information platform and journey planner. Docs and code here: https://digitransit.fi/en https://digitransit.fi/en Specifically, the switchbox for realtime data is a simple NodeJS application: https://github.com/HSLdevcom/navigator-server https://github.com/HSLdevcom/navigator-server
- deft 9y agoThanks for the information, hopefully you can move the MQTT to something open in the future :) Digitransit is very interesting, and all of this is great work!