Read the statement by Michael Teeuw here.
MMM-EasyPix problem... missing a step?
-
So I’ve been working on getting MMM-EasyPix working for the past couple of days in my spare time.
As best I can tell, the module itself is working, MagicMirror loads and displays everything the default modules, but for EasyPix, it just shows a “missing image” icon.Now, I don’t speak Java, but I don’t believe I need to for the configuration.
I do see however that in both MMM-EasyPix.js and the config.js that it is asking for a specific picture. I have set that to the name of a picture in the pix folder in both locations, and each one individually during my, at this point, extensive testing and tinkering.My primary question is, is there a step I’m missing?
I basically copied verbatim the example module wrapper from the EasyPix Readme, into the config.js file.
Even when specifying a picture file I get an image icon, but no actual image.My secondary question is (assuming I can get it to pull any picture at all), do I need to specify the pictures individually in the config.js, and MMM-EasyPix.js or both? If so, what’s the format for adding multiple pictures?
I should also mention that this problem existed even when I was running the module “fresh out of the box” as it was delivered after cloning. The module loads, it just shows a placeholder image icon, but no image.
It clearly loads the module, but… nothing.I hate to ask for help, as I’ve enjoyed setting this up on my own, but I feel I don’t have much of a choice left now as I am stumped.
-
From README.md
Remember
All picture files go in the "pix" folder inside the MMM-EasyPix module folder.Did work for you?
-
Your config.js entry should look like this.
{ module: "MMM-EasyPix", position: "top_center", config: { picName: "4.jpg", // Enter the picture file name. maxWidth: "75%", // Size picture precisely. Retains aspect ratio. sounds: ["1.mp3", "me2.mp3"] // mp3 sound file names for Hello-Lucy } },The actual picture file goes in the
pixfolder within the MMM-EasyPix folder.You have to name the files exactly. In the example above you see
picName: "4.jpg",. 4.JPG would not work. -
Thank you for your responses.
Yes, I am aware that the pictures go in the pix folder, I thought I specified that in my original post. I guess I did not.
All of the pictures, that I wish to have cycling in this module, are in the “pix” folder.
I have even double checked since your posting @Mykle1 and yes, my module entry is correct. It is specified to a file “thanksylva.jpg” in the pix folder.
Still nothing more than a “missing image” icon displays in the module. -
@texitytex said in MMM-EasyPix problem... missing a step?:
All of the pictures, that I wish to have cycling in this module, are in the “pix” folder.
Cycling is being worked on at the moment. That should be working soon. This module was really created for use with Hello Lucy where there is no need to cycle the pictures. However, I just downloaded the module (again) and used the config entry above and it works without issue.
If you have not changed any of the module files then the only thing that would cause this issue for you is the config.js entry (or another module).
EDIT: @sdetweil was kind enough to download and run MMM-EasyPix for me and he had no issue. It worked as expected for him.
Please post your config.js entry for MMM-EasyPix
-
@mykle1 unless the files or folder have the wrong permissions…
-
unless the files or folder have the wrong permissions…
In which case, it wouldn’t be the module that is at fault. Just keeping it simple!
-
i copied the config info from the mm-easypix readme, and pasted into the config.js modules section, and restarted the mirror… no other changes
-
Interesting. I changed nothing other than the name of the picture I wanted to test with. I’ll dig back into it, thank you for your responses.
My apologies for delayed response, I haven’t had much time for personal projects lately. -
I had a similar issue. I added a comma to the end of the line “sounds:”
{ module: "MMM-EasyPix", position: "middle_center", config: { picName: "DSC01423.JPG", // Enter the picture file name. maxWidth: "75%", // Size picture precisely. Retains aspect ratio. sounds: ["1.mp3", "me2.mp3"], // mp3 sound file names in quotes seperated by commas for Hello-Lucy updateInterval: 30 * 60 * 1000, // updates display animationSpeed: 3000, } },Hope this helps
Would love to know how to have a slide show without having to create a list in the config.js file.
-
@oneoftheinfinitemonkeys said in MMM-EasyPix problem... missing a step?:
I added a comma to the end of the line “sounds:”
Good catch! Thanks for bringing that to my attention, mate. :thumbsup: I’ve updated the readme example.
Would love to know how to have a slide show without having to create a list in the config.js file.
Again, this module was really only meant to be an accessory to Hello-Lucy so there was no need for the slideshow. However, this module
https://github.com/AdamMoses-GitHub/MMM-ImageSlideshow
does an excellent job of run a slideshow of your pictures.
-
Hi, I have a problem with the easy pix module
can anybody help me get the (mp4 video file) Start automatically.
The video is working but not starting please help …Thank you -
There are no mp4 files in use by MMM-EasyPix. Are you talking about the animated face (face.gif)?
-
@Stoffbeuteluwe autoplay is a new restriction in the browsers… you have to click on something… dumb for a mirror with no mouse!!
fix
edit the smart-mirror/main.js
find the linelet mainWindowand change it so it looks like this
let mainWindow; function createWindow() { app.commandLine.appendSwitch('autoplay-policy', 'no-user-gesture-required'); //< -------- addedthen save and restart MM
-
This post is deleted! -
This post is deleted!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login