noi-techpark / bdp-commons

Open Data Hub time series data collectors (legacy)
GNU Affero General Public License v3.0
2 stars 12 forks source link

As the organizer of the service "Badia bus" (on-demand service pilot in val Badia), I would like to see the real-time data of the service being integrated and made available through the Open Data Hub #613

Open rcavaliere opened 1 year ago

rcavaliere commented 1 year ago

@dulvui @clezag we have an interesting request that I would like to ask you if possible to already consider in this sprint. We have got a request to integrate the data of a new on-demand service in South Tyrol. The supplier chosen is the one we had when we made the first pilot in Merano (Savvy Mobility) and the API is the same. So, we just need to update the end-point and restart the Data Collector and we should have everything done.

The new end-point is https://badiabus.app.savvy.mobi/docs/api-doc/apis/apiv1/index.html

There is an authentication requested, I share separately the way you can create credentials and manage tokens.

dulvui commented 1 year ago

@rcavaliere I will reactivate the data collector this sprint

rcavaliere commented 1 year ago

@dulvui did you reconnect the Data Collector to the new end-point? The service should have started and we should see it on mobility.meran.eu if data is coming. Let me know!

dulvui commented 1 year ago

@rcavaliere yes but only in testing and should be visible here https://journey.opendatahub.testingmachine.eu but I was not able to find the stations. Should I deploy to production?

rcavaliere commented 1 year ago

@dulvui the service should be visible in the Municipality of Badia / Abtei. I don't see data there. But if I see our API (e.g. https://mobility.api.opendatahub.testingmachine.eu/v2/flat,node/ON_DEMAND_STOP) I see new data here! Maybe there is something that we should configure on the application side so to see this data as well?

dulvui commented 1 year ago

@rcavaliere I checked now and the OTP uses the production endpoint of the mobility API also in testing. I will change it now to use the testing mobility API so we can test.

dulvui commented 1 year ago

@rcavaliere Now the on demand buses are visible on testing. There was a problem with the smetadata.groups, since some stops of badia don't have a group assigned and so the otp crashed. For now I set the group to -1, if none is set. https://journey.opendatahub.testingmachine.eu/

rcavaliere commented 1 year ago

@dulvui wonderful, thanks for the fix! I think we put the Data Collector in production and release this on the official applications, like mobility.meran.eu

dulvui commented 1 year ago

@rcavaliere Now it is live in production and visible on https://mobility.meran.eu/#/

rcavaliere commented 1 year ago

@dulvui good, but I see a strange effect now, see screenshot... can you check why we have this?

Screenshot from 2023-07-06 14-12-27

dulvui commented 1 year ago

@rcavaliere I will investigate what causes this problem, seems some problem with the otp calculations.