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 8.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 Admin
              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 Admin @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 Admin @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
                        • 1
                        • 2
                        • 1 / 2
                        • 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