• 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.

Calendar Config (bit of a noob)

Scheduled Pinned Locked Moved Troubleshooting
8 Posts 3 Posters 6.0k Views 2 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.
  • K Offline
    KirAsh4 Moderator
    last edited by Jun 11, 2016, 7:37 AM

    Any configuration, for any/all of the modules, should always go in the main config.js file. You should not have to edit anything else. If you have edited source files, I recommend you grab the original source again from Github. If after you’ve done that, your calendar still isn’t working with your configuration, feel free to post the relevant section (removing private information) and we may be able to figure out what’s going on.

    A Life? Cool! Where can I download one of those from?

    1 Reply Last reply Reply Quote 0
    • Z Offline
      zydecat74
      last edited by Jun 12, 2016, 3:26 AM

      Thank you for that. The calendar is starting to work (there seems to be an issue with me including an icloud calendar but I’ll verify that I have the settings correct before hitting up the forum for help with that).

      However, now that I have the calendar working, all of the other modules have disappeared (weather, compliments, news rss feed). Has anyone else experienced that?

      Te audire non possum. Musa sapientum fixa est in aure.

      1 Reply Last reply Reply Quote 0
      • K Offline
        KirAsh4 Moderator
        last edited by Jun 12, 2016, 5:01 AM

        Sounds to me like you have a configuration error in your config.js file. Without seeing it, I have nothing to go by or what to tell you to fix.

        A Life? Cool! Where can I download one of those from?

        1 Reply Last reply Reply Quote 0
        • Z Offline
          zydecat74
          last edited by Jun 12, 2016, 6:14 AM

          Here is my complete config.js (with a few identifiers removed). Hoping something jumps out!

          /* Magic Mirror Config Sample
          *

          • By Michael Teeuw http://michaelteeuw.nl
          • MIT Licensed.
            */

          var config = {
          port: 8080,

          language: 'en',
          timeFormat: 24,
          
          modules: [
          	{
          		module: 'alert',
          	},
          	{
          		module: 'clock',
          		position: 'top_left'
          	},
          	{
          		module: 'calendar',
          		header: 'Calendar',
          		position: 'top_left',
          		config: {
          			calendars: [
          				{
          					symbol: 'calendar-check-o ',
          					url: 'webcal://www.calendarlabs.com/templates/ical/Australia-Holidays.ics'
          				},
          				{
          					symbol: 'heart-o',
          					url: 'webcal://p08-calendarws.icloud.com/ca/subscribe/1/xxxxxxxxx'
          				}
          			]
          		}
          	},
          	{
          		module: 'compliments',
          		position: 'lower_third'
          	},
          	{
          		module: 'currentweather',
          		position: 'top_right',
          		config: {
          			location: 'Perth, AU',
          			appid: 'xxxxxxxxx'
          		}
          	},
          	{
          		module: 'weatherforecast',
          		position: 'top_right',
          		header: 'Weather Forecast',
          		config: {
                      location: 'Perth, AU',
          			appid: 'xxxxxxx'
          		}
          	},
          	{
          		module: 'newsfeed',
          		position: 'bottom_bar',
          		config: {
          			feedUrl: 'http://www.abc.net.au/news/feed/45910/rss.xml',
          			showPublishDate: true
          		}
          	},
          ]
          

          };

          /*************** DO NOT EDIT THE LINE BELOW ***************/
          if (typeof module !== ‘undefined’) {module.exports = config;}

          Te audire non possum. Musa sapientum fixa est in aure.

          C 1 Reply Last reply Jun 13, 2016, 12:50 PM Reply Quote 0
          • C Offline
            cowboysdude Module Developer @zydecat74
            last edited by KirAsh4 Jun 13, 2016, 4:09 PM Jun 13, 2016, 12:50 PM

            @zydecat74 said in Calendar Config (bit of a noob):

            Here is my complete config.js (with a few identifiers removed). Hoping something jumps out!

            /* Magic Mirror Config Sample
             *
             * By Michael Teeuw http://michaelteeuw.nl
             * MIT Licensed.
             */
            
            var config = {
            	port: 8080,
            
            	language: 'en',
            	timeFormat: 24,
            
            	modules: [
            		{
            			module: 'alert',
            		},
            		{
            			module: 'clock',
            			position: 'top_left'
            		},
            		{
            			module: 'calendar',
            			header: 'Calendar',
            			position: 'top_left',
            			config: {
            				calendars: [
            					{
            						symbol: 'calendar-check-o ',
            						url: 'webcal://www.calendarlabs.com/templates/ical/Australia-Holidays.ics'
            					},
            					{
            						symbol: 'heart-o',
            						url: 'webcal://p08-calendarws.icloud.com/ca/subscribe/1/xxxxxxxxx'
            					}
            				]
            			}
            		},
            		{
            			module: 'compliments',
            			position: 'lower_third'
            		},
            		{
            			module: 'currentweather',
            			position: 'top_right',
            			config: {
            				location: 'Perth, AU',
            				appid: 'xxxxxxxxx'
            			}
            		},
            		{
            			module: 'weatherforecast',
            			position: 'top_right',
            			header: 'Weather Forecast',
            			config: {
            	            location: 'Perth, AU',
            				appid: 'xxxxxxx'
            			}
            		},
            		{
            			module: 'newsfeed',
            			position: 'bottom_bar',
            			config: {
            				feedUrl: 'http://www.abc.net.au/news/feed/45910/rss.xml',
            				showPublishDate: true
            			}
            		},
            	]
            
            };
            
            /*************** DO NOT EDIT THE LINE BELOW ***************/
            if (typeof module !== 'undefined') {module.exports = config;}
            

            This is what I did and it fixed mine…

            {
            			module: 'calendar',
            			header: 'US Holidays',
            			position: 'top_left',
            			config: {
            				calendars: [
            					{
            						symbol: 'calendar-check-o ',
            						url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics'
            					}
            				]
            			}
            		},
            		{
            			module: 'calendar',
            			header: 'My Schedule',
            			position: 'top_left',
            			config: {
            				calendars: [
            					{
            						symbol: 'calendar-check-o ',
            						url: 'https://calendar.google.com/calendar/embed?src=xxxxxxxxxgmail.com&ctz=America/New_York'
            					}
            				]
            			}
            		},''
            

            I edited out my email address in the url for obvious reasons but that uses my google calendar to let me see my daily schedule… it works.

            Note from Moderator: Please use Markdown on code snippets for easier reading.

            1 Reply Last reply Reply Quote 0
            • Z Offline
              zydecat74
              last edited by Jun 13, 2016, 3:03 PM

              Thank you all for your help and suggestions and help!.

              It seems that as I have been working on this mirror project for some time, I have been working on v2-beta version which has different configuration to the current version. Just reinstalled the mirror and with a couple of minor adjustments have managed to get it working as I like.

              Now the config is sorted it’s time to source the monitor and framing materials…

              Cheers,

              Mat

              Te audire non possum. Musa sapientum fixa est in aure.

              C 1 Reply Last reply Jun 13, 2016, 9:55 PM Reply Quote 0
              • C Offline
                cowboysdude Module Developer @zydecat74
                last edited by Jun 13, 2016, 9:55 PM

                @zydecat74 Great! When you get it done take a picture and post it!

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                1 / 1
                • First post
                  6/8
                  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