Same issue today. Tried with force but still no MM.
node -v = v22.14.0
Same issue today. Tried with force but still no MM.
node -v = v22.14.0
Is this module no longer supported?
MMM-ClosestFlight stuck at “Checking the airspace…”
From config.js
Also tried with the default Lat/Long
{
module: "MMM-ClosestFlight",
position: "bottom_right",
config: {
myLatitude: 11.1234, // Latitude of MagicMirror [11.1234, WAS 35.2295]
myLongitude: 11.1234 , // Longitude of MagicMirror [11.1234 WAS - -80.8431]
distanceUnits: "NM", // 'NM' for nautical miles, 'SM' for statute miles
altitudeUnits: "M", // 'FT' for feet or 'M' for metres
boxLatitudeMin: 34.8020, // minimum latitude of the bounding box
boxLongitudeMin: -82.4282, // minimum longitude of the bounding box
boxLatitudeMax: 36.2900, // maximum latitude of the bounding box
boxLongitudeMax: 78.1815, // maximum longtitude of the bounding box
maxWidth: "250px",
animationSpeed: 3000, // Fade in/out speed on update
initialLoadDelay: 4250,
retryDelay: 2500,
updateInterval: 20000 // How often to update
}
},
{
module: 'weather',
header: 'Current zzzzzzzzzzzzz weather: ',
position: 'top_right',
config: {
weatherProvider: "openweathermap",
lat: 111111111111111,
lon: 1111111111111111111111,
apiKey: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
type: 'current',
units: 'config.units'
//location: 'zzzzzzzzzzzzzzz',
}
},
I must have had that API key for aeons, don’t ever remember it having a c/card behind it.
Maybe it’s out-of-date.
@sdetweil said in MMM-SystemMonitor:
Single or double quotes don’t matter as long as they are matched
JS lesson #1 :-)
openweathermap.js is unchanged
WeatherProvider.register("openweathermap", {
providerName: "OpenWeatherMap",
// Set the default config properties that is specific to this provider
defaults: {
apiVersion: "3.0",
apiBase: "https://api.openweathermap.org/data/",
// weatherEndpoint is "/onecall" since API 3.0
// "/onecall", "/forecast" or "/weather" only for pro customers
weatherEndpoint: "/onecall",
locationID: false,
location: false,
// the /onecall endpoint needs lat / lon values, it doesn't support the locationId
lat: 0,
lon: 0,
apiKey: ""
},
config.js shows
{
module: 'weather',
header: 'Current zzzzzzzzzzzzzzzz weather: ',
position: 'top_right',
config: {
//weatherProvider: "openweathermap",
providerName: "OpenWeatherMap",
type: "current",
lat: nnnnnnnnnnn,
lon: -nnnnnnnnnnnnn,
apiKey: "aaaaaaaaaaaaaaaaaaaaaaaaaaa"
//type: 'current',
//location: 'xxxxxxxxxxxxxx',
//locationID: 'zzzzzzzz', //ID from https://www.openweathermap.org
//apiKey: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa'
}
},
That’s fixed it.
Module in config.js
units: 'config.units'
config.js before modules
was
units: 'metric',
Changed it to
units: "metric",
Quite how Free Memory can be 128% I’ve no idea, that’s for another day.
For now, it’s working. Thank you!
Do the L:L and API key live in the openweathermap.js file, or the config.js file? Or both?