Read the statement by Michael Teeuw here.
MMM-PublicTransportHafas does not update departure times after startup
-
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 -
@Hinge maybe the module has a bug?
-
@Hinge for me it runs perfect.
-
i use this https://github.com/KristjanESPERANTO/MMM-PublicTransportHafas . The Module works fine and stable
-
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
-
@Hinge Can you please describe in more detail what you commented out?
-
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.