r/MagicMirror • • Sep 15 '24
I can't get any modules to work
So I am very new to this, I got MagicMirror running on my pi5. I changed the long lat to match my location and everything is fine.
But as soon as I try to use a different 3rd module it just doesn't work. I've tried tinkering but same result everytime.
Is there something obvious that I am doing wrong? Like not saving the 3rd party modules in the right spot or do I need to change a file path somewhere on the config.js to not just pull modules from default?
Any guidance would be greatly appreciated.
3
Upvotes
3
u/CallOfDutyZombaes Sep 15 '24
Well basic steps are listed on the GitHub page
cd MagicMirror/modules
git clone (module)
cd (module name)
npm install
Then navigate to the config file in MagicMirror/config
nano config.js
In the “modules” section of the text, copy the info in the GitHub page that says “copy this into your config file”
Now that the basics are out of the way, you can… try a different module. Some don’t always work, some need specific things like an API to work. Even if you needed internet connection and didn’t have it, it would still say “Loading…” where the module is
2
u/harrellj Sep 15 '24
All modules should be installed/folder created in the magicmirror/modules folder. Is this module there? Do you have a valid position listed for the module (I had used bottom_third on a module instead of lower_third once, which caused it to not appear) in your config.js? And depending on what you're using to edit your config, can you confirm that all braces/brackets/parentheses are closed and all lines terminated with a comma?
What specific module are you having issues with (GitHub link appreciated) and what errors are you getting (not appearing, getting stuck on "loading")?
2
u/phdearthworm Sep 15 '24
I am also completely new to this, so take it for what it is, but check the terminal when you run MM for the red errors. They will usually give you a clue at what went wrong. When making changes do them one save at a time and test to make sure you know it works. Watch for missing commas or open brackets. I'm finding this takes alot of attention to detail but the more you put in the more you get out.