Read the statement by Michael Teeuw here.
MMM-MarineWeather
-
@minomit said in MMM-MarineWeather:
I don’t see … help me please
What is your problem? What do you want to do?
-
@grena loading …
-
@minomit said in MMM-MarineWeather:
loading …
Okay, on my side it works fine!
Can you specify your MMM-MarineWeather configuration in the
config/config.js
file with a copy/paste into a code block (“</>” button) to try to find the problem? -
config: {
latitude: 40.10 , // Latitude
longitude: 18.52, // Longitude
appid: “xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx” // StormGlass API key (docs.stormglass.io)
} -
With your MMM-MarineWeather configuration, it works fine !
{ module: "MMM-MarineWeather", position: "top_right", config: { latitude: 40.10 , // Latitude longitude: 18.52, // Longitude appid: "414492aa-c717-11e9-a3da-0242ac130004-4144953e-c717-11e9-a3da-0242ac130004" // API Key for your tests } },
Since I can’t reproduce your bug, you have to see if there are any error messages in the console! To start MagicMirror with DevTools open, run
npm start dev
from the MagicMirror folder like this in a terminalcd ~/MagicMirror/ && npm start dev
. -
@grena I0m copy/past some problem:
{ module: "MMM-MarineWeather", "pages": { "tempo reale": "top_right" }, //position: "top_right", config: { latitude: 40.10 , // Latitude longitude: 18.52, // Longitude appid: "414492aa-c717-11e9-a3da-0242ac130004-4144953e-c717-11e9-a3da-0242ac130004" // API Key for your tests } },
edited, PLEASE use the markup around code and config blocks (three backtics on a separate line before and after)
-
@minomit, do you use MMM-Page-Selector ?
I wanted to do a final test to reproduce your bug by installing MMM-Page-Selector, it works ! So, I added some error messages in the module to get more information but you will have to look at the console when starting MagicMirror with DevTools.
-
@grena this is a super cool module! I noticed that there are quite a few other weather parameters that the StormGlass API offers (i.e. gust, cloudCover, seaLevel, visibility, etc.) that aren’t yet built into your module. Do you have any tips/guide for how I would go about adding them in?
-
@grena I also have the same behavior. Here is my config :
{ module: "MMM-MarineWeather", header: "Marine Weather", position: "top_right", config: { latitude: 46.829853, // Latitude longitude: -71.254028, // Longitude appid: "414492aa-c717-11e9-a3da-0242ac130004-4144953e-c717-11e9-a3da-0242ac130004", dataSource: "sg", params: "airTemperature,windSpeed,windDirection" } },
And result is :
-
I’m having the same issue where it just displays “Loading”…….
{
module: “MMM-MarineWeather”,
position: “top_right”,
config: {
latitude: 32.7157,
longitude: 117.16,
appid: “XXXXXXXX-9a15-11ea-b3e2-0242ac130002-9be8a7f6-9a15-11ea-b3e2-0242ac130002” //StormGlass API Key (docs.stormglass.io)
}
},