MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. paddyhughes
    P
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 26
    • Best 1
    • Controversial 0
    • Groups 0

    paddyhughes

    @paddyhughes

    1
    Reputation
    851
    Profile views
    26
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    paddyhughes Unfollow Follow

    Best posts made by paddyhughes

    • RE: Sync private iCloud calendar with MagicMirror

      Last issue resolved

      So my issue not really an issue just me expecting something different than what i got when i ran vdirsyncer discovery

      So the example on page 1 looks like this

      Mirror:
      iCloud:
        - "25CB285C-E163-4E0E-B420-C3FB469B7C00" ("Calendar 1")
        - "9221FEE8-E8B4-4D07-9402-8638529919EC" ("Calendar 2")
        - "953A5477-E405-4ED6-A5C3-473444EACC95" ("Calendar 3")
      warning: No collection "9221FEE8-E8B4-4D07-9402-8638529919EC" found for storage Mirror.
      Should vdirsyncer attempt to create it? [y/N]:
      
      

      With all the Calendars having a string for UUID E.G. 9221FEE8-E8B4-4D07-9402-8638529919EC

      And this is what i got

      pi@raspberrypi:~/MagicMirror $ vdirsyncer discover
      Discovering collections for pair iCloud_to_MagicMirror
      Mirror:
      iCloud:
        - "tasks" ("Reminders")
        - "9221FEE8-E8B4-4D07-9402-8638529919EC" ("Calendar")
        - "home" ("Home Calendar")
        - "work" ("Work")
      warning: No collection "HERE-GOES-THE-UUID-OF-THE-CALENDAR-YOU-WANT-TO-SYNC" found for storage Mirror.
      Should vdirsyncer attempt to create it? [y/N]: 
      
      

      Now what i didn’t know was that i did get a return of UUID for each Calendar
      (Reminders) UUID is "tasks"
      (Calendar) UUID is "9221FEE8-E8B4-4D07-9402-8638529919EC"
      (Home Calendar) UUID is "home"

      Hope this helps other people in the future.
      took me a bit of digging around.

      posted in Tutorials
      P
      paddyhughes

    Latest posts made by paddyhughes

    • Wrap text Default Calendar config options..

      Hi my Calendar tital text is to long how do i wrap the text using the configuration options im just not sure how to add then Thanks

      {
      			module: "calendar",
      			header: "US Holidays",
      			position: "top_left",
      			config: {
      				calendars: [
      					{
      						symbol: "calendar-check",
      						url: "https://calendar.google.com/calendar/ical/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxbasic.ics"
      					}
      				]
      			}
      		},
      
      posted in Troubleshooting
      P
      paddyhughes
    • RE: 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)
        }
      },
      
      
      posted in Troubleshooting
      P
      paddyhughes
    • RE: Error on npm install

      @rmeskill try do it in the MagicMirror folder
      sudo npm i -g npm

      posted in Troubleshooting
      P
      paddyhughes
    • RE: Config file not working when i add MMM-GooglePhotos

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

      posted in Troubleshooting
      P
      paddyhughes
    • RE: Config file not working when i add MMM-GooglePhotos

      @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

      posted in Troubleshooting
      P
      paddyhughes
    • RE: Config file not working when i add MMM-GooglePhotos

      @sdetweil sorry yep i did that once i notice the issue were i placed still the same

      posted in Troubleshooting
      P
      paddyhughes
    • RE: Config file not working when i add MMM-GooglePhotos

      Hi sdetweil
      still the same issue

      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       *
       * For more information how you can configurate this file
       * See https://github.com/MichMich/MagicMirror#configuration
       *
       */
      
      var config = {
      	address: "localhost", // Address to listen on, can be:
      	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
      	                      // - another specific IPv4/6 to listen on a specific interface
      	                      // - "", "0.0.0.0", "::" to listen on any interface
      	                      // Default, when address config is left out, is "localhost"
      	port: 8080,
      	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
      	                                                       // or add a specific IPv4 of 192.168.1.5 :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
      	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
      
      	language: "en",
      	timeFormat: 24,
      	units: "metric",
      
      	modules: [
      		{
      			module: "alert",
      		},
      		{
      			module: "updatenotification",
      			position: "top_bar"
      		},
      		{
      			module: "clock",
      			position: "top_left"
      		},
      		{
      			module: "calendar",
      			header: "US Holidays",
      			position: "top_left",
      			config: {
      				calendars: [
      					{
      						symbol: "calendar-check",
      						url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
      					}
      				]
      			}
      		},
      		{
      			module: "compliments",
      			position: "lower_third"
      		},
      {
        module: "MMM-GooglePhotos",
        position: "top_right",
        config: {
          albumId:, ["MY CODE  ************************************"] // your album id(s) 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: "hybrid", // "cover" or "contain" (https://www.w3schools.com/cssref/css3_pr_background-size.asp)
          //ADDED. "hybrid" : if you set as "hybrid" it will change "cover" and "contain" automatically by aspect ratio.
        }
      },
      		{
      			module: "newsfeed",
      			position: "bottom_bar",
      			config: {
      				feeds: [
      					{
      						title: "New York Times",
      						url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
      					}
      				],
      				showSourceTitle: true,
      				showPublishDate: true
      			}
      		},
      	]
      
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      
      
      posted in Troubleshooting
      P
      paddyhughes
    • RE: Error on npm install

      @rmeskill

      I just installed a module and it asked me to update NPM think i did it in the root directory not MagicMirror one can be sure.

      This is what worked for me
      sudo npm i -g npm

      posted in Troubleshooting
      P
      paddyhughes
    • RE: NPM install is giving Error.

      @postremalone

      I just installed a module and it asked me to update NPM think i did it in the root directory not MagicMirror one can be sure.

      This is what worked for me
      sudo npm i -g npm

      posted in Troubleshooting
      P
      paddyhughes
    • Config file not working when i add MMM-GooglePhotos

      Hi having issues when i add MMM-GooglePhotos to my config file. I just keep getting the config screen. once i remove the code it works again thanks for any help given.

      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       *
       * For more information how you can configurate this file
       * See https://github.com/MichMich/MagicMirror#configuration
       *
       */
      
      var config = {
      	address: "localhost", // Address to listen on, can be:
      	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
      	                      // - another specific IPv4/6 to listen on a specific interface
      	                      // - "", "0.0.0.0", "::" to listen on any interface
      	                      // Default, when address config is left out, is "localhost"
      	port: 8080,
      	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
      	                                                       // or add a specific IPv4 of 192.168.1.5 :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
      	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
      
      	language: "en",
      	timeFormat: 24,
      	units: "metric",
      
      	modules: [
      		{
      			module: "alert",
      		},
      		{
      			module: "updatenotification",
      			position: "top_bar"
      		},
      		{
      			module: "clock",
      			position: "top_left"
      		},
      		{
      			module: "calendar",
      			header: "US Holidays",
      			position: "top_left",
      			config: {
      				calendars: [
      					{
      						symbol: "calendar-check",
      						url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
      					}
      				]
      			}
      		},
      		{
      			module: "compliments",
      			position: "lower_third"
      		},
      {
        module: "MMM-GooglePhotos",
        position: "top_right",
        config: {
          albumId: ["MY CODE ***********************************************"] // your album id(s) 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: "hybrid", // "cover" or "contain" (https://www.w3schools.com/cssref/css3_pr_background-size.asp)
          //ADDED. "hybrid" : if you set as "hybrid" it will change "cover" and "contain" automatically by aspect ratio.
        }
      },
      		{
      			module: "newsfeed",
      			position: "bottom_bar",
      			config: {
      				feeds: [
      					{
      						title: "New York Times",
      						url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
      					}
      				],
      				showSourceTitle: true,
      				showPublishDate: true
      			}
      		},
      	]
      
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      
      
      posted in Troubleshooting
      P
      paddyhughes