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.

    my mirror freezes!

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    98 Posts 5 Posters 47.6k 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.
    • S Do not disturb
      sdetweil @Manu85
      last edited by

      @Manu85 open the developers window (ctrl-shift-i on keyboard), select the tab labeled console,
      and look around (scroll up), looking for any errors, red text…

      but if the mirror hangs this will not work… thus why I suggested installing MMM-Logging module and enable electron debugging to try to capture any error messages

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • M Offline
        Manu85
        last edited by

        this one :
        MMM-Logging ?

        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @Manu85
          last edited by sdetweil

          @Manu85 yes,

          make sure to do this

          Note: You can find more detailed information on debugging your MagicMirror here: Module Debugging. If you also want the Electron rederer (web browser) console logs to be printed to the standard console (or PM2 logs), change the following line to the very top of ~/MagicMirror/run-start.sh

          export ELECTRON_ENABLE_LOGGING=true

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • M Offline
            Manu85
            last edited by

            @sdetweil thank you for your answer i will follow your advice, but it exceeds my skills, can you tell me exactly what to do please?

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @Manu85
              last edited by

              @Manu85 install the module(note that it wants to be first in the module list in config.js), and add this to the batch file starting the mirror

              export ELECTRON_ENABLE_LOGGING=true

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • M Offline
                Manu85
                last edited by

                The you lost me :-), "and add this to the batch file starting the mirror
                export ELECTRON_ENABLE_LOGGING = true "

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @Manu85
                  last edited by

                  @Manu85 how does MM get started? pm2?

                  if so, it usually uses a batch file (script)

                  ~/MagicMirror/installers/mm.sh
                  make it look like this

                  cd ~/MagicMirror
                  export ELECTRON_ENABLE_LOGGING = true       
                  DISPLAY=:0 npm start
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    Manu85
                    last edited by

                    I have this error message:
                    pi@raspberrypi:~/MagicMirror $ export ELECTRON_ENABLE_LOGGING = true
                    -bash: export: « = » : identifiant non valable

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      Manu85
                      last edited by

                      -bash: export: “=”: invalid identifier

                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @Manu85
                        last edited by

                        @Manu85 sorry, hate that…

                        no spaces

                        export ELECTRON_ENABLE_LOGGING=true
                        

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          Manu85
                          last edited by

                          ok perfect the line has passed,
                          pi@raspberrypi:~/MagicMirror $ export ELECTRON_ENABLE_LOGGING=true
                          pi@raspberrypi:~/MagicMirror $
                          i downloaded the module, now i set it in config.js?

                          S 1 Reply Last reply Reply Quote 0
                          • bheplerB Offline
                            bhepler Module Developer
                            last edited by

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @Manu85
                              last edited by

                              @Manu85 yes, follow the modules readme

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply Reply Quote 0
                              • M Offline
                                Manu85
                                last edited by

                                ok i try …

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  Manu85
                                  last edited by

                                  I installed it at the top of the config.js file and I have an error when starting the MM “please create a config file”
                                  language: “fr”,
                                  timeFormat: 24,
                                  units: “metric”,

                                  modules: [
                                  	{
                                          module: 'MMM-Logging',
                                          config: {
                                              // Module functions out of the box with nothing set here.
                                              // See below for configurable options.
                                          }
                                      }
                                  ]
                                  

                                  }

                                  S 1 Reply Last reply Reply Quote 0
                                  • S Do not disturb
                                    sdetweil @Manu85
                                    last edited by

                                    @Manu85

                                    	{
                                            module: 'MMM-Logging',
                                            config: {
                                                // Module functions out of the box with nothing set here.
                                                // See below for configurable options.
                                            },    // < ---- missing comma  (like behind all modules)
                                    

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      Manu85
                                      last edited by

                                      I installed it at the top of the config.js file and I have an error when starting the MM “please create a config file”
                                      language: “fr”,
                                      timeFormat: 24,
                                      units: “metric”,

                                      modules: [
                                      	{
                                              module: 'MMM-Logging',
                                              config: {
                                                  // Module functions out of the box with nothing set here.
                                                  // See below for configurable options.
                                              }
                                          }
                                      ]
                                      

                                      }

                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        Manu85
                                        last edited by

                                        excuse me I sent the message twice because the site had crashed …, I test what you sent me

                                        1 Reply Last reply Reply Quote 0
                                        • M Offline
                                          Manu85
                                          last edited by

                                          I still have the same message.
                                          language: “fr”,
                                          timeFormat: 24,
                                          units: “metric”,

                                          modules: [
                                          	{
                                              module: 'MMM-Logging',
                                              config: {
                                                  // Module functions out of the box with nothing set here.
                                                  // See below for configurable options.
                                              },    // < ---- missing comma  (like behind all modules)
                                          
                                          S 1 Reply Last reply Reply Quote 0
                                          • S Do not disturb
                                            sdetweil @Manu85
                                            last edited by

                                            @Manu85 sorry, copy error on my part

                                            	{
                                                    module: 'MMM-Logging',
                                                    config: {
                                                        // Module functions out of the box with nothing set here.
                                                        // See below for configurable options.
                                                    }
                                                } ,    // < --- add comma here  means continued 
                                            

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 2 / 5
                                            • 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