Read the statement by Michael Teeuw here.
MMM-SimpleTides stuck on loading
-
Got the api, got the long and lat and inputed all.
Stuck on the loading message, First the tide rushes in.
Can’t pinpoint which isn’t talking with the other. I did an npm install as well after all done. Any suggestions? -
@Chritix loading means the hard coded startup message is there, but no new data has come in
open the developers console on the mirror,. ctrl-shift-i, select the console tab, and scroll up to see any errors (usually in red text)
-
I’ve also tried to install MMM-Worldtides.
It throws back an error saying: please set the correct worldtides.info appid in the config.
I’ve copy and pasted the apps for worldtides.info, I have 100 credits.
the format is ----*******
I’ve tried removing the dashes but no change. I’ve put the apps in both config and worldtides.js, no change.
Thank you for any help given. -
@Chritix should never edit the module.js
-
This post is deleted! -
@sdetweil Failed to load resource: the server responded with a stats of 400( )
-
@Chritix sounds like the url or the key is wrong…
-
@sdetweil Yeah thats what I was leaning on. Is there a dfference between APPID and APIKEY? If the module requests one and the provider gives another, is there a translation?
I copied an pasted the key given, plugged it in. The format was different then the weather api used (one long string). This one has dashes within it, would that bug out the coding language used?
-
@Chritix no idea. Every API process is different.
-
Once you’ve signed in to your WorldTides account you have access to your settings (https://www.worldtides.info/settings) which will show your API Key. The API Key is in this format. At least, mine is.
12345678-1234-1234-1234-1234567890XX.
MMM-SimpleTides is sort of deprecated, in that it has been incorporated into MMM-SORT. However, it should still be working. Now, MMM-SORT does everything SimpleTides does. It has better options for the user. I just fired it up and it is working as expected.
EDIT
I just ran MMM-SimpleTides. It also fires right up
{ disabled: false, module: "MMM-SimpleTides", position: "bottom_left", config: { apiKey: "12345678-1234-1234-1234-1234567890XX", // free from https://www.worldtides.info/developer lat: "40.111111", // your latitude lon: "-74.111111", // your longitude height: "ft", // ft = feet, m = meters useHeader: false, // False if you don't want a header header: "", // Change in config file. useHeader must be true maxWidth: "300px", animationSpeed: 3000, // fade speed rotateInterval: 15 * 1000, // seconds between tides displayed } },