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

    Posts

    Recent Best Controversial
    • RE: MMM-ResRobot - Public transport information for Sweden

      @sdetweil Really strange. You got the expected behavior but @Zapman and I got it to work when we removed the comment. I should state that I use a fork of MM as my screens are iPad 4 running IOS9.3.5 which might have an impact. But I don’t know which MM @Zapman uses.

      posted in Transport
      AlvingerA
      Alvinger
    • RE: MMM-ResRobot - Public transport information for Sweden

      @sdetweil Yes, they should be. However, when I pasted @Zapman’s config into my test site, it didn’t work. When I removed the comment it worked. Go figure!

      posted in Transport
      AlvingerA
      Alvinger
    • RE: MMM-ResRobot - Public transport information for Sweden

      @Zapman said in MMM-ResRobot - Public transport information for Sweden:

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

      @Zapman You can’t have a comment in the middle of the config. Remove the " // stations from: " and it should work.

      This is what it looks like for me:
      a0a58f9d-1271-4144-bca1-34d3746a4ed6-image.png

      posted in Transport
      AlvingerA
      Alvinger
    • RE: MMM-ResRobot - Public transport information for Sweden

      @Zapman I’ll have a look. Your config looks fine at a first look.

      posted in Transport
      AlvingerA
      Alvinger
    • RE: MMM-ResRobot - Public transport information for Sweden

      @sweup I just pushed a minor update with some new options. Feel free to try the new version out.

      posted in Transport
      AlvingerA
      Alvinger
    • RE: MMM-ResRobot - Public transport information for Sweden

      @sdetweil @sweup
      My guess is that it is an unintended change probably caused by saving rather than exiting when viewing the file.
      Anyway, package.json only contains information about the module and can without issue be replaced with a “git pull”.

      @sweup Great that you solved it. A small suggestion for the future: as most modules (and MagicMirror itself) uses Github you should read up on GIT and its basic commands. It will make life easier for you!

      posted in Transport
      AlvingerA
      Alvinger
    • RE: MMM-ResRobot - Public transport information for Sweden

      @sweup
      git stash
      git pull
      npm install

      posted in Transport
      AlvingerA
      Alvinger
    • RE: MMM-ResRobot - Public transport information for Sweden

      @sweup it seems you have changed the file package.json

      Stash it away with “git stash” and try the update again.

      posted in Transport
      AlvingerA
      Alvinger
    • RE: MMM-ResRobot - Public transport information for Sweden

      @sweup did you restart the MagicMirror service after you updated?

      posted in Transport
      AlvingerA
      Alvinger
    • MMM-Koket-by-Sodexo

      A module (based on MMM-Skolmaten) to display school lunch menus from Köket by Sodexo (https://sodexo.mashie.com/public/app)

      72027c69-0a68-42b7-be3c-06921824d1c4-image.png

      Get it here: https://github.com/Alvinger/MMM-Koket-by-Sodexo)

      posted in Utilities
      AlvingerA
      Alvinger
    • 1 / 1