Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-CalendarExtPlan

    Utilities
    4
    9
    566
    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.
    • Sean
      Sean Module Developer last edited by

      MMM-CalendarExtPlan

      Plugin module for MMM-CalendarExt and MMM-CalendarExt2, to display schedule plan

      Screenshot

      Link

      Requested feature from forum members (Sorry, I cannot remember who he is…).

      Lordy 1 Reply Last reply Reply Quote 1
      • Lordy
        Lordy @Sean last edited by

        @Sean
        Hello Sean,
        as always, you were able to meet my expectations.
        Could you please tell us how to enter “dateFormat” days of the week (Mo/Tue/Wed…)?
        Thank you in advance.

        Hallo Sean,
        wie immer, hast Du meine Erwartung erfüllen können.
        Kannst Du bitte verraten, wie man “dateFormat” Wochentage (Mo/Die/Mit…)einträgt?
        Vielen Dank dafür im Voraus.

        Sean 1 Reply Last reply Reply Quote 0
        • Sean
          Sean Module Developer @Lordy last edited by Sean

          @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/

          Lordy 1 Reply Last reply Reply Quote 1
          • Lordy
            Lordy @Sean last edited by

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

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

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

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

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

                  @Alvinger
                  Thanks a lot…newbie mistake

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

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • V
                      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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy