MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. paddyhughes
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    P
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 26
    • Groups 0

    Posts

    Recent Best Controversial
    • 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
    • RE: Sync private iCloud calendar with MagicMirror

      Hi what’s the issue
      @Devert

      posted in Tutorials
      P
      paddyhughes
    • RE: Sync private iCloud calendar with MagicMirror

      Ya kept thinking I did something wrong set up 3 different Rpi thinking I did something some were in the code to mess up. Finally got it working ;)

      @maestro82 said in Sync private iCloud calendar with MagicMirror:

      paddyhughes,

      Had the exact same issue.

      Had one calendar called “worK”, all the rest had the long UUID names.

      I keep looking for the “work” calendar, of course it’s UUID was “work”.

      Put that in and now it works.

      Some lessons are learned the hard way.

      Maestro-82

      posted in Tutorials
      P
      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
    • RE: Known Irish Suppliers

      @dungarvanman thanks for the info

      posted in General Discussion
      P
      paddyhughes
    • RE: 3rd party Module Image Slideshow options Configuration Help

      @Mykle1 Thanks Mykle for the help

      posted in Troubleshooting
      P
      paddyhughes
    • RE: Sync private iCloud calendar with MagicMirror

      Hi

      So i am getting stuck with this and don’t know how to fix the issue.
      The UUID is beside my Calendar and in my iCloud this is my default one.
      but the one i want to use is home (Home Calendar) but No UUID shows up
      same goes for the work one.

      The only one i am interested in is the Home Calendar

      pi@raspberrypi:~/MagicMirror $ vdirsyncer discover
      Discovering collections for pair iCloud_to_MagicMirror
      Mirror:
      iCloud:
        - "tasks" ("Reminders")
        - "AE********-E**4-4D**-A**4-*****************" ("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]: 
      

      Thanks for any help given :)

      posted in Tutorials
      P
      paddyhughes
    • RE: Known Irish Suppliers

      @dungarvanman said in Known Irish Suppliers:

      Hi Konrad.
      I purchased mine from Dreoilín glass here in Dungarvan. I believe that they got it from Tiperrary Glass. It is 6mm thick and as you can imagine, it has a semi-reflective coating on one side. I put the side with the coating facing out, but placed a 2mm clear glass in front of it for protection, as the film can be scratched easily. Let me know how you get on.

      What kind of money are we looking at for the glass .

      posted in General Discussion
      P
      paddyhughes
    • 3rd party Module Image Slideshow options Configuration Help

      Hi All,

      I am loving the MagicMirror. I just need some help with 2 things if you can.

      first up is when i got to a 3rd party Module i the config looks like this

      modules: [
      	{
      		module: 'MMM-ImageSlideshow',
      		position: 'bottom_left',
      		config: {
      			imagePaths: ['modules/MMM-ImageSlideshow/example1']
      		}
      	}	
      ]
      

      For me to get it to work i need to edit it to look like this

      {
                    module: "MMM-ImageSlideshow",
                    position: "top_right",
                                  config: {
                    imagePaths: ["modules/MMM-ImageSlideshow/exampleImages"],
                    }
                    },
      

      Should i be leaving the ```
      modules: [
      ]

      
      Second Question 
      In the Configuration options of the add on [ImageSlideshow](https://github.com/AdamMoses-GitHub/MMM-ImageSlideshow)
      there are options  ```
      fixedImageHeight
      

      were do i put it in the code and were do i place the number value

      Here my Config file

      /* 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_right"
      		},
      		{
      			module: "calendar",
      			header: "Irish Holidays",
      			position: "top_left",
      			config: {
      				calendars: [
      					{
      						symbol: "calendar-check-o ",
      						url: "webcal://www.calendarlabs.com/ical-calendar/ics/51/Ireland_Holidays.ics"
      					}
      				]
      			}
      		},
      
      
                    {
                    module: "MMM-cryptocurrency",
                    position: "top_right",
                    config: {
                    currency: ['bitcoin', 'ripple', 'Monero', 'tron'],
                    conversion: 'EUR',
                    showUSD: false,
                    headers: ['change24h', 'change1h', 'change7d'],
                    displayType: 'logoWithChanges',
                    showGraphs: true
                    }
                    },
                    {
                    module: "MMM-ImageSlideshow",
                    position: "top_right",
                                  config: {
                    imagePaths: ["modules/MMM-ImageSlideshow/exampleImages"],
                    }
                    },
      
                    		{
      			module: "currentweather",
      			position: "top_left",
      			config: {
      				location: "Dublin",
      				locationID: "2964574",  //ID from http://www.openweathermap.org/help/city_list.txt
      				appid: "0000000000000000000000000"
      			}
      		},
                    {
                    module: "compliments",
                    position: "top_left",
                    config: {
                    compliments: {
                    day_sunny: [
                                "Today is a sunny day",
                                "It's a beautiful day"
                                ],
                    day_cloudy: [
                                 "Today is a cloudy day",
                                 "But its still a beautiful day"
                                 ],
                    cloudy: [
                             "Today is a Cloudy"
                             ],
                    cloudy_wind: [
                                  "Today will be Cloudy & Windy",
                                  "Wrap up Warm"
                                  ],
                    showers: [
                              "Today will have light showers",
                              "Don't forget your umbrella"
                              ],
                    rain: [
                           "Rain, Rain, Go Away",
                           "Don't forget your umbrella"
                           ],
                    thunderstorm: [
                                   "Forcast shows Thunder and Lightning today",
                                   "Stay indoors if possible"
                                   ],
                    snow: [
                           "Forcast for Snow today",
                           "Snowball battle!"
                           ],
                    fog: [
                          "Fog Warning",
                          "Be careful out there, it's going to be VERY foggy this morning"
                          ],
                    night_clear: [
                                  "Beautiful clear night sky",
                                  "Might see some stars"
                                  ],
                    night_cloudy: [
                                   "Tonight will be cloudy"
                                   ],
                    night_showers: [
                                    "Light Showers tonight",
                                    "Stay in and light the fire"
                                    ],
                    night_rain: [
                                 "Forcast for rain",
                                 "Light the fire & listen to the rain on the window"
                                 ],
                    night_thunderstorm: [
                                         "Forcast shows Thunder and Lightning tonight",
                                         "Stay indoors if possible"
                                         ],
                    night_snow: [
                                 "Forcast for Snow tonight",
                                 "Wrap up warm & lets build a snow man"
                                 ],
                    night_alt_cloudy_windy: [
                                             "Forcast Rain, Cloud & Wind",
                                             "Lets just stay in and pull the curtains"
                                             ],
                    }
                    }
                    
                    },
      		{
      			module: "weatherforecast",
      			position: "top_left",
      			header: "Weather Forecast",
      			config: {
      				location: "Dublin",
      				locationID: "2964574",  //ID from http://www.openweathermap.org/help/city_list.txt
      				appid: "0000000000000000000000"
      			}
      		},
      
      		{
      			module: "newsfeed",
      			position: "bottom_bar",
      			config: {
      				feeds: [
      					{
      						title: "RTE News",
      						url: "https://www.independent.ie/irish-news/rss/"
      					}
      
      				],
      				showSourceTitle: true,
      				showPublishDate: true
      			}
      		},
      	]
      
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      
      posted in Troubleshooting
      P
      paddyhughes
    • 1 / 1