@mickyas said in New and confused.:
Just to clarify…every time i’d like to add a module i have to first open a terminal then enter … sudo nano /boot/config.txt … then (copy and paste?) enter the text/code (copy and paste?) for the module…where?..anywhere? Then ctrl x and save then reboot???
Mick, here’s an easier way to add a module and you only have to use the terminal once. Lets use my MMM-JEOPARDY module as test. Go to this page of modules https://github.com/MichMich/MagicMirror/wiki/MagicMirror²-Modules#3rd-party-modules and scroll down until you see MMM-JEOPARDY by Mykle1
. Click on it.
Now you’re at my repo for that module. Click on the green Clone or download
button on the right. That shows you the url to get the module. Copy that url.
Now open a terminal and type cd MagicMirror/modules
. Now you’re in the MagicMirror/modules directory. Now type git clone
and one space and paste the url that you copied from my repo for the module. It should look like this:
git clone https://github.com/mykle1/MMM-JEOPARDY.git
and press your Enter
key. This will download the module into the modules folder where it belongs.
You’re now done with the terminal! (for now)
From your Pi desktop, click the File Manager folder. Double click the MagicMirror folder. Double click the config folder. Double click the config.js file. Your config.js file is now open in a text editor. You have to add an entry for the module you just downloaded so that MM knows to load it. Lets put MMM-JEOPARDY under your calendar module entry so that it appears under the calendar on your mirror. Modules that occupy the same postition
load in the order they appear in the config.js file. Scroll down to the calendar entry in the config.js file. The entry “ends” at the last },
before the next module entry that begins with a single {
.
Copy and paste this “between” the ending of the calendar module entry and the beginning of the next module. (It’s probably compliments)
{
disabled: false,
module: "MMM-JEOPARDY",
position: "top_left",
config: {
rotateInterval: 25 * 1000, // New Clue Appears
useHeader: false, // true if you want a header
header: "This is Jeopardy!",
maxWidth: "250px",
animationSpeed: 3000, // Fades to next clue
}
},
SAVE!
Go back to your terminal, or open a new one, and type npm start
in the MagicMirror directory.
From now on, you’ll find the entry you need to make in the README file of each module that you download. You now have a guide on how to do that.