MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-Transilien (Paris - France)

    Transport
    9
    24
    6896
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bobbob601 last edited by

      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:

      alt text

      Download

      M 1 Reply Last reply Reply Quote 2
      • N
        ninja last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • J
          jeremy_fr last edited by

          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

          1 Reply Last reply Reply Quote 0
          • N
            ninja last edited by

            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 ?)

            1 Reply Last reply Reply Quote 0
            • B
              bobbob601 last edited by

              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

              1 Reply Last reply Reply Quote 0
              • J
                jeremy_fr last edited by

                Ok, I understand. Thank you!

                Now, I have to wait days or week to use this wonderful module!

                1 Reply Last reply Reply Quote 0
                • B
                  bobbob601 last edited by

                  @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.

                  1 Reply Last reply Reply Quote 0
                  • B
                    bobbob601 last edited by

                    Just got my credentials (took two weeks)

                    1 Reply Last reply Reply Quote 0
                    • J
                      jeremy_fr last edited by

                      Just got my credentials after 9-10 days!
                      It works like a charm 🙂

                      Thank you very much!

                      1 Reply Last reply Reply Quote 0
                      • M
                        masterbalby @bobbob601 last edited by

                        @bobbob601

                        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.

                        0_1541435353902_Capture d’écran 2018-11-05 à 17.10.03.png

                        La question est de savoir où je me suis trompé.

                        Par avance merci pour l’aide apportée.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy