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

Magic Mirror's time is delayed compared to system time

Scheduled Pinned Locked Moved Bug Hunt
1 Posts 1 Posters 413 Views 1 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.
  • L Offline
    Lx
    last edited by Lx Mar 15, 2020, 4:27 PM Feb 21, 2020, 10:57 AM

    My mirror’s time can get late for the system time. Everything within the MM environment works by that late time, e.g the default clock and scheduled commands (MMM-ScriptScheduler items). The only scenario I can recreate this manually is stopping the mirror by “pm2 stop mm” and then rebooting it. After reboot there is about a 12 second latency.

    Video: Spot time displayed by the clock module and in the top line of htop.

    Performing a (shutdown)-(waiting)-(starting the system) procedure extends this interval. The more the RPi stays switched off the more the time difference will be. Refreshing the browser with Ctrl-R corrects the problem.

    I have 3 mirrors running at the moment. (Actually, only one of them is a physical mirror :-) but let’s call them like that.)

    • mirror1: RPi4 4GB, MM v2.10.1, node v10.19.0, LAN
    • mirror2: Rpi3B+, MM v2.10.1, node v10.19.0, LAN
    • mirror3: Rpi3B+, MM v2.9.0, node v10.17.0, WiFi

    Only mirror1 and mirror2 (the PRi’s with MM v2.10.1) can be forced to the above 12 sec delay.

    All of them run the same config on 16GB SD cards. Modules:

    • MMM-ScriptScheduler
    • MMM-GoogleMapsTraffic
    • calendar
    • clock
    • MMM-LocalTemperature (with DHT22 sensor)
    • currentweather
    • weatherforecast
    • plus the MagicMirror-Display-Controller python program (with RCWL-0516 sensor)
    1 Reply Last reply Reply Quote 0
    • 1 / 1
    1 / 1
    • First post
      1/1
      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