Read the statement by Michael Teeuw here.
New Weather Module - Migration
-
@Canguingo you are just changing the label of the apikey value in config.js
-
@sdetweil said in New Weather Module - Migration:
@Canguingo you are just changing the label of the apikey value in config.js
this is how my config.js looks like
{
module: “weather”,
disabled: false, //false, true
position: “top_right”,
header: “Weervoorspelling”,
config: {
type: “forecast”,
location: “Amsterdam”, // my own location
locationID: “454545”, //id my location
apiKey: “abcde12345abcde12345abcde12345ab” //this is the old appi that i had
}
}so i need a new apiKey or with the old one is ok?
-
@Canguingo well, there are more new parms…
provider
and type (as they collapsed current and forecast into the same module now)see https://docs.magicmirror.builders/modules/weather.html#configuration-options
-
@sdetweil said in New Weather Module - Migration:
@Canguingo well, there are more new parms…
provider
and type (as they collapsed current and forecast into the same module now)see https://docs.magicmirror.builders/modules/weather.html#configuration-options
so what do i have to do?
-
@Canguingo i dpn’t know exactly… read the doc and check to see if you have all the required parms…
-
@sdetweil said in New Weather Module - Migration:
@Canguingo well, there are more new parms…
provider
and type (as they collapsed current and forecast into the same module now)see https://docs.magicmirror.builders/modules/weather.html#configuration-options
my question is: Do I need a new apiKey or with the value of the old appi is enough?
if you don’t know the answer or don’t know how to explain it, I thank you a lot, but please leave space for someone who actually can help.
thank in advance.
-
@Canguingo
I’dint use a new key. The old one was working fine.
After I update the Mirror to 2.19 and change the config. -
@Canguingo said in New Weather Module - Migration:
apiKey: “abcde12345abcde12345abcde12345ab” //this is the old appi that i had
Is that really your actual key, or did you just put that as a redaction of your actual key?
Just to ask a basic question, as that doesn’t look like a valid key to me.
As the others have noted, all you should need to do is change the module name and swap the key label from appid: to apiKey: , The key value itself is valid for both.
-
For reference, this is one of the entries in my config.js (I use the module twice, once for now and once for forecast):
{ module: "weather", position: "top_left", config: { type: "current", location: "Manchester", locationID: "", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city apiKey: "#####f59935f34cea0bf3c1aa82#####", units: "metric", degreeLabel: true, showHumidity: true, tableClass: "medium" } },Where the #'s in the apiKey are actually other letters and numbers (full key redacted).
-
@DarrenHill said in New Weather Module - Migration:
@Canguingo said in New Weather Module - Migration:
apiKey: “abcde12345abcde12345abcde12345ab” //this is the old appi that i had
Is that really your actual key, or did you just put that as a redaction of your actual key?
Just to ask a basic question, as that doesn’t look like a valid key to me.
As the others have noted, all you should need to do is change the module name and swap the key label from appid: to apiKey: , The key value itself is valid for both.
Many thanks Darren,
That’s a dummy key not the real one. I managed to get it running.
The issue was (for the record):
Mistaken “apiKey” for “appi”
Missing ‘currentweather’ part which has also been replaced by the new module. So the code was wrong and missing a calling a module that does not exist anymore.Again many thanks!!
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