• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Config file not working when i add MMM-GooglePhotos

Scheduled Pinned Locked Moved Solved Troubleshooting
17 Posts 3 Posters 4.3k Views 3 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.
  • P Offline
    paddyhughes @sdetweil
    last edited by Jan 6, 2019, 6:34 PM

    @sdetweil said in Config file not working when i add MMM-GooglePhotos:

    @paddyhughes change to tests/configs folder and run

    node check_config.js

    Not sure what the tests/configs folder is. Do you want me to back up the folder and run node check_config.js

    Sorry about this and thanks for your help

    V 1 Reply Last reply Sep 11, 2020, 8:18 AM Reply Quote 0
    • S Offline
      sdetweil
      last edited by Jan 6, 2019, 6:40 PM

      Inside the mm folder is the tests folder, etc

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      P 1 Reply Last reply Jan 6, 2019, 7:10 PM Reply Quote 0
      • P Offline
        paddyhughes @sdetweil
        last edited by Jan 6, 2019, 7:10 PM

        @sdetweil Line 61 col 149 Unclosed string.
        Line 62 col 32 Unclosed string.
        Line 63 col 82 Unclosed string.
        Line 64 col 183 Unclosed string.
        Line 65 col 1 Unclosed string.
        Line 66 col 48 Unclosed string.
        Line 67 col 17 Unexpected ‘8’.
        Line 60 col 3 Expected ‘}’ to match ‘{’ from line 57 and instead saw ‘config’.
        Line 60 col 9 Expected ‘]’ to match ‘[’ from line 28 and instead saw ‘:’.
        Line 60 col 11 Expected ‘}’ to match ‘{’ from line 11 and instead saw ‘{’.
        Line 60 col 12 Missing semicolon.
        Line 61 col 14 Label ‘albumId’ on [ statement.
        Line 66 col 12 Expected ‘]’ to match ‘[’ from line 61 and instead saw ‘time’.
        Line 66 col 12 Expected an assignment or function call and instead saw an expression.
        Line 66 col 16 Missing semicolon.
        Line 67 col 1 Expected an assignment or function call and instead saw an expression.
        Line 67 col 17 Missing semicolon.
        Line 68 col 17 Label ‘showHeight’ on 600px statement.
        Line 69 col 5 Expected an assignment or function call and instead saw an expression.
        Line 69 col 20 Missing semicolon.
        Line 69 col 5 Unrecoverable syntax error. (72% scanned).

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil
          last edited by Jan 6, 2019, 7:41 PM

          Start at the first error, fix and try again

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          P 1 Reply Last reply Jan 6, 2019, 7:51 PM Reply Quote 0
          • P Offline
            paddyhughes @sdetweil
            last edited by Jan 6, 2019, 7:51 PM

            @sdetweil Thanks

            Went true it and fixed the issues [MY CODE ************* ]
            needed to be removed

            Working Config for MMM-Googlephotos

            {
              module: "MMM-GooglePhotos",
              position: "top_right",
              config: {
                albumId: "MY CODE ******************************", // your album id from result of `auth_and_test.js`
                refreshInterval: 1000*60,
                scanInterval: 1000*60*10, // too many scans might cause API quota limit also.
                //note(2018-07-29). It is some weird. API documents said temporal image url would live for 1 hour, but it might be broken shorter. So, per 10 min scanning could prevent dead url.
            
                sort: "time", //'time', 'reverse', 'random'
                showWidth: "800px", // how large the photo will be shown as. (e.g;'100%' for fullscreen)
                showHeight: "600px",
                originalWidthPx: 800, // original size of loaded image. (related with image quality)
                originalHeightPx: 600, // Bigger size gives you better quality, but can give you network burden.
                mode: "cover", // "cover" or "contain" (https://www.w3schools.com/cssref/css3_pr_background-size.asp)
              }
            },
            
            
            V 1 Reply Last reply Sep 11, 2020, 8:23 AM Reply Quote 0
            • V Offline
              videogame95 @paddyhughes
              last edited by Sep 10, 2020, 10:33 PM

              @paddyhughes

              only leave in " "

              its all been update now .

              1 Reply Last reply Reply Quote 0
              • V Offline
                videogame95 @paddyhughes
                last edited by Sep 11, 2020, 8:18 AM

                @paddyhughes

                1 Reply Last reply Reply Quote 0
                • V Offline
                  videogame95 @paddyhughes
                  last edited by Sep 11, 2020, 8:23 AM

                  @paddyhughes said in Config file not working when i add MMM-GooglePhotos:

                  @sdetweil Thanks

                  Went true it and fixed the issues [MY CODE ************* ]
                  needed to be removed

                  Working Config for MMM-Googlephotos

                  {
                    module: "MMM-GooglePhotos",
                    position: "top_right",
                    config: {
                      albumId: "MY CODE ******************************", // your album id from result of `auth_and_test.js`
                      refreshInterval: 1000*60,
                      scanInterval: 1000*60*10, // too many scans might cause API quota limit also.
                      //note(2018-07-29). It is some weird. API documents said temporal image url would live for 1 hour, but it might be broken shorter. So, per 10 min scanning could prevent dead url.
                  
                      sort: "time", //'time', 'reverse', 'random'
                      showWidth: "800px", // how large the photo will be shown as. (e.g;'100%' for fullscreen)
                      showHeight: "600px",
                      originalWidthPx: 800, // original size of loaded image. (related with image quality)
                      originalHeightPx: 600, // Bigger size gives you better quality, but can give you network burden.
                      mode: "cover", // "cover" or "contain" (https://www.w3schools.com/cssref/css3_pr_background-size.asp)
                    }
                  },
                  
                  ```I think you. Would need to changing screen size it mite make a difference if
                  1 Reply Last reply Reply Quote 0
                  • V Offline
                    videogame95 @paddyhughes
                    last edited by Sep 12, 2020, 10:18 AM

                    I am simula issues try moving all bracks in line tab across and position
                    I still get no photo just complement time date came up. I must go
                    Keep trying l am sure we will get there in the end.

                    1 Reply Last reply Reply Quote 0
                    • V Offline
                      videogame95
                      last edited by Sep 21, 2020, 10:42 PM

                      Hi got my Google photos to load instead of in
                      Stalling the magicmirror script with auto script
                      I used manual install script to install magicmirror
                      Then it all worked .
                      Hope this helps
                      I keep old sd card and started fresh install,on a new sd card.

                      S 1 Reply Last reply Sep 21, 2020, 10:51 PM Reply Quote 0
                      • 1
                      • 2
                      • 2 / 2
                      • 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