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.

    Temp suddenly showing 239 degrees

    Scheduled Pinned Locked Moved Troubleshooting
    19 Posts 11 Posters 11.9k Views 10 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.
    • RedNaxR Offline
      RedNax Module Developer
      last edited by RedNax

      The error is with the openweathermap api payload:

      {"temp":295.06,"pressure":1026,"humidity":68,"temp_min":293.15,"temp_max":297.75},
      

      What units are your guys using in config.js?

      The above result only appears when it’s not defined at all.metric or emperial yield valid results. I guess it’s kelvin?

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        d3r @RedNax
        last edited by

        @RedNax
        I’m using degrees C.
        I forgot to mention the it’s just the current temperature that’s showing temps in the hundreds. The temperature forecast is still working fine.

        1 Reply Last reply Reply Quote 0
        • RedNaxR Offline
          RedNax Module Developer
          last edited by

          You’re getting degrees Kelvin… Something’s wrong with your units definition…

          Have a look at the units entry here: https://github.com/MichMich/MagicMirror/tree/master/modules/default/currentweather

          1 Reply Last reply Reply Quote 0
          • D Offline
            d3r
            last edited by

            Something must have happened. I didn’t change the code. I’ll check it when I get home.

            1 Reply Last reply Reply Quote 1
            • D Offline
              digbeta
              last edited by

              I have the same issue. Suddenly Current is shown in Kelvin. Setting the units in config.js changes nothing. Alternatively I installed the MMM-WunderGround module and it is showing correctly plus it’s LOADS better. Hourly + extended.

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

                Happened to me yesterday. Seemed to resolve itself today.

                C 1 Reply Last reply Reply Quote 0
                • C Offline
                  cyberphox @McSorley
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    cyberphox
                    last edited by

                    Same thing is happening to me on a new install. Tried even adding units line to config but doesn’t matter what you select it always shows Kelvin. FYI the temperature forecast displays correctly, just not current temp. May have to ditch this and go with a new weather module.

                    1 Reply Last reply Reply Quote 0
                    • KirAsh4K Offline
                      KirAsh4 Moderator
                      last edited by

                      No matter what I do, I can’t seem to reproduce this odd temperature display. I’ve even started from scratch with a different rpi, completely blank to having MM up and running … no odd temperature.

                      A Life? Cool! Where can I download one of those from?

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

                        Hi there,

                        I experienced this the other day, and I checked again - my new pi 3 is still showing an incorrect temperature reading as well. It seems as though the temperature is set to ‘Kelvin’, though I set the temperature to ‘imperial’, within the config.js configuration file.

                        0_1473565115998_Photo Sep 10, 11 11 08 PM.jpg

                        ---------------------------------------------------------
                        /* Magic Mirror Config Sample
                         *
                         * By Michael Teeuw http://michaelteeuw.nl
                         * MIT Licensed.
                         */
                        
                        var config = {
                                port: 8080,
                        
                                language: 'en',
                                timeFormat: 12,
                                units: 'imperial',
                        

                        Note from admin: Please use Markdown on code snippets for easier reading!

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