• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Can't make MMM-Paris-RATP-PG work

Scheduled Pinned Locked Moved Troubleshooting
13 Posts 5 Posters 6.3k Views 5 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
    Jab @Jab
    last edited by Dec 31, 2017, 8:36 AM

    @Jab

    Reply to myself. Finally it works fine this morning, but I get this:

    A N/A
    3 N/A
    9 N/A

    I’ll continue to investigate…

    C D 2 Replies Last reply Dec 31, 2017, 10:54 AM Reply Quote 0
    • C Offline
      Chris @Jab
      last edited by Dec 31, 2017, 10:54 AM

      @Jab

      Hello,

      If this can help you do your tests, I leave you the code of my config that works well on my mirror.

      //		{
      			module: "MMM-Ratp",
      			position: "top_left",
      			header: "Bus 147 (vers Eglise De Pantin)", // le titre qui sera affiché en haut sur la configuration du widget 
      			config: {
      				apiURL: "https://api-ratp.pierre-grimaud.fr/v3/schedules/bus/147/mairie+de+livry+++gargan/R",
      			}
      		},
      

      Regards,

      D 1 Reply Last reply Jan 1, 2018, 10:18 AM Reply Quote 0
      • D Offline
        da4throux @Jab
        last edited by da4throux Jan 1, 2018, 10:12 AM Jan 1, 2018, 10:12 AM

        @Jab
        Hi, thanks for giving the module a try.
        the busStations element in your config seems to only as for traffic information, for those 3 lines.
        N/A is typically what I get when there is no traffic in the night for example.
        I checked with a similar config

            {
                module: 'MMM-Paris-RATP-PG',
                position: 'bottom_right',
                header: 'Test Config',
                config: {
                  busStations: [
        		        {type: 'traffic', line: ['rers','A']},
                                {type: 'traffic', line: ['metros','3']},
                                {type: 'traffic', line: ['metros','9']}
                  ],
                  pluiePlaces: [{id: '751140', name: 'Home'}],
                  pluieUpdateInterval: 1 * 5 * 60 * 1000, //default is 10 minutes, make it 5 (minimum update time)
                }
        

        and get: three Traffic OK.
        So that might have been the time you worked on it maybe ?
        Out of curiosity how did you resolve your first issue of “Loading Connection” ?

        1 Reply Last reply Reply Quote 0
        • D Offline
          da4throux @Chris
          last edited by da4throux Jan 1, 2018, 10:18 AM Jan 1, 2018, 10:18 AM

          @Chris
          Hi,
          just as a note, this is a config for a different module. To do a similar check with this module you would do:

          {
            module: 'MMM-Paris-RATP-PG',
            position: 'top_left',
            header: 'Chris',
            config: {
              busStations: [
                {type: 'bus', line: 147, stations: 'mairie+de+livry+++gargan', destination: 'R'}
              ]
            }
          },
          
          C 1 Reply Last reply Jan 1, 2018, 11:52 AM Reply Quote 0
          • C Offline
            Chris @da4throux
            last edited by Jan 1, 2018, 11:52 AM

            @da4throux

            Hello,

            Indeed, sorry, I spoke too fast and I was wrong module.

            I will try this configuration to see the result.

            Regards,

            1 Reply Last reply Reply Quote 0
            • J Offline
              Jab
              last edited by Jan 2, 2018, 8:54 PM

              Hi

              Thanks all for your replies. Unfortunately, after the latest update to v2.2, MM does not start anymore. Seems to be an issue with electron.

              I have to fix this and then I will try your different code samples.

              Jab

              1 Reply Last reply Reply Quote 0
              • J Offline
                Jab
                last edited by Jan 4, 2018, 7:39 PM

                Hi all,

                Finally with a fresh install of v2.2, all modules work fine.

                I think I’ll update a few the css in order to get a colored look & feel.

                Thanks for your help,
                Jab

                1 Reply Last reply Reply Quote 0
                • M Offline
                  Massi1990
                  last edited by Nov 18, 2019, 6:35 PM

                  bonjour,

                  voici ma config et rien ne fonctionne ? ecran noir ?

                  {
                  module: ‘MMM-Paris-RATP-PG’,
                  position: ‘top_left’,
                  header: ‘mairie de fresnes’,
                  config: {
                  busStations: [
                  {type: ‘bus’, line: 187, stations: ‘mairie+de+fresnes’, destination: ‘R’}
                  ]
                  }
                  },

                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 1 / 2
                  • 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