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.1k 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

      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 Reply Quote 0
      • S Offline
        sdetweil @Hinge
        last edited by

        @Hinge maybe the module has a bug?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        thgmirrorT 1 Reply Last reply Reply Quote 0
        • thgmirrorT Offline
          thgmirror @sdetweil
          last edited by

          @Hinge for me it runs perfect.

          1 Reply Last reply Reply Quote 1
          • B Offline
            boehmch @Hinge
            last edited by

            @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

              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

              KristjanESPERANTOK 1 Reply Last reply Reply Quote 0
              • KristjanESPERANTOK Offline
                KristjanESPERANTO Module Developer @Hinge
                last edited by

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

                H 1 Reply Last reply Reply Quote 0
                • H Offline
                  Hinge @KristjanESPERANTO
                  last edited by

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