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.4k 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.
    • E Offline
      Eburkis
      last edited by

      does it work for you now ?

      N 1 Reply Last reply Reply Quote 0
      • N Offline
        Nybbe67 @Eburkis
        last edited by Nybbe67

        @Eburkis
        Yes, its working, thanks

        Best regards
        Niklas

        1 Reply Last reply Reply Quote 0
        • E Offline
          Eburkis
          last edited by

          i cant get mine to work :/

          1 Reply Last reply Reply Quote 0
          • N Offline
            Nybbe67
            last edited by

            @Eburkis copy @atd08001’s config (above here) and replace your own, but use your own API key. Then it should work. My mistake was a typo, MMM_ResRobot, not MMM-ResRobot.

            E 1 Reply Last reply Reply Quote 0
            • E Offline
              Eburkis @Nybbe67
              last edited by

              hmm i have not make the same typo as you did but something i still not working for me.

              	{
              		module: "MMM-ResRobot",
              		position: "left",
              		header: "Avgångar",
              		config: {
              			from: "2023",		// ResRobot Station ID (or a comma-separated string of IDs)
              			to: "1138",			// ResRobot Station ID of destination (or a comma-separated string of IDs)
              			skipMinutes: 0,		// Skip departures that happens within the next  minutes.
              			maximumEntries: 6,	// Number of departures to show on screen
              			truncateAfter: 2,	// A value > 0 will truncate direction name at first space after  characters. 0 = no truncation
              			apikey: "KEY HERE "		// Your ResRobot apiKey
                      },
              
              
              A 1 Reply Last reply Reply Quote 0
              • A Offline
                atd08001 @Eburkis
                last edited by

                @Eburkis Hi,

                It looks like the Station ID is wrong. My “From station ID” for “Gubbängen” is 740021699.

                You can create a API for “ResRobot - Reseplanerare” and then type in this URL in the browser: https://api.resrobot.se/v2/location.name?key=**YOURE API KEY**&input=SEARCH WORD

                Replace the bold parts, whit API-key and search word for exampel T-centralen
                You will get a XML response with all the possible results and the differnet ID (Stations ID)

                And then make sure you use the service “ResRobot - Stolptidtabeller 2” in the config.

                Good luck
                Andreas

                1 Reply Last reply Reply Quote 0
                • E Offline
                  Eburkis
                  last edited by

                  if i use the api for “platsuppslag” then i get the answer that 2023 is Rudboda torg and when i look for gubbängen Tbana is 7956 so I wonder where you get your number from.

                  and i get access denied with your link so that dont work for me sry

                  A 1 Reply Last reply Reply Quote 0
                  • A Offline
                    atd08001 @Eburkis
                    last edited by

                    @Eburkis
                    You should use “ResRobot - Reseplanerare" and create a API for that service instead of “platsuppslag”.
                    i get ID: 740024784 and name “Lidingö Rudboda torg” when i search for Rudboda torg

                    BR
                    Andreas

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      Eburkis
                      last edited by

                      i will try. tnx for the help, have a nice evening

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        Eburkis
                        last edited by Eburkis

                        @atd08001
                        now i want to completly give up… now with the new site id its still does not work. now it’s just black with no info at all.
                        what should i do ?

                        {
                        		module: "MMM-ResRobot",
                        		position: "left",
                        		header: "Departures",
                        		config: {
                        			from: "740024784",		// ResRobot Station ID (or a comma-separated string of IDs)
                        			to: "740046172",			// ResRobot Station ID of destination (or a comma-separated string of IDs)
                        			skipMinutes: 0,		// Skip departures that happens within the next  minutes.
                        			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: "key here"		// Your ResRobot apiKey
                        			}
                        		},
                        
                        N 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 3 / 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