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.

    Basic Calendar log errors

    Scheduled Pinned Locked Moved Solved Troubleshooting
    9 Posts 2 Posters 1.7k 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.
    • S Offline
      sdetweil @johntech
      last edited by

      @johntech yes, looks like the calendar data has an empty repeating rule and the library code we use
      can’t handle that

      edit (nano) the MagicMirror/node_modules/rrule/dist/es5/rrule.js

      find (ctrl w)

      options.byeaster = Number(value);
      

      and add these two lines

           case '':
              break;
      

      so it looks like this

                  case 'BYEASTER':
                      options.byeaster = Number(value);
                      break;
                 case '':
      		break;
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        johntech @sdetweil
        last edited by johntech

        @sdetweil said in Basic Calendar log errors:

        >  case '':
        > 		break;
        
        

        Good!! That fixed the issue of the calendar not displaying , but now it is showing double entries in the list. 2 - Easters, Mother’s Day, President’s day etc.

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @johntech
          last edited by

          @johntech said in Basic Calendar log errors:

          but now it is showing double entries in the list. 2 - Easters, Mother’s Day, President’s day etc.

          cause there are two entries in the file

          looks like calendarlabs.com is having trouble

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            johntech @sdetweil
            last edited by

            @sdetweil
            Ok. Is it possible to download the file, edit it and use is locally?

            Thank you for the help!!

            John

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @johntech
              last edited by

              @johntech sure… use the url (change webcal to https)
              edit the downloaded file (there are multiples of all the entries)

              copy the file to the MagixMirror/modules folder (thats where the MM web server is pointing)

              then edit the url in the config entry to

              “modules/???” // ics filename

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              J 1 Reply Last reply Reply Quote 1
              • J Offline
                johntech @sdetweil
                last edited by

                @sdetweil
                Sorry for the misunderstanding but is this what you meant?

                url: “https://modules/US_Holidays.ics”

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @johntech
                  last edited by

                  @johntech http://localhost:8080/…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    johntech @sdetweil
                    last edited by

                    @sdetweil
                    Thank you !!! I wasn’t thinking localhost. Still learning!!

                    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