MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Problems with MMM-RandomPhoto

    Scheduled Pinned Locked Moved Entertainment
    12 Posts 7 Posters 14.5k Views 8 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W Offline
      Woody
      last edited by Woody

      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

      strawberry 3.141S 1 Reply Last reply Reply Quote 0
      • strawberry 3.141S Offline
        strawberry 3.141 Project Sponsor Module Developer @Woody
        last edited by

        @Woody you are in the wrong directory /home/pi/package.json

        cd ~/MagicMirror/modules/MMM-RandomPhoto
        npm install
        

        Please create a github issue if you need help, so I can keep track

        W cowboysdudeC 2 Replies Last reply Reply Quote 1
        • W Offline
          Woody @strawberry 3.141
          last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • W Offline
            Woody
            last edited by

            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.141S 1 Reply Last reply Reply Quote 0
            • cowboysdudeC Offline
              cowboysdude Module Developer @strawberry 3.141
              last edited by

              @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!!! :)

              1 Reply Last reply Reply Quote 0
              • strawberry 3.141S Offline
                strawberry 3.141 Project Sponsor Module Developer @Woody
                last edited by

                @Woody is there any output (errors) in logs or terminal or electron console, taht we can work with?

                Please create a github issue if you need help, so I can keep track

                W 1 Reply Last reply Reply Quote 0
                • W Offline
                  Woody @strawberry 3.141
                  last edited by

                  @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…

                  1 Reply Last reply Reply Quote 0
                  • Z Offline
                    ZerkMen
                    last edited by

                    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??!

                    F 1 Reply Last reply Reply Quote 0
                    • F Offline
                      fragator @ZerkMen
                      last edited by

                      @ZerkMen

                      Hi, did you find a solution to use the photos of our own album?
                      I have been searching for a few days without success

                      jdfraserJ 1 Reply Last reply Reply Quote 0
                      • jdfraserJ Offline
                        jdfraser @fragator
                        last edited by

                        @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.

                        1 Reply Last reply Reply Quote 0
                        • F Offline
                          fragator
                          last edited by

                          I already have my magicmirror, but I would make one for my mother a noel.
                          The goal will be which I have the modules by default, with in addition pictures of the whole family that scrolls one after the other on the mirror.
                          Ideally, that the whole family can add photos via a url or other server.
                          The problem: I can not run the module randomphoto, and mmmflickr.
                          On random photo, j happens to make it work only with the example of the photos explain.

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            mikenewhouse
                            last edited by

                            I have the same idea, Have been using DAKBoard but like M2 way better. All I need is a module to pull random pics from Flicker or something like that. One that does not use RSS so I can get more than 20 and also keep it somewhat private.

                            1 Reply Last reply Reply Quote 0

                            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
                            • 1 / 1
                            • First post
                              Last post
                            Enjoying MagicMirror? Please consider a donation!
                            MagicMirror created by Michael Teeuw.
                            Forum managed by Sam, technical setup by Karsten.
                            This forum is using NodeBB as its core | Contributors
                            Contact | Privacy Policy