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 help - won't post

    Scheduled Pinned Locked Moved Troubleshooting
    7 Posts 2 Posters 2.5k 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @elwarriner
      last edited by

      @elwarriner said in Calendar help - won’t post:

      Do I edit my config.js in the config folder or do I edit the calendar.js in the calendar module folder?

      You edit the config.js file. It’s not recommended that you edit the calendar.js file… Can you post your config.js file here (in a code block) so we can take a look at it

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • E Offline
        elwarriner
        last edited by elwarriner

        I need to first go back to see how to post it in the code block. In the meantime, where do I find an original calendar.js since that might be my problem. I did edit it. Edited to add - I cut and pasted the calendar.js from: https://github.com/MichMich/MagicMirror/tree/master/modules/default/calendar
        Still not fixed.

        Mykle1M 1 Reply Last reply Reply Quote 0
        • E Offline
          elwarriner
          last edited by elwarriner

          		{
          			module: "alert",
          		},
          		{
          			module: "updatenotification",
          			position: "top_bar"
          		},
          		{
          			module: "clock",
          			position: "top_left"
          		},
          		{
          			module: "calendar",
          			header: "calendar",
          			position: "top_left",
          			config: {
                  calendars: [
                      {
                          url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics'
                      },
                      {
                          url: 'https://calendar.google.com/calendar/ical/myinfo%40gmail.com/private-fd97576a307b857ca2b82727302938f7/basic.ics'
                      },
          
                  ],
              }
          		},
          		{
          			module: "compliments",
          			position: "lower_third"
          		},
          		{
          			module: "currentweather",
          			position: "top_right",
          			config: {
          				location: "New York",
          				locationID: "",  //ID from http://www.openweathermap.org/help/city_list.txt
          				appid: "YOUR_OPENWEATHER_API_KEY"
          			}
          		},
          		{
          			module: "weatherforecast",
          			position: "top_right",
          			header: "Weather Forecast",
          			config: {
          				location: "New York",
          				locationID: "5128581",  //ID from http://www.openweathermap.org/help/city_list.txt
          				appid: "YOUR_OPENWEATHER_API_KEY"
          			}
          		},
          		{
          			module: "newsfeed",
          			position: "bottom_bar",
          			config: {
          				feeds: [
          					{
          						title: "New York Times",
          						url: "http://www.nytimes.com/services/xml/rss/nyt/Technology.xml"
          					}
          				],
          				showSourceTitle: true,
          				showPublishDate: true
          			}
          		},
          	]
          
          };```
          1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @elwarriner
            last edited by

            @elwarriner said in Calendar help - won’t post:

            I need to first go back to see how to post it in the code block. In the meantime, where do I find an original calendar.js since that might be my problem. I did edit it.

            https://github.com/MichMich/MagicMirror/blob/master/modules/default/calendar/calendar.js

            Checking your config now

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer
              last edited by Mykle1

              Ok, so what is the problem. I just used that config and it fired right up. Only Christmas shows on one of your calendars but the config loads without error.

              The only other thing I would suggest is changing the rotateInterval in the config for your newsfeed. The news items change before they fully scroll across your screen. Set it to about 30 seconds so you see the entire item before it goes to the next

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • E Offline
                elwarriner
                last edited by

                Thank you. I appreciate the checking. I ended up re-running the install script and it worked. I have no idea but am very happy. Now that I know not to mess with the modules, it is much easier.

                1 Reply Last reply Reply Quote 0
                • 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