MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Problems with MMM-RandomPhoto

    Entertainment
    7
    12
    9119
    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
      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.141 1 Reply Last reply Reply Quote 0
      • strawberry 3.141
        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 cowboysdude 2 Replies Last reply Reply Quote 1
        • W
          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
            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.141 1 Reply Last reply Reply Quote 0
            • cowboysdude
              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.141
                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
                  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
                    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
                      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

                      jdfraser 1 Reply Last reply Reply Quote 0
                      • jdfraser
                        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
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy