Read the statement by Michael Teeuw here.
Problems with MMM-RandomPhoto
-
I’m very sorry that I want to use the MM as a Magic Picture Frame but that’s more interesting for me. Sorry to the innovator of this really enterprising project. My problem indeed is that the mentioned importent module MMM-RandomPhoto won’t run as expected.
When I use an explicit link to the Image includig the image name it works but not as expected with a randomly selected Image.
The reason may be that I couldn’t install ‘jquery’ with npm. The Error I suffer is:
npm WARN enoent ENOENT: no such file or directory, open ‘/home/pi/package.json’
npm WARN !invalid#1 No description
npm WARN !invalid#1 No repository field.
npm WARN !invalid#1 No README data
npm WARN !invalid#1 No license field.
Has someone got it running or also seen this problem? Why can’t I install jquery on the last Jessie light distribution? Any help will be appreciated.
Thank’s in advance… Jo -
@Woody you are in the wrong directory
/home/pi/package.json
cd ~/MagicMirror/modules/MMM-RandomPhoto npm install
-
@strawberry-3.141 thank’s for your fast replay strawberry. I tried this but also got an error.
npm WARN magic-mirror-module-random-photo@1.0.0 No repository field.
So I’m still stumped. -
O.K. in the meantime I got it managed to install jquery by adjusting the related package.json
Unfortunately MM still doesn’t show up a random picture as expected.
Has someone maybe got it working and can give me a hint? -
@strawberry-3.141 said in Problems with MMM-RandomPhoto:
@Woody you are in the wrong directory
/home/pi/package.json
cd ~/MagicMirror/modules/MMM-RandomPhoto npm install
Yeah not running npm install gets me into trouble at times!!! :)
-
@Woody is there any output (errors) in logs or terminal or electron console, taht we can work with?
-
@strawberry-3.141Hi strawberry, it seems I got it. The problem was, that I missunderstood the module describtion. I tought I can display images from ‘any’ URL and unsplash.it is just an example. So I tried all the time to load the images from my website without succes. At least I used the example and I got it confirmed - whenever you make it right, it will work.
Since I want to load my own images this module is useless for me.
so long… -
Hi @all
MMM-RandomPhoto is greatfull.
I have been looking for 2-way mirror and found nothing that was satisfaction. That’s why I MagicMirror rebuilt with MMM-RandomPhoto as a photo frame. With great result!But I will show my own Photos. Git it a way to show own pictures instead unsplash?
So if you had a photo album with your own pictures??! -
Hi, did you find a solution to use the photos of our own album?
I have been searching for a few days without success -
@fragator
I am also hoping to use the MM as a magic picture frame. I have started teaching myself node with thelearnyounode tutorials [https://github.com/workshopper/learnyounode]. I figured it’d be handy to know how to modify the picture frame to my needs. It’s been a long time since I’ve done any coding, but I think that this project is worth the time.As a side note, I’m going to use an old laptop screen with a controller board from Ebay to show some photos from my NAS. I’m going add voice control and hope to add the functionality of ‘dimming’ the photos so the weather / calendar / etc. modules show up. I"m also thinking of writing an mpd module to control my multiple raspberry pi’s running forked-daapd.