Skip to content

KristjanESPERANTO/MMM-EasyPix

 
 

Repository files navigation

MMM-EasyPix

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.

Where your picture files go

Your picture files go in the "pix" folder inside the MMM-EasyPix module folder.

Installation

Clone this module into your MagicMirror² modules folder:

cd ~/MagicMirror/modules
git clone https://github.com/KristjanESPERANTO/MMM-EasyPix

Configuration

  {
    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)
      }
    },

Update

Go to the module’s directory and pull the latest version from GitHub:

cd ~/MagicMirror/modules/MMM-EasyPix
git pull

How to use it multiple times

  • Simply make multiple entries in your config and name a different picture.

Works with Hello-Lucy

This module works also with Hello-Lucy voice enhancement (required for sound).

Example images

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

Project status

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.

About

The easiest way to show pictures on your mirror.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 86.4%
  • CSS 13.6%