Read the statement by Michael Teeuw here.
MMM-Transilien (Paris - France)
-
As requested by several people here is a module to monitor in real time trains “Transilien” which are not managed by my first module MMM-Ratp
Screenshot:
Download
[card:lgmorand/MMM-Transilien]
-
Nice job and thank you bobbob601 !
IMPORTANT: To use the module, you will need to ask for the API credentials by e-mail here : https://ressources.data.sncf.com/explore/dataset/api-temps-reel-transilien/ -> then click on “demande par mail”
It’s pretty painfull, but for now, it’s the only method. -
Hi!
Thank you very much for this great job again :)
I’ve just asked for Transilien API credentials.Just one question: why not use the SNCF API, based on Navitia (https://data.sncf.com/api/fr/documentation)?
The authentication key can be obtained directly by creating an account, without waiting days or weeks…Thank you again!
Jeremy
-
Hi Jeremy !
We ask for this API, because on the one you mentionned I see:
"The SNCF API contains theoretical train data for the following commercial modes: TGV, TER, Transilien, Intercités.
The SNCF API also contains realtime train data for the following commercial modes: TGV, TER, Intercités."
For realtime, on this particular API there isn’t (I guess) real time Transilien, which was the reason of this module, and the use of the other API.(Perhaps I miss understood their indications and give wrong information to bobbob601 ?)
-
the truth was told, real time data were missing. Don’t know why they built it like that. they all do moron stuff…
http://www.zdnet.fr/actualites/open-data-la-sncf-revoit-sa-politique-en-moins-bien-39820850.htm
https://www.nextinpact.com/news/102757-open-data-freemium-pour-horaires-en-temps-reel-ratp.htm -
Ok, I understand. Thank you!
Now, I have to wait days or week to use this wonderful module!
-
@jeremy_fr I’m still waiting for my credentials…hopefully, Ninja lent me his but since the number of calls/day is limited, I can’t share it sorry.
-
Just got my credentials (took two weeks)
-
Just got my credentials after 9-10 days!
It works like a charm :)Thank you very much!
-
Bonjour,
J’utilise quotidiennement ce module mais je rencontre un petit problème pour la configuration.
Au départ de ma ville (Ville d’avray) il existe deux lignes du transilien. La ligne L (vers St Lazare) et la ligne U (vers La Défense).
En fonction de l’état du trafic j’utilise l’une ou l’autre.Pour se faire j’utilise la configuration suivante :
{ module: 'MMM-Transilien', position: 'top_left', header:'VDA vers St Lazare', config:{ departUIC:"87382341", arriveeUIC:"87384008", login:"xxx", // You must add your API login and password password:"xxx" } }, { module: 'MMM-Transilien', position: 'top_left', header:'VDA vers La Défense', config:{ departUIC:"87382341", arriveeUIC:"87382218", login:"xxx", // You must add your API login and password password:"xxx" } },
Le problème est bien visible sur la capture d’écran ci-dessous
Les trains sont mélangés dans les deux modules. Je devrais avoir uniquement les trains PASA dans le premier module et que les trains DEFI dans le deuxième module.
La question est de savoir où je me suis trompé.
Par avance merci pour l’aide apportée.