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

    Zapman

    @Zapman

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

    Zapman Unfollow Follow

    Latest posts made by Zapman

    • RE: MMM-ResRobot - Public transport information for Sweden

      @Alvinger Everything is working great now! Thank you for the fast response to my issue! I’ll use this module a lot from now on :smiling_face_with_open_mouth:

      posted in Transport
      Z
      Zapman
    • RE: MMM-ResRobot - Public transport information for Sweden

      Hello! :D

      Got some issue with the module. The module loads when starting up MagicMirror, but stays at “Fetching departures …”. I tried my API key here;
      (https://api.resrobot.se/v2/trip?key=API-KEY-HERE&originId=740047279&destId=740010151&format=xml) and it worked fine. So the key itself seams to work. I’m using the API key from “ResRobot - Reseplanerare”. I set the key in the config.js.

      My current config.js;

                      {
      			module: "MMM-ResRobot",
                              position: "top_right",
                              header: "Departures",
                              config: {
                                      routes: [ // stations from: 
                                              {from: "740015972", to: ""}, 
                                      ],
                                      apiKey: "API-KEY-HERE"
                              },
                      },
      

      Terminal message;

      [2020-09-23 03:21:58.036] [LOG]    node_helper for MMM-ResRobot received a socket notification: CONFIG - Payload: {
        "updateInterval": 60000,
        "animationSpeed": 2000,
        "fade": true,
        "fadePoint": 0.25,
        "apiBase": "https://api.resrobot.se/v2/departureBoard?format=json&passlist=0",
        "apiKey": "API-KEY-HERE",
        "routes": [
          {
            "from": "740015972",
            "to": ""
          }
        ],
        "skipMinutes": 0,
        "maximumEntries": 6,
        "truncateAfter": 5,
        "truncateLineAfter": 5,
        "showTrack": true,
        "getRelative": 0,
        "coloredIcons": false,
        "iconTable": {
          "B": "fa fa-bus",
          "S": "fa fa-subway",
          "J": "fa fa-train",
          "U": "fa fa-subway",
          "F": "fa fa-ship"
        },
        "colorTable": {
          "B": "#DA4439",
          "S": "#019CD5",
          "J": "#FDB813",
          "U": "#019CD5",
          "F": "#444400"
        }
      }
      
      

      Maybe someone can have an idea what might be wrong here :crazy_face:

      posted in Transport
      Z
      Zapman