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.

    MMM-CalendarExtPlan

    Scheduled Pinned Locked Moved Utilities
    9 Posts 4 Posters 1.5k Views 4 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.
    • ? Offline
      A Former User @Lordy
      last edited by A Former User

      @Lordy
      d, do, dd, ddd, dddd could be used for weekday order or name.
      I think ddd would be fit for your purpose. It will show Mon, Tue or equivalent text by locale.
      https://momentjs.com/docs/#/displaying/format/

      LordyL 1 Reply Last reply Reply Quote 1
      • LordyL Offline
        Lordy @Guest
        last edited by

        @Sean
        Thank you, that’s exactly the impetus that I needed.

        1 Reply Last reply Reply Quote 0
        • V Offline
          Vauxdvihl
          last edited by

          @Sean
          Thanks for this module.
          Unfortunately i am not able to bring this module to work

          In CalExt2 i have (among other calendars) these ones here:

          {
          					name: "Benjamin",
          					url: "https://calendar.google.com/calendarxxxxxxxxxxxxxxxxxxxx0/basic.ics",
          					className: "Benjamin",
          					icon: "ps-bike",
          				  },
          

          Running the module i get the following error

          [2020-10-11 21:40:58.074] [ERROR]  WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/pi/MagicMirror/config/config.js:327
          			criteria: [
          			^^^^^^^^
          
          SyntaxError: Unexpected identifier
              at wrapSafe (internal/modules/cjs/loader.js:1051:16)
              at Module._compile (internal/modules/cjs/loader.js:1101:27)
              at Object.Module._extensions..js (internal/modules/cjs/loader.js:1166:10)
              at Module.load (internal/modules/cjs/loader.js:981:32)
              at Module._load (internal/modules/cjs/loader.js:881:14)
              at Function.Module._load (electron/js2c/asar.js:769:28)
              at Module.require (internal/modules/cjs/loader.js:1023:19)
              at require (internal/modules/cjs/helpers.js:77:18)
              at loadConfig (/home/pi/MagicMirror/js/app.js:67:12)
              at App.start (/home/pi/MagicMirror/js/app.js:202:3)
          
          

          At line 327 the “criteria” start from this module

          {//MMM-CalendarExtPlan
          		  module: "MMM-CalendarExtPlan",
          		  position: "bottom_bar",
          		  config: {
          			maxItems: 100,
          			refreshInterval: 60*60*1000, // millisec.
          			dateFormat: "MMM D.",
          			eventTimeFormat: "HH:mm",
          			dayCount: 5,
          			fromNow: 0,
          			source: "CALEXT2"
          			criteria: [
          						{
          							title: "Benjamin",
          							calendars: ["Benjamin"],
          						  }
          						  /*{
          							title: "Müllabfuhr",
          							calendars: ["Müllabfuhr"],
          						  },
          						  {
          							title: "Elyas",
          							calendars: ["Elyas"],
          						  }*/
          						
          			],
          		  }
          		},
          

          I would be glad if you could help me
          Thanks a lot
          Regards

          AlvingerA 1 Reply Last reply Reply Quote 0
          • AlvingerA Offline
            Alvinger @Vauxdvihl
            last edited by

            @Vauxdvihl you are missing a comma on the SOURCE line.

            V 1 Reply Last reply Reply Quote 0
            • V Offline
              Vauxdvihl @Alvinger
              last edited by

              @Alvinger
              Thanks a lot…newbie mistake

              1 Reply Last reply Reply Quote 0
              • V Offline
                Vauxdvihl
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • V Offline
                  Vauxdvihl
                  last edited by

                  Can please somebody help me
                  How can i increase the size of the icons?
                  Thanks a lot

                  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