MMM-PublicTransportHafas icon indicating copy to clipboard operation
MMM-PublicTransportHafas copied to clipboard

Extra functionnalities

Open AgP42 opened this issue 6 years ago • 7 comments

Proposal to stop the update timer on following cases :

  • no user is present in front of the Mirror. Detection made by using a PIR sensor and with the module MMM-PIR-Sensor, that send the notification "USER_PRESENCE"
  • the module is hidden (by a carousel for example). To do so the core function "suspend"/"resume" are used When both "USER_PRESENCE" = True and the module is displayed, then all instance of MMM-PublicTransportHafas are updated immediatelly and the update time relaunched (on the value definied by the user or default value)

In case none of this modules are presents or only one of both, there is no impact on the behaviour.

AgP42 avatar Jul 12 '18 14:07 AgP42