MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-Transilien (Paris - France)

    Scheduled Pinned Locked Moved Transport
    24 Posts 9 Posters 11.3k Views 9 Watching
    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.
    • J Offline
      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 Offline
        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 Offline
          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 Offline
            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 Offline
              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 Offline
                bobbob601
                last edited by

                Just got my credentials (took two weeks)

                1 Reply Last reply Reply Quote 0
                • J Offline
                  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 Offline
                    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
                    • Q Offline
                      quisuisje
                      last edited by

                      bonjour, j’ai un écran noir quand je lance le modules.

                      voici mon code:

                      modules: [
                      {
                      module: “MMM-Transilien”,
                      position: “middle_center”,
                      header:“Nemours vers Gare de Lyon”,
                      config:{
                      departUIC:“87684126”,
                      arriveeUIC:“87686006”,
                      login:“4d863c97-…”, // You must add your API login and password
                      password:“…”
                      }
                      },
                      ]

                      pensez vous que les codes UIC ne sont pas bonne et qui me cause l’ecran noir ?

                      en attente de vos reponse

                      Q 1 Reply Last reply Reply Quote 0
                      • Q Offline
                        quisuisje @quisuisje
                        last edited by

                        @quisuisje bon j’ai trouvé le probleme d’ecran noir dans le dossier modules/MMM-Transilien/ faite un npm install
                        pour le node.js
                        ca marche impeccable!

                        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 Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy