Comments (17)
I'm also using Imperial, but mine appears to be correct even though there is quite a spread between the high and the low. I compared with http://openweathermap.org/city and weather.com
from magicmirror.
Anyway you can post a shot of your weather widget? My temps are not matching up at all.
I should add the above screen shot is for Colorado Springs, US. The low is way off.
from magicmirror.
from magicmirror.
Yeah, yours looks right. Out of curiosity, are you using lat/long or city name in config. js?
" q: 'Colorado Springs,US',"
from magicmirror.
q: 'Santa Clara,US',
from magicmirror.
Could be an issue with my city. I changed to Santa Clara and it came up fine. Odd.
Thanks.
from magicmirror.
I'm having the same issues with Los Angeles weather. I've tried Los Angeles,US and Los Angeles,California both give the same 5 day incorrect High/Low Temps as compared to yahoo, weather underground, and apple weather. The strange thing is that the current temp displayed on the mirror seems to be accurate.
Here is the same day range listed on weatherunderground.com
from magicmirror.
If you use the openweathermap api you could check to see what the api feed sends to your mirror. If it is indeed an issue with the API, I would suggest reporting it to openweathermap.
Please let me know when I can close this issue.
from magicmirror.
Thanks. Is there a way to see the raw api data that I am receiving?
On Feb 6, 2016, at 7:58 AM, Michael Teeuw [email protected] wrote:
If you use the openweathermap api you could check to see what the api feed sends to your mirror. If it is indeed an issue with the API, I would suggest reporting it to openweathermap.
Please let me know when I can close this issue.
—
Reply to this email directly or view it on GitHub.
from magicmirror.
You could use the browsers web inspector, or just surf to the url:
http://api.openweathermap.org/data//2.5/weather?q=Baarn%2CNetherlands&units=metric&lang=nl&APPID=YOUR_API_KEY_HERE&cnt=5
Make sure to modify the parameters in the link above.
from magicmirror.
Thanks, that url returns the current weather, are you using this for the
forecast?
This url seems to return the correct forecast.
http://api.openweathermap.org/data/2.5/forecast?id=5417598&units=imperial&appid=
&cnt=5
On Sat, Feb 6, 2016 at 10:18 AM, Michael Teeuw [email protected]
wrote:
You could use the browsers web inspector, or just surf to the url:
Make sure to modify the parameters in the link above.
—
Reply to this email directly or view it on GitHub
#78 (comment)
.
from magicmirror.
you're right. sorry.... posted the wrong link.
from magicmirror.
Ok, so I see something.
In your code, you are using this url:
http://api.openweathermap.org/data/2.5/forecast/daily?id=5417598&units=imperial&appid=
&cnt=5
{"day":63.41,"min":31.37,"max":70.56,"night":41.77,"eve":62.76,"morn":31.37
This url returns completely different results then this url:
http://api.openweathermap.org/data/2.5/forecast?id=5417598&units=imperial&appid=
&cnt=5
{"temp":57.13,"temp_min":41.58,"temp_max":57.13,
On Sat, Feb 6, 2016 at 10:47 AM, Michael Teeuw [email protected]
wrote:
you're right. sorry.... posted the wrong link.
—
Reply to this email directly or view it on GitHub
#78 (comment)
.
from magicmirror.
So it appears some odd rounding is happening in the code.
Here is the displayed data:
And here is the raw data:
Sun - Min is off by 3 degrees.
Mon - High is off by 2 degrees
Tue - High is off by 2 degrees.
Wed - High is off by 2 degrees.
Thu - Both Match
Fri - Both Match
from magicmirror.
@dpcarlton Sorry to say, but no... this is just rounding to one decimal place. 37.13 becomes 37.1 and 21.49 is rounded to 21.5.
from magicmirror.
You are right, sorry. When I looked at it yesterday I could have sworn it was off. No idea how I mis-read it. You can close this issue. I opened one with the api providers.
from magicmirror.
FYI, looks like you were looking at the "current" temps vs the Max temps and that was the reason for the difference.
from magicmirror.
Related Issues (20)
- 2.26.0 - Calendar Error. Could not fetch calendar: http://0.0.0.0:8080/modules/calendars/fussball.ics TypeError: fetch failed HOT 10
- Weather module Met Office API Gateway migration
- Bug: Compliments module has `anytime` array mandatory HOT 7
- Calendar events can have recurrences after the RRULE recurrence end date HOT 2
- Move Module MMM-awesome-alexa to abandoned modules HOT 2
- move sunclac devdependency to dependencies HOT 1
- Small proposed change to hourly weather precipitation probability styling HOT 4
- Architecture suggestion: new “data sources” category
- Non helpful error message when started in clientonly mode HOT 6
- MMM-OnSpotify module causes MagicMirror to draws things multiple times HOT 10
- online documentation missing many config options for default modules HOT 3
- [weather] unit of config is not respected on broadcasted notifications
- online doc initial page on android phone hamburger menu doesnt respond HOT 7
- short dayname with time there HOT 4
- [calendar] Wrong values on broadcasted fullday events with RRULE
- Initializing buttons using 'MMM-Buttons' for notification sending to 'MMM-StopwatchTimer' induces an error :( HOT 1
- [weather] openweathermap One Call 2.5 will be finally closed in June 2024 HOT 2
- [news feed][feature request] ignore HTML tags in news feed items
- Modules with no header are always redrawn in updateDom, even when module content is unchanged HOT 4
- Error magicmirror 2.27 after upgrade - Blank black screen HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magicmirror.