Re : MMM-MarineWeather
Bonjour,
Je rencontre actuellement un problème sur ce module.
Je me suis bien enregistré avec la version 3.0 pour obtenir l’API Key, mais malgré cela, j’ai le message chargement ou Please set the correct Storm Glass appid in the config for module : MMM-MarineWeather.
Voici mon code :
{
module: "MMM-MarineWeather",
position: "top_right",
header: "Conditions Marines",
config: {
// --- OpenWeather 3.0 ---
provider: "openweathermap", // "openweathermap" ou "openweather" selon ta version
apiKey: "XXxXXXXXxxxXxXXXcXXXXXXXxXXXxxx",
// Coordonnées de ta zone
latitude: XX.390394,
longitude: -X.XX390394,
// Unitée & langue
units: "metric", // metric pour °C, m/s, mètres
lang: "fr",
// --- Rafraîchissement ---
updateInterval: 10 * 60 * 1000, // 10 minutes
retryDelay: 2 * 60 * 1000,
// --- Affichage principal ---
showHeader: false,
showWeather: true,
showTemperature: true,
showFeelsLike: true,
showHumidity: true,
showPressure: true,
showDewPoint: false,
// --- VENT ---
showWind: true,
windUnit: "km/h", // km/h, m/s, knots
windGust: true,
// --- MER / HOULE (si données disponibles par OpenWeather Marine API) ---
showWaves: true,
showSwell: true,
showSeaState: true,
// --- Prévisions ---
showForecast: true,
forecastLimit: 5, // nombre de jours affichés
forecastWind: true,
forecastSea: true,
// --- Storm Glass ---
showStormGlass: true,
stormglassStyle: "crystal", // default, simple, crystal
stormglassSize: 150, // taille en pixels
stormglassAlign: "center",
// --- Mise en forme visuelle ---
iconTheme: "marine", // marine, default, dark, light
showSunrise: true,
showSunset: true,
// --- Options avancées ---
animationSpeed: 1000,
timeFormat: 24,
decimalSymbol: ",",
}
},
Code généré via Chat GPT.
J’avoue que je tourne en rond.
MERCI pour votre retour.