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.

    System temperature : fetching...

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    12 Posts 4 Posters 10.2k Views 3 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 Offline
      sebastiensaucier
      last edited by

      Hi,

      I installed the MMM-SystemTemperature by MichMich , but it still displays “System temperature: fetching…” and I can’t get the temperature.

      If I use /opt/vc/bin/vcgencmd measure_temp in the terminal it works fine, but not in the magic mirror app.

      I have a Raspberry Pi 3.

      Thanks for your help.

      1 Reply Last reply Reply Quote 0
      • 0 Offline
        00conman
        last edited by

        How long have you had it fetch the system temperature? Also, you should tell this to the module author.

        1 Reply Last reply Reply Quote 0
        • S Offline
          sebastiensaucier
          last edited by

          It does this for hours, I never get the temperature. How can I contact the author?

          MichMichM 1 Reply Last reply Reply Quote 0
          • 0 Offline
            00conman
            last edited by

            Contact michmich he created the magic mirror.

            1 Reply Last reply Reply Quote 0
            • paviroP Offline
              paviro
              last edited by paviro

              @00conman since @MichMich is on this forum, he will see :)

              We're all stories in the end. Just make it a good one, eh?

              – The Doctor

              1 Reply Last reply Reply Quote 0
              • MichMichM Offline
                MichMich @sebastiensaucier
                last edited by

                @sebastiensaucier That’s weird … do you see any weird messages in the terminal?

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sebastiensaucier
                  last edited by paviro

                  No just the normal text:
                  0_1462561051031_unspecified.jpeg

                  1 Reply Last reply Reply Quote 0
                  • 0 Offline
                    00conman
                    last edited by

                    Just a thought, but could CPU load have anything to do with it?

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      sebastiensaucier
                      last edited by

                      It’s around 10% of usage. So I don’t think it can cause the problem.

                      MichMichM 1 Reply Last reply Reply Quote 0
                      • MichMichM Offline
                        MichMich @sebastiensaucier
                        last edited by MichMich

                        @sebastiensaucier could you modify the node_helper

                        change:

                        self.sendSocketNotification('TEMPERATURE', stdout.replace('temp=','').replace('\'','\°'));
                        

                        to:

                        var temperature = stdout.replace('temp=','').replace('\'','\°');
                        console.log('Temperature: ' + temperature);
                        self.sendSocketNotification('TEMPERATURE', temperature);
                        

                        And see if the temperature is logged?

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          sebastiensaucier
                          last edited by sebastiensaucier

                          Nothing in the console. Where can I see the logs?

                          Also, I tried to erease all and do all the readme again, but nothing changed.

                          1 Reply Last reply Reply Quote 0
                          • paviroP Offline
                            paviro
                            last edited by

                            You can see the logs inside your terminal session. If you use pm2 execute pm2 logs mm to see the log! :)

                            We're all stories in the end. Just make it a good one, eh?

                            – The Doctor

                            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 / 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