I have rebuilt my installation and used backup .js files.
Everything has worked apart from the weather module.
I am getting the ‘Invalid date’ message a temperature of NaN.
I have tried adding the apiVersion: ‘2.5’
weatherEndpoint: “/weather”
Lines into the config.js file but then MagicMirror doesn’t load.
the section of config.sys is:
{
module: "weather",
position: "top_right",
config: {
weatherProvider: "openweathermap",
type: "current",
location: "Machat",
locationID: "2983291", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
apiKey: "cxxxxxxxxxxxx57f81f9d82849a2fc21a"
}
},
{
module: "weather",
position: "top_right",
header: "Weather Forecast",
config: {
weatherProvider: "openweathermap",
type: "forecast",
location: "Machat",
locationID: "2983291", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
apiKey: "cxxxxxxx57f81f9d82849a2fc21a"
}
},