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.

    MagicMirror using the wrong time

    Scheduled Pinned Locked Moved Solved Troubleshooting
    54 Posts 6 Posters 22.4k Views 6 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.
    • B Offline
      blissb @sdetweil
      last edited by

      @sdetweil
      Doh!
      smh.png

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

        @blissb I can’t tell you how many times I do that in a week! 😆

        how did you upgrade mm?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        B 1 Reply Last reply Reply Quote 0
        • B Offline
          blissb @sdetweil
          last edited by

          @sdetweil I have a script that moves the MM directory to backup, gets rid of the various package-lock.json files, then does a git pull && npm install --only=prod --omit=dev

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

            @blissb ok. see these
            https://github.com/sdetweil/MagicMirror_scripts

            and

            https://github.com/sdetweil/MagicMirror-backup-restore

            I’m wondering if the npm install in the vendor folder failed. that is where moment is loaded

            the fact that clock and weather and calendar are all messed up., is pretty interesting

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            B 1 Reply Last reply Reply Quote 0
            • B Offline
              blissb @sdetweil
              last edited by

              @sdetweil

              I renamed the MagicMirror directory, and re-installed using the install script – iirc that’s what I used initially.

              Sadly, no change.

              Giving up for now – may poke at it more tomorrow. Thanks again.

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

                @blissb would you be willing to share your config.js, send to me as a text file

                same userid as here, at gmail

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                B 3 Replies Last reply Reply Quote 0
                • B Offline
                  blissb @sdetweil
                  last edited by

                  @sdetweil

                  I think I can do that. I’ll send it after work.

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    blissb @sdetweil
                    last edited by

                    @sdetweil
                    You’ve probably seen it by now - but I’ve sent you the config.js.

                    Also, I saw some info about times being correct when viewed on a remote browser. I’ve tried setting the external browser in my “mm.sh” script to both midori and firefox (both are installed). Neither makes a difference.

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

                      @sdetweil

                      If this is a red-herring / rabbit-hole, I apologize in advance. I haven’t done any javascript in 10+ years… all this is sorcery to me. :beaming_face_with_smiling_eyes:

                      I configured it to allow remote access via a browser on my desktop machine. On the pi running the newer (wrong time) version of MM, the browser displays the correct time, while the pi displays the wrong time. That’s kind of fascinating to me… clearly the browser is calculating the times on its own.

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

                        @blissb yes, someone else reported similar issue

                        the Midori/Firefox only work if the start line is changed in package.json

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 1 / 6
                        • 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