Read the statement by Michael Teeuw here.
Weather Module Help -- Using weathergov
-
Ok so it seems the weather module is a mess or maybe I’m having issues idk haha. So here are the issues I’ve had…
I started out with openweathermap, and the forecast seemed to work except that the forecasted temps were way off compared to say weatherchannel, accuweather, and weathergov…
So since weathergov seemed to have the right forecast I tried that, but then feels like temp is off by about 14 degrees compared to actual feels like.
The bigger issue is that when I tried to get the forecast to show up it just says loading and nothing ever comes up… below I’m posting my whole code that I’m using for weathergov…
{
module: “weather”,
position: “top_right”,
header: “Current Weather”,
config: {
weatherProvider: “weathergov”,
apiBase: “https://api.weather.gov/points/”,
weatherEndpoint: “/forecast/hourly”,
lat: “XXX”,
lon: “XXX”,
type: “current”
}
},
{
module: “weather”,
position: “top_right”,
header: “Weather Forecast”,
config: {
weatherProvider: “weathergov”,
apiBase: “https://api.weather.gov/points/”,
weatherEndpoint: “/forecast”,
lat: “XXX”,
lon: “XXX”,
type: “forecast”,
maxNumberOfDays: “3”
}Does something look wrong here for the forecast to not show up?
The one other question is how do I turn off the feels like option as I don’t want that if it’s going to be incorrect.
Look forward to any help as I have a serious headache!!!
-
@harmzj I don’t see any errors, but I use the OpenWeatherMap and it works fine here. The option feels like can be turned off with:
showFeelsLike: false,
Add it under the type.
If you use Ctrl-Shift-I, does the weather module show an error message?
-
@macg so here’s something funny… it decided without me doing anything that my coding was right. So now I’m just working on getting the feels like to disappear haha. Thanks!
-
@harmzj forecast has a problem w timing, set the initialLoafDelay to 150 or above to get around that.
otherwise it will wait for the 15 refresh cycle
-
@sdetweil Sounds good thank you. The whole thing is very weird… now my current weather outside is way off. It says 32 degrees actual temp and that’s way off by like almost 20 degrees, and I’ve double check my coordinates everything matches up and even shows right city state.
-
@harmzj sounds like u have units:metric set
-
@sdetweil Nope I double checked that. 32 degrees (Celsius) would be nearly 90 degrees Fahrenheit. It was more like 51 degrees.
-
@harmzj any chance u have lat/long without the leading minus sign? will put u on another part of the planet.
I am -97 (west of England)
97 would be the other side of the world(Tibet not Texas!) -
@sdetweil Made sure I got the leading minus sign correct. Just very weird so last night it was like 20 degrees off and I came back today and it has right current temperature.
I use WeatherGov so the set up is a little different, but the reason I went with weathergov is b/c their forecast was more accurate.
Like looking at OpenWeather on their actual website their forecast was showing around 10 degrees higher temp than any other provider (i.e. Weather Channel, AccuWeather, WeatherGov, etc).
I think the solution might be to use OpenWeather for Current weather, and then utilize WeatherGov for the forecast.
-
@harmzj Here are my weathergov config.js components.
You might want to read this post I did regarding weathergov.
Once I read through API a few times I figured out how to make it work.
They say it on api page but be aware that weather.gov resolves back to certain National Weather Service sites. That is explained in gridpoint discussion.
Don’t usetableClass: 'medium',
unless you are doing this on big TV.
One last thing. Every now and then you might see an unusual number for the current temperature. Mine will show 32 F but it comes back. Pretty sure it is due mine and the NWS updates crossing paths at same time so I get that 32F number but on next update it will be correct.Current
Forecast