• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

MMM-ResRobot - Public transport information for Sweden

Scheduled Pinned Locked Moved Transport
138 Posts 27 Posters 160.2k Views 28 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.
  • A Offline
    Alvinger @sdetweil
    last edited by Sep 23, 2020, 6:01 PM

    @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.

    1 Reply Last reply Reply Quote 0
    • A Offline
      Alvinger @Zapman
      last edited by Sep 23, 2020, 6:03 PM

      @Zapman You’re welcome. Do let me know if you see anything you want to add/change.

      S 1 Reply Last reply Nov 7, 2022, 2:11 PM Reply Quote 0
      • S Offline
        SvenT @Alvinger
        last edited by Nov 7, 2022, 2:11 PM

        @Alvinger Thank You for a brilliant module that works like a charm.
        Do You have a simple fix for limiting updates?
        I want frequent updates for my bus stop when present, and none when I’m not present…
        I have a PIR sensor hooked up. Possible to use that? Suspend module?
        OR a simple schedule as proposed by Trafiklab:
        https://www.trafiklab.se/docs/using-trafiklab-data/best-practices/limiting-requests/

        Not a high prio request…

        Cheers
        /Sven

        S A 2 Replies Last reply Nov 7, 2022, 5:45 PM Reply Quote 0
        • S Away
          sdetweil @SvenT
          last edited by Nov 7, 2022, 5:45 PM

          @SvenT I would post an issue to the module GitHub issues page to engage the author

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • A Offline
            Alvinger @SvenT
            last edited by Alvinger Nov 7, 2022, 10:46 PM Nov 7, 2022, 10:45 PM

            @SvenT I have experimented with a number of algorithms for minimizing updates but ended up with the one implemented. The current algorithm is:

            • If initial request, get updates from Trafiklab

            • If the first item in departure list (per routeId) is “old”, i.e. before cutoff time (now + skipMinutes), clear list (for routeId) and get updates from Trafiklab

            What the above means is that updates only occur ON ACTUAL DEPARTURES, e.g. if a bus departs every 15 minutes the module will get updates from Trafiklab every 15 minutes (per routeId). In rush hour this often means that the module get updates every minute but at night it might only update once per 60 minutes or longer (per routeId). This behavior has the benefit of automatically adjusting to rush hour and slow hours without user intervention or tweaking.

            If only one routeId is configured, the number of Trafiklab updates is usually way below the Trafiklab suggestions.

            /j

            S 1 Reply Last reply Nov 8, 2022, 9:07 AM Reply Quote 0
            • S Offline
              SvenT @Alvinger
              last edited by Nov 8, 2022, 9:07 AM

              @Alvinger I see.
              My local bus station has departures every 3 minutes almost all day. :-(
              I’ll tinker with the change profile module to see if I can pause the Reslust module.

              Cheers
              /Sven

              A 1 Reply Last reply Nov 8, 2022, 10:41 PM Reply Quote 0
              • A Offline
                Alvinger @SvenT
                last edited by Nov 8, 2022, 10:41 PM

                @SvenT I think that if you just hide the module it will stop updating (but I’m not sure). Try it.

                1 Reply Last reply Reply Quote 0
                • N Offline
                  noorm91
                  last edited by Dec 13, 2023, 10:02 PM

                  Has anyone gotten ResRobot v2.1 to work?
                  If so how does your config look like?

                  I’m trying {from: “740000260”, to: “740000120”}, the rest is default except apiKey of course.

                  A 1 Reply Last reply Dec 14, 2023, 8:02 AM Reply Quote 0
                  • A Offline
                    Alvinger @noorm91
                    last edited by Dec 14, 2023, 8:02 AM

                    @noorm91 Please post your entire config for ResRobot (with the secrets masked).

                    N 1 Reply Last reply Dec 14, 2023, 10:32 PM Reply Quote 0
                    • P Offline
                      Populus
                      last edited by Dec 14, 2023, 8:31 PM

                      I quickly looked but couldn’t find if “Kalmar län” is included?

                      A N 2 Replies Last reply Dec 14, 2023, 10:30 PM Reply Quote 0
                      • 1
                      • 2
                      • 10
                      • 11
                      • 12
                      • 13
                      • 14
                      • 13 / 14
                      • 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