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 not showing

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    6 Posts 4 Posters 3.5k 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.
    • A Offline
      AxLed Module Developer
      last edited by

      @johnnewhouse
      In my MM your posted calendar config is working.

      AxLED

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        johnnewhouse @AxLed
        last edited by

        @axled thanks for checking, that’s 1 aspect eliminated.
        I wonder if there are some more pi zero tweaks I need

        1 Reply Last reply Reply Quote 0
        • S Offline
          Sun
          last edited by

          @johnnewhouse said in calendar not showing:

          webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics

          in url should look like
          url: “http://www.calendarlabs.com/templates/ical/US-Holidays.ics”,

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

            @johnnewhouse the issue is in the for loop the keyword that is used is an ES6 variant: the let keyword. Flip it to var and voilá, golden!

            i.e.:

            listContainsEvent: function(eventList, event){
            	for(var evt of eventList){
            		if(evt.title === event.title && parseInt(evt.startDate) === parseInt(event.startDate)){
            			return true;
            

            Edit: I submitted a PR to fix this:
            https://github.com/MichMich/MagicMirror/pull/1381

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

              @johnnewhouse Could/Would you mark my last post as the answer? Not sure if you saw my previous comment, as I edited the post to @ you :)

              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