Read the statement by Michael Teeuw here.
3rd Party Modules with APIs not loading.
-
Mykle1 Project Sponsor Module Developerlast edited by Mykle1 Oct 17, 2019, 11:40 PM Oct 17, 2019, 11:38 PM
Try disabling the other modules to see if it loads. If not, I would delete the MMM- Launch module folder and clone it again, trying it alone again. If that does not work then something else is amiss. I assure you, the module does work and it should work for you.
-
I’ll give that a try.
I’m not concerned with that specific module not working. 3rd Party Modules I’ve installed that do not utilize APIs work perfectly well and the default modules work perfectly well as well.
It is a trend however, that of the six total 3rd Party Modules that I have tried and tested that do connect to APIs, none of them appear to be receiving data, which is why I am still slightly suspicious about something being wrong in the general Raspberry Pi configuration. But that wouldn’t explain why the default modules work perfectly well despite pulling from the openweathermap API.
-
Mykle1 Project Sponsor Module Developerlast edited by Mykle1 Oct 17, 2019, 11:46 PM Oct 17, 2019, 11:46 PM
Then my suggestion should confirm or eliminate that suspicion. Good luck and report back here.
-
Removing the modules file, starting from a fresh config.js, cloning back the modules file, and adding the MMM-Launch config didn’t yield any data after the last 5 minutes.
I’m thinking I’ll just cut ties and start again from scratch with a fresh install of raspbian. Maybe that’ll reset anything that might have gone haywire in the setup.
-
-
Please start MM using
npm start dev
. You should see an error for MMM-Launch.Question: You are cloning the module into the MagicMirror/modules folder? Not into the
default
folder? -
Mykle1 Project Sponsor Module Developerlast edited by Mykle1 Oct 18, 2019, 12:40 AM Oct 18, 2019, 12:39 AM
The error, in the dev console on loading, should look like this
Uncaught (in promise) TypeError: Cannot read property 'name' of undefined
. As the api is slow to respond. Then, upon refresh, the module works normally, or should. -
-
-
I believe that is just the clock module broadcasting a notification and should have no affect on MMM-Launch as MMM-Launch has no action to perform when receiving.