MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Stef81
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    S
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 0

    Stef81

    @Stef81

    0
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Stef81 Unfollow Follow

    Latest posts made by Stef81

    • RE: MMM-Ratp

      Yeah Sorry for this I messup with my copy / Paste Source

      Even with Header set to XXXX
      XXX doesnt appears on the Magic Mirror…

      DOC says something confusing at the end:

      Troubleshooting
      The first thing to do in to set a debbuging setting in the config file because it will enable more verbose trace. Ensure that any setting is followed by a comma (that’s the common mistake with Magic Mirror²)

      {
      module: ‘MMM-Ratp’,
      position: ‘top_right’,
      header: ‘RATP’ // please leave this value, it will be replaced anyway,
      config:{
      debugging:true,
      apiURL:'https://api-ratp.pierre-grimaud.fr/v3/schedules/bus/163/dumont+d\‘urville+++belgique/A’,
      }
      }

      Doc says also this:

      Configuration
      To get bus timetable, you’ll need to specify the transport line, the station and the destination. These information will have to be specified in the configuration (https://github.com/lgmorand/MMM-Ratp/blob/master/MMM-Ratp.js#L14-L23)

      I dont understand If I have to setup something in the configuration file of MMM-RATP ? ??

      posted in Troubleshooting
      S
      Stef81
    • MMM-Ratp

      Hello,
      I’ve search on this forum but couldnt find anyone with the issue i’m facing.
      With MMM-Ratp module for French Public Transport:
      I’m using this code to make it work:

      {
      module: ‘MMM-Ratp’,
      position: ‘bottom_left’,
      header: ‘’, // the title that will be displayed on top on the widget
      config:{
      debugging:true,
      apiURL:‘https://api-ratp.pierre-grimaud.fr/v4/schedules/buses/178/Chanzy/A’, // more info about API documentation : https://github.com/pgrimaud/horaires-ratp-api

      }

      },

      I can get the data but doesnt display anything else
      so it look like this

      5 min
      12 min

      Thx a lot

      posted in Troubleshooting
      S
      Stef81