Read the statement by Michael Teeuw here.
Weather Module LocationID Error
-
Hello I am fairly new to the community so please bare with me haha
I’m currently setting up my Magic Mirror to show the default weather module for now, I received a LocationID and API key from openweather.com and when I run config:check it says that it doesn’t recognize the token “LocationID”
Here is my current config of it
{
module: “weather”,
position: “top_right”,
config: {
weatherProvider: “openweathermap”,
type: “current”,
location: “New Berlin”
locationID: “5264381”, //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
apiKey: “8c4d8ab59d1b3f0277d2aed5a9561da5”
}
},Thank you!
-
@stardyze unuxpected token, means the line before doesn’t end with a comma
-
@sdetweil Okay that did fix that, now it’s telling me there’s an unexpected token “modules” (The one close to the top of the config file)
-
@stardyze ok?