@JerryP said in New Weather Module - Migration:
@Canguingo said in New Weather Module - Migration:
Hi there,
I have made the latest update of MM and got an error because the Weather Module is Deprecated (wonder whether this could be updated in the last update of MM as it is an standard module, anyway).
I am trying to add the config file the following code:
{
module: “weather”,
position: “top_right”,
config: {
type: “forecast”,
location: “Amsterdam,Netherlands”,
locationID: “”,
apiKey: “abcde12345abcde12345abcde12345ab”
}
}
as suggested in https://docs.magicmirror.builders/modules/weatherforecast.html#migration.
but this doesn’t solve the issue.
Is there any way to migrate from the old version of Weather Module to the new one?
Many thanks in advance!
{
module: "weather",
disabled: false, //false, true
position: "top_right",
config: {
type: 'forecast',
location: "Heemskerk",
locationID: "2754696",
apiKey: "https://openweathermap.org/api",
fade: false,
colored: true,
}},
Hi Jerry,
I indeed added the IDs and apikey. But nothing is loading. Do I need to update the Weather Module as well? I thought this was done automatically.
The rest of the code is same as yours but with my location and apikey.
Many thanks!
@JerryP said in New Weather Module - Migration:
@Canguingo said in New Weather Module - Migration:
Hi there,
I have made the latest update of MM and got an error because the Weather Module is Deprecated (wonder whether this could be updated in the last update of MM as it is an standard module, anyway).
I am trying to add the config file the following code:
{
module: “weather”,
position: “top_right”,
config: {
type: “forecast”,
location: “Amsterdam,Netherlands”,
locationID: “”,
apiKey: “abcde12345abcde12345abcde12345ab”
}
}
as suggested in https://docs.magicmirror.builders/modules/weatherforecast.html#migration.
but this doesn’t solve the issue.
Is there any way to migrate from the old version of Weather Module to the new one?
Many thanks in advance!
{
module: "weather",
disabled: false, //false, true
position: "top_right",
config: {
type: 'forecast',
location: "Heemskerk",
locationID: "2754696",
apiKey: "https://openweathermap.org/api",
fade: false,
colored: true,
}},