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.

    MMM-dropbox - new module to show Dropbox photos on your mirror!

    Scheduled Pinned Locked Moved Entertainment
    16 Posts 6 Posters 7.2k Views 6 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.
    • michael5rM Offline
      michael5r Module Developer
      last edited by michael5r

      Hi,

      Just wanted to share a new module I published recently - it’s called mmm-dropbox and allows you to grab images from a Dropbox folder, have them automatically scaled down and displayed in 1 or more rows on your mirror.

      As I also point out in the Read Me this is a module with a pretty specific focus - it does exactly what I describe above (and does it well), but it doesn’t support stuff like videos, setting a Dropbox image as the background of your mirror, displaying information about the image, etc. I built this for my wife & this is what she wanted - but, hey, there’s no reason you can’t use it on your mirror as well!

      Here’s the repo:
      https://github.com/michael5r/mmm-dropbox

      And here’s a screenshot of what it looks like on the mirror with the default configuration:

      image

      Enjoy!

      1 Reply Last reply Reply Quote 1
      • StoffbeuteluweS Offline
        Stoffbeuteluwe Project Sponsor
        last edited by

        Hi the module show only loading since a couple off days

        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @Stoffbeuteluwe
          last edited by

          @Stoffbeuteluwe open the developers window, ctrl-shift-i, select the tab labeled console in that new window,
          and scroll up to find any errors

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          StoffbeuteluweS 1 Reply Last reply Reply Quote 0
          • StoffbeuteluweS Offline
            Stoffbeuteluwe Project Sponsor @sdetweil
            last edited by

            @sdetweil Hi, no errors ,the strange thing is …sometime it works sometimes not

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @Stoffbeuteluwe
              last edited by

              @Stoffbeuteluwe so, its an api usage problem…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S Offline
                swampy242001
                last edited by

                Hi, got the app on my mirror all ok. The problem is it tells me the dropbox folder does not exist.

                Here is the code, please see if I have gone wrong, left folder blank due to wanting all photos.

                {
                module: ‘mmm-dropbox’,
                position: ‘top_bar’, // pick whichever position you want
                config: {
                token: ‘<kxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxMJG_o0xxgC>’,
                folder: ‘<DROPBOX_FOLDER_NAME>’,
                // … and whatever else configuration options you want to use
                }
                },

                Would really like to get this working.

                Thank you for looking

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @swampy242001
                  last edited by

                  @swampy242001 try ‘/’ as the folder

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  KamiSchamiK 1 Reply Last reply Reply Quote 0
                  • KamiSchamiK Offline
                    KamiSchami @sdetweil
                    last edited by

                    @sdetweil said in MMM-dropbox - new module to show Dropbox photos on your mirror!:

                    @swampy242001 try ‘/’ as the folder

                    Hi, auch das funktioniert nicht bei mir. Was kann es noch sein? VG

                    Real programmers never work 9 to 5. If they are around at 9 AM, it's because they were up all night.

                    S 1 Reply Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @KamiSchami
                      last edited by

                      @KamiSchami did u fill in the token field?

                      I don’t know anything about this module, but my code that reads images from Dropbox continues to work, do the API is still good

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      KamiSchamiK 1 Reply Last reply Reply Quote 0
                      • KamiSchamiK Offline
                        KamiSchami @sdetweil
                        last edited by

                        @sdetweil said in MMM-dropbox - new module to show Dropbox photos on your mirror!:

                        @KamiSchami did u fill in the token field?

                        I don’t know anything about this module, but my code that reads images from Dropbox continues to work, do the API is still good

                        Yes, i have the Token.

                        Real programmers never work 9 to 5. If they are around at 9 AM, it's because they were up all night.

                        S 1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @KamiSchami
                          last edited by

                          @KamiSchami open the developers window ctrl-shift-i then select the console tab and scroll up to see any errors, usually red text.

                          also look at the terminal window log, pm2 --lines=100

                          or the messages in the terminal window where u did npm start

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            Blakwatch
                            last edited by

                            I realize this is an old thread, but I tried installing this module and all I get is “Loading…” on the Magic Mirror. Have tried 2 API tokens and several different folders including Dropbox root. No luck. Help?

                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @Blakwatch
                              last edited by

                              @blakwatch see the post just before yours for debugging

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              B 1 Reply Last reply Reply Quote 0
                              • B Offline
                                Blakwatch @sdetweil
                                last edited by

                                @sdetweil No errors in developer mode. I have the following in pm2 log:

                                0|MagicMir | [07.02.2022 14:51.19.466] [ERROR] Whoops! There was an uncaught exception...
                                0|MagicMir | [07.02.2022 14:51.19.472] [ERROR] TypeError: Cannot read properties of undefined (reading 'length')
                                0|MagicMir |     at Class.getData (/home/pi/MagicMirror/modules/mmm-dropbox/node_helper.js:54:43)
                                0|MagicMir |     at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/mmm-dropbox/node_helper.js:363:18)
                                0|MagicMir |     at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:109:11)
                                0|MagicMir |     at Socket.emit (node:events:394:28)
                                0|MagicMir |     at Socket.emitUntyped (/home/pi/MagicMirror/node_modules/socket.io/dist/typed-events.js:69:22)
                                0|MagicMir |     at /home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:466:39
                                0|MagicMir |     at processTicksAndRejections (node:internal/process/task_queues:78:11)
                                
                                
                                S 1 Reply Last reply Reply Quote 0
                                • S Do not disturb
                                  sdetweil @Blakwatch
                                  last edited by

                                  @blakwatch module had trouble getting data don’t know why. open an issue on the module GitHub page…

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  1 Reply Last reply Reply Quote 0
                                  • michael5rM Offline
                                    michael5r Module Developer
                                    last edited by

                                    Hi guys - there’s a new version of the module out that should fix the Dropbox API issue. Please try it out and see if it works for you.

                                    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