Read the statement by Michael Teeuw here.
Temp suddenly showing 239 degrees
-
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?
-
@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. -
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
-
Something must have happened. I didn’t change the code. I’ll check it when I get home.
-
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.
-
Happened to me yesterday. Seemed to resolve itself today.
-
This post is deleted! -
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.
-
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.
-
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.
--------------------------------------------------------- /* 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!