Read the statement by Michael Teeuw here.
Magic Mirror Default Weather Module
-
@bicolorbore586 do not edit the base source files, all configuration is done in config.js
remove the API base and endpoint, don’t need to set them, the code does that
set the provider and type
(use the lastest release, 2.21, as we fixed a couple configs to always use the type)also set the initialLoadDelay:1
-
@sdetweil Hi Sam, I’m probably not following this correctly, but I appear to be in a worse position than before in the fact that none of my modules now load.
-
@bicolorbore586 eh? sounds like a typo in the config
in the MagicMirror folder do
npm run config:check
-
@bicolorbore586 mine looks like
{ module:"weather", position: "top_left", config:{ type:"current", weatherProvider:"weatherbit", lat:30.956, lon:-97.435, initialLoadDelay:1, units:'imperial', apiKey:"your key" } },
both type:“current” and type:“forecast” work
-
@sdetweil all sorted now, I took the config out and put it back in fresh as I couldn’t work out where the typo/formatting error was. All tickety-boo now. Thanks for your help!