• 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-PublicTransportHafas does not update departure times after startup

Scheduled Pinned Locked Moved Solved Troubleshooting
7 Posts 5 Posters 2.0k Views 5 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.
  • H Offline
    Hinge
    last edited by Aug 24, 2023, 11:51 AM

    Hi,

    i have installed the latest MM² software on a Raspberry Pi3. Default runs everything fine (weather, calendar and so on).

    Now i tried the 3rd-Party Module MMM-PublicTransportHafas (https://github.com/raywo/MMM-PublicTransportHafas).

    If i start the MM² (pm2 restart MagicMirror) the latest informations about the departures are shown. But then nothing more happens. If i start the MM² at 12 o’clock, the departes stay for example at 12:08. And stay and stay. In the ‘config.js’ of the MM² i configered the updatesEvery on 180 (seconds).

    The Weathermodule and the calendar-module are fine and always up to date.

    Is there something if forgot?

    Thanks,
    Hinge

    S B 2 Replies Last reply Aug 24, 2023, 1:24 PM Reply Quote 0
    • S Offline
      sdetweil @Hinge
      last edited by Aug 24, 2023, 1:24 PM

      @Hinge maybe the module has a bug?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      T 1 Reply Last reply Aug 24, 2023, 1:39 PM Reply Quote 0
      • T Offline
        thgmirror @sdetweil
        last edited by Aug 24, 2023, 1:39 PM

        @Hinge for me it runs perfect.

        1 Reply Last reply Reply Quote 1
        • B Offline
          boehmch @Hinge
          last edited by Aug 24, 2023, 2:38 PM

          @Hinge

          i use this https://github.com/KristjanESPERANTO/MMM-PublicTransportHafas . The Module works fine and stable

          1 Reply Last reply Reply Quote 1
          • H Offline
            Hinge
            last edited by Aug 25, 2023, 3:13 PM

            My Error :man_facepalming:

            At the end of the description of the hafas-modul stands:

            • The update will also be stopped by the use of a PIR sensor using the module MMM-PIR-Sensor (that sends the notification ‘USER_PRESENCE’).

            After comment the part of the MMM-Pir in the config.js file out, everything is fine.

            THX

            K 1 Reply Last reply Aug 28, 2023, 10:01 PM Reply Quote 0
            • K Online
              KristjanESPERANTO Module Developer @Hinge
              last edited by Aug 28, 2023, 10:01 PM

              @Hinge Can you please describe in more detail what you commented out?

              H 1 Reply Last reply Sep 1, 2023, 6:21 PM Reply Quote 0
              • H Offline
                Hinge @KristjanESPERANTO
                last edited by Sep 1, 2023, 6:21 PM

                @KristjanESPERANTO

                the entire MMM-Pir modul.

                Like

                /*              {
                                        module: 'MMM-Pir',
                                        position: 'bottom_left',
                                        config: {
                                                debug: false,
                                                delay: 1 * 30 * 1000,
                                                turnOffDisplay: true,
                                                mode: 1,
                                                ecoMode: true,
                                                displayCounter: true,
                                                displayBar: true,
                                                displayStyle: "Text",
                                                displayLastPresence: true,
                                                lastPresenceTimeFormat: "LL H:mm",
                                                mode6_gpio: 20,
                                                mode6_clearGpioValue: true,
                                                pir_gpio: 21,
                                                pir_reverseValue: false
                                                }
                                },
                */
                
                

                The display runs now 24/7, but i got my departures ;-)

                I will take a look at the problem with “user_presence” later.

                1 Reply Last reply Reply Quote 1
                • 1 / 1
                1 / 1
                • First post
                  2/7
                  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