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.

    Problem with MMM-ResRobot, it wont start(?)

    Scheduled Pinned Locked Moved Troubleshooting
    31 Posts 7 Posters 18.7k Views 7 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.
    • AlvingerA Offline
      Alvinger @Gailby
      last edited by Alvinger

      @Gailby I copied your first config but used my API key and it worked with no issues at all.
      Verify that you are using the correct API key.
      The 400 status code is usually because you are using the wrong key.

      G 1 Reply Last reply Reply Quote 0
      • G Offline
        Gailby @Alvinger
        last edited by

        @Alvinger Thanx a lot, that did it! I got confused about the english translation of “ResRobot - Pole Schedules 2” and used ResRobot - Reseplanerare. My Bad :/

        AlvingerA 1 Reply Last reply Reply Quote 0
        • AlvingerA Offline
          Alvinger @Gailby
          last edited by

          @Gailby
          Great to hear! (Jag dokumenterade på engelska så alla kunde förstå men då blir ju svenskar lite förvirrade! :-)
          Maybe I should add the swedish name of the API key to the documentation as well.

          A 1 Reply Last reply Reply Quote 0
          • A Offline
            ayeball @Alvinger
            last edited by ayeball

            @Alvinger

            Re: [Problem with MMM-ResRobot]

            I have also problem with MMM-Resrobot . I use API-Key ResRobot - Stolptidtabeller 2. !
            I got it to work now but i get stockholm stations … And i have use “ejdergatan"740025622” to redbergsplatsen" 740025673" Göteborg .

            any idea? Kan svara på svenska också ;) Mvh

            AlvingerA 1 Reply Last reply Reply Quote 0
            • AlvingerA Offline
              Alvinger @ayeball
              last edited by Alvinger

              @ayeball
              Please post the appropriate part of config.js

              Klipp in den relevanta delen av config.js så kan vi kolla på den.
              A 1 Reply Last reply Reply Quote 0
              • A Offline
                ayeball @Alvinger
                last edited by

                @Alvinger {

                Fick det att funka nu ! . Va tydligen 3 ställen jag fick ändra cfg till id för stationerna samt app id . i config.js / mmm-resrobot.js och mmm-resrobot som ligger i mmm-resrobot master mappen .

                Om jag vill ha en till tillagd som är det bara och upprepa följande kommando nedanför eller ? ;) Mvh

                from: “station id”, // ResRobot Station ID (or a comma-separated string of IDs)
                to: “station id”, // ResRobot Station ID of destination (or a comma-separated string of IDs)

                    module: "MMM-ResRobot",
                    position: "left",
                    header: "Spårvagn från Ejdergatan",
                    config: {
                        from: "740025622",   // ResRobot Station ID (or a comma-separated string of IDs)
                        to: "740025673", // ResRobot Station ID of destination (or a comma-separated string of IDs)
                        maximumEntries: 6,  // Number of departures to show on screen
                        truncateAfter: 5,   // A value > 0 will truncate direction name at first space after  characters. 0 = no truncation
                        apiKey:"f1109bf4-187c-49e2-95ce-1ba1b6062388"  // Your ResRobot apiKey
                    }
                },
                // -------------------------------------------------------	
                
                // -------------------------------------------------------
                
                AlvingerA 1 Reply Last reply Reply Quote 0
                • AlvingerA Offline
                  Alvinger @ayeball
                  last edited by Alvinger

                  @ayeball
                  Bra att det funkar.
                  Du ska bara behöva ändra i den config.js som ligger i MagicMirror-mappen, inte i de andra.

                  För att ange flera rutter lägger du bara till en ny rad med:
                  {from:“”, to:“”},

                  På din config ser det ut som att fu använger en gammal version. Gör en git pull för att uppdatera. En av ändringarna är just formatet för att ange flera rutter. Se README.md för dokumentation.

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