Read the statement by Michael Teeuw here.
Weather not working
-
@sdetweil
No luck. I noticed you used ‘ ‘ instead of “ “ for the ‘3.0’. I used “ “ for all my other variables, such as type: “forecast”. Is that correct?The doc file doesn’t have any notation for how the lat/Lon is presented. Should that read…lat: ‘33.3025’ or nothing as it would imply in the doc file, I.e., lat: 33.3025
-
@KI6UVE lat and lng are numbers, so no quotes. either type is ok as long as they match
-
@sdetweil
No luck with that. Should the apiVersion be in ‘ ‘ or raw? Is there a different weather app api that is easier to configure? -
@KI6UVE I just did this
{ module: "weather", position: "top_right", config: { weatherProvider: "openweathermap", type: "current", // location: "New York", // locationID: "5128581", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city apiKey: ".....", lat:30.xxxxxx, lon:-97.xxxxxx } },
and it worked (top right)
and the other used locationID… with my apiKey
-
if you open the developers window using the instructions i gave before, do you see any errors?
-
@sdetweil
Something must be wrong with my api key. I did not see the instructions for opening a developers window. Could you send again? -
-
-
That brought up module weather.js, Uncaught SyntaxError: unexpected token .
-
@KI6UVE what line number?
-
159