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.

    troubleshooting

    Scheduled Pinned Locked Moved General Discussion
    7 Posts 2 Posters 133 Views 2 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
      rob73
      last edited by

      I have a few MagicMirror installs going and I just love them. I notice that some config.js file edits will be applied with a MagicMirror reload(ctrl-r), some wont take without a complete program close and restart. What edits require a restart and what requires a reload and how can you check? How can I troubleshoot those things?

      I have a latest install that I am configuring a calendar for my dad, and I can not get the clock to take edits. No change that I make will be applied. Not even with a whole restart. I am not sure how to troubleshoot this.

      Rob

      S 3 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @rob73
        last edited by

        @rob73 the pm2 app can restart on config change, and my installer sets it up that way.

        however it doesn’t work reliably on any platform.
        i made changes last year to solve this, and its works sometimes

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @rob73 show the module structure for clock in config. js please

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @rob73 oh, some ctrl-r

            ctrl-r only reloads the web page, its does not restart any of the node_helpers some modules use

            node_helpers only get loaded at startup

            example. weather is all in browser, calendar uses a node_helper to get data
            so ctrl-r will reload weather completely
            if you changed the calendar config to add/remove a calendar, then ctrl-r will NOT do that
            so, you have to look a the module implementation to see how you need to restart

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              rob73 @sdetweil
              last edited by

              @sdetweil That makes sense to me about reloading the page and not restarting the modules and things.

              I figured out the calendar config. I was leaving out the config {} section and just adding the options right under the module: “clock” & position:“top_left”.

              I looked at that over and over and compared to examples and I couldnt figure it out to save my life. I woke up in the middle of the night and took a look at it again and it jumped out at me.

              Thanks for the responses.

              Rob

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

                @rob73 cool was thinking missing config section

                hate those wake up in the night thoughts

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                R 1 Reply Last reply Reply Quote 0
                • R Offline
                  rob73 @sdetweil
                  last edited by

                  @sdetweil those wake up in the night thoughts may be some of my best work… lol…

                  Thanks again!

                  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