The easiest way to show pictures on your MagicMirror².
Supported file formats: JPG, PNG, SVG and GIF (even animated GIFs).
Pi 1 users should use static pictures or small sized GIFs.
Your picture files go in the "pix" folder inside the MMM-EasyPix module folder.
Clone this module into your MagicMirror² modules folder:
cd ~/MagicMirror/modules
git clone https://github.com/KristjanESPERANTO/MMM-EasyPix
{
module: "MMM-EasyPix",
position: "top_center",
config: {
picName: "moon.gif", // Enter the picture file name.
maxWidth: "75%", // Size picture precisely. Retains aspect ratio.
sounds: ["1.mp3", "me2.mp3"], // mp3 audio file names in quotes seperated by commas for Hello-Lucy
updateInterval: 30 * 60 * 1000, // Updates display (Milliseconds) - Default: 30 * 60 * 1000 = 30 minutes
animationSpeed: 3000, // Speed of the update animation. (Milliseconds)
}
},
Go to the module’s directory and pull the latest version from GitHub:
cd ~/MagicMirror/modules/MMM-EasyPix
git pull
- Simply make multiple entries in your config and name a different picture.
This module works also with Hello-Lucy voice enhancement (required for sound).
name | source | creator | licence |
---|---|---|---|
earth.gif | pixabay | placidplace | Pixabay Content License |
forest.jpg | unsplash | bekmanis | Unsplash Licence |
lunar-eclipse.jpg | unsplash | jakehills | Unsplash Licence |
moon.gif | pixabay | placidplace | Pixabay Content License |
plant.jpg | unsplash | alexkondratiev | Unsplash Licence |
solar-eclipse.jpg | unsplash | jordonsconner | Unsplash Licence |
standing-on-hill.jpg | unsplash | joshuaearle | Unsplash Licence |
tropical-beach.gif | pixabay | MXJfiles | Pixabay Content License |
world-peace.jpg | unsplash | good_citizen | Unsplash Licence |
Since the original author of the module, mykle1, is no longer active, I forked the module. I fixed a few issues and will try to keep the module working in the future.