Read the statement by Michael Teeuw here.
unable to change modules details
-
@sam below regarding weather
In the below piece of code they are saying that “unzip the gz file and find your city”
{
module: “currentweather”,
position: “top_right”,
config: {
location: “Hyderabad”,
locationID: “1176734”, //ID from http://bulk.openweathermap.org/sample/; unzip the gz file and find your city
appid: “YOUR_OPENWEATHER_API_KEY”
}
},
But in the link i could see two weather related files as:
–>weather_14.json.gz 14-Mar-2017 12:33 1564623
–>weather_16.json.gz 05-Apr-2019 11:08 8292321
I have downloaded “weather_16.json.gz” file and changes details respectively…
can you correct me if i have done anything worng -
@yrayapati right _14 is from 2 years ago… some cities maybe have been discovered for openweather since then!..
and u got your api key, that matches the kind of weather u wanted…
-
@sam I followed the steps described in this video and got API key
-
@yrayapati are u good now? weather and calendar… anything else?
-
@sdetweil first of all I am not able see any weather related details on the screen
-
@yrayapati ok, open the developers window, keyboard, ctrl-shift-i, select the console tab., and scroll up to see any errors (red text)… please advise
-
can you please elaborate
-
on the pi, start the mirror app
using a keyboard, press ctrl-shift-i, this will open the developers window on the right side of the screen
using a mouse, select the tab at the top with the word ‘console’, a scrollable window will appear
using the mouse, scroll the window UP to view the earlier messages (top is first, bottom is latest)find any messages that appear in red text… these are errors…
if u find them. please let us know what they are so we can help more
-
@sdetweil I updated the API key now its working, but in console
1)I observed this error “Failed to load resource: the api.openweathermap.o…aaad452a1ce2dddb9:1 server responded with a status of 401 (Unauthorized)”.2)This text is in yellow colour, i think this is warnings “weatherforecast: Your AppID does not support weatherforecast.js:266 long term forecasts. Switching to fallback endpoint.
weatherRequest.onreadystatechange@weatherforecast.js:266”correct me if i’m wrong
-
@yrayapati said in unable to change modules details:
our AppID does not support weatherforecast.js:266 long term forecasts
yes, they have different AppID for different forecasts… whatever u setup doesn’t support long term forecast…
go back to openeweather and change it (request different data)