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

    Von Sudden

    @Von Sudden

    2
    Reputation
    133
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Von Sudden Unfollow Follow

    Best posts made by Von Sudden

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

      @Alvinger I made a quick fix of line 120 in MMM-ResRobot.js

      depLineCell.innerHTML = departure.track || " ";

      That made the odd “undefined” tracks disappear from the track column if Västtrafik does not provide that field.

      The FontAwesome symbol is still missing in the type column, though.

      Thanks for the awesome work.

      posted in Transport
      V
      Von Sudden

    Latest posts made by Von Sudden

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

      @Alvinger I made a quick fix of line 120 in MMM-ResRobot.js

      depLineCell.innerHTML = departure.track || " ";

      That made the odd “undefined” tracks disappear from the track column if Västtrafik does not provide that field.

      The FontAwesome symbol is still missing in the type column, though.

      Thanks for the awesome work.

      posted in Transport
      V
      Von Sudden
    • RE: MMM-ResRobot - Public transport information for Sweden

      @Alvinger Almost there. The type symbols are gone, and some tracks are still undefined.

      https://www.dropbox.com/s/zbxs418ax24p90w/DSC_0977.JPG?dl=0

      posted in Transport
      V
      Von Sudden
    • RE: MMM-ResRobot - Public transport information for Sweden

      @Alvinger From what I can see at ResRobot - Stolptidtabeller 2 ( https://www.trafiklab.se/node/14075/console ), it seems as if Västtrafik does not always post the fields rtTime, rtTrack and rtDate in the response from the API.

      posted in Transport
      V
      Von Sudden
    • RE: MMM-ResRobot - Public transport information for Sweden

      @Alvinger Västtrafik user here. I got the upgrade.

      Either the line type icon or the track number is shown as “undefined”. Neither is actually visible. Screenshot below.

      https://www.dropbox.com/s/p6zhnt1z1rysoja/DSC_0976.JPG?dl=0

      posted in Transport
      V
      Von Sudden