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.

    Default clock module accuracy?

    Scheduled Pinned Locked Moved Bug Hunt
    10 Posts 4 Posters 1.2k Views 4 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.
    • R Offline
      rtkeen
      last edited by

      Here is my config for the clock module. One thing I have figured out is that if I restart MagicMirror, the clock is correctly synchronized with the system clock. It may be that the system clock isn’t fully set when MagicMirror is started at boot. How often does the clock module look at the system clock?

                  module: "clock", // day time clock
                  position: "top_left",
                  config: {
                                      dateFormat: "dddd, MMM D, YYYY",
                                      displayType: "digital",
                                      timeFormat: 12,
                                      displaySeconds: false,
                                      showDate: true,
                                      showPeriod: true,
                                      showWeek: false,
                                      showSunTimes: true,
                                      lat: 39.94209,
                                      lon: -86.13914,
                  },
                  classes: 'daytime_scheduler'
              }
      
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @rtkeen
        last edited by

        @rtkeen every time it updates the ui it does this calculation

        there could be a rounding error due to the removal of the 10s
        ie, 6 instead of 60
        but have never seen any other message about this

        IMG_0743.png

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        plainbrokeP 1 Reply Last reply Reply Quote 0
        • plainbrokeP Offline
          plainbroke @sdetweil
          last edited by

          @sdetweil
          Mine is off a full minute right now. Funny thing is it will usually catch up in a few minutes. I notice it most often around xx:45 to xx:49 in the afternoon, evening .
          Not a big deal to me what is 30 to 45 seconds matter anyways.
          Now as I am writing this it caught back up. I would not notice at all if I dd not have another clock running directly below it that gets it’s time from the network too.

          Slow learner. But trying anyways.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @plainbroke
            last edited by

            @plainbroke interesting

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            plainbrokeP 1 Reply Last reply Reply Quote 0
            • plainbrokeP Offline
              plainbroke @sdetweil
              last edited by plainbroke

              @sdetweil
              I thought you would find that interesting, I never thought much about it until the previous post came about. Like I said it doesn’t bother us or cause any issues. They really are at least with in 45 seconds of each other. If I reboot the pi it will sync up for most of the day… Maybe that is his answer to restart his pi just before bed, assuming it is that important…

              Slow learner. But trying anyways.

              S mumblebajM 2 Replies Last reply Reply Quote 0
              • S Offline
                sdetweil @plainbroke
                last edited by sdetweil

                @plainbroke i have a bedside clock, that gets its date/time from the signal in the ac powerline.

                since i picked up an iphone , the bedside is 2 minutes behind
                my android is ok… weird

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • mumblebajM Offline
                  mumblebaj Module Developer @plainbroke
                  last edited by mumblebaj

                  @plainbroke Out of interest and to see if you get the same issue, can you try my MMM-SweepClock and see if it has the same issue? Just want to see if it may be the module that is loosing time?

                  Check out my modules at: https://github.com/mumblebaj?tab=repositories
                  Check my blog-post: https://mumblebaj.xyz/

                  plainbrokeP 1 Reply Last reply Reply Quote 0
                  • plainbrokeP Offline
                    plainbroke @mumblebaj
                    last edited by

                    @mumblebaj
                    Sorry but no. I am out of pi’s to test on. And it is not something that matters to me .
                    What is a few minutes in the grand scheme of things.

                    Slow learner. But trying anyways.

                    1 Reply Last reply Reply Quote 0
                    • 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