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?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login