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-CalendarExt2 config

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    5 Posts 2 Posters 1.2k 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
      SARCux
      last edited by SARCux

      Hi guys,

      i have a problem with my config MMM-CalendarExt2.
      here the picture
      CalendarExt2.png

      here the config.js from the module

      		{
      			module: 'MMM-CalendarExt2',
      			config: {
      			calendars : [
      					{
      						name: "Michael",
      						//icon: "emojione-monotone:anchor",
      						icon: "emojione-v1:mobile-phone",  //"noto:boy-light-skin-tone"
      						className: "Michael",
      						url: "https://calendar.google.com/calendar/ical/###/basic.ics",
      						scanInterval: 1500,
      						maxIterations: 100,
      					},
      					{
      						name: "Stefanie",
      						//icon: "bx:bx-happy-heart-eyes",
      						icon: "noto:cow-face",  // "emojione-v1:person-tipping-hand",
      						className: "Stefanie",
      						url: "https://calendar.google.com/calendar/ical/###/basic.ics",
      						scanInterval: 1500,
      						maxIterations: 100,
      					},
      					{
      						name: "Phil",
      						//icon: "simple-icons:angellist",
      						icon: "noto:jack-o-lantern", // "emojione-v1:blond-haired-person",
      						className: "Phil",
      						url: "https://calendar.google.com/calendar/ical/###/basic.ics",
      						scanInterval: 1500,
      						maxIterations: 100,
      					},
      					{
      						url: "https://calendar.google.com/calendar/ical/###/basic.ics",
      						name: "Abfall-Wertstoff-Papier",
      						icon: "whh-recycle",
      					},
      					{
      						name: "Speiseplan",
      						//icon: "mdi-recycle",
      						icon: "emojione-v1:pot-of-food",
      						className: "Speiseplan",
      						url: "https://calendar.google.com/calendar/ical/####/basic.ics",
      						scanInterval: 1500,
      						maxIterations: 100,
      					},
      						],
      			views: [
      				{
      					mode: "daily",
      					title: "Termine nächsten Tage",
      					position: "top_center",
      					locale: "de-DE",
      					calendars: ["Speiseplan", "Michael", "Stefanie", "Phil", "Abfall-Wertstoff-Papier"],
      					slotCount: 3,
      					timeFormat:"LT",
      					hideOverflow: false,
      					slotTitleFormat: {
      						sameDay: "[Heute]  DD. MMMM",
      						nextDay: "[Morgen] DD. MMMM",
      						nextWeek: "[am] dddd",
      						lastDay: "[Gestern]",
      						lastWeek: "[letzte] ddd",
      						sameElse: "DD.MM.",
      						className: "remove_empty_slot",
      								},
      				},
      					],
      			scenes: [
      				{
      					name: "DEFAULT",
      				},
      					],
      				},
      		},
      

      can anybody help??

      Thx SARCux

      M 1 Reply Last reply Reply Quote 0
      • M Offline
        MMRIZE @SARCux
        last edited by

        @sarcux
        For localization: https://github.com/MMM-CalendarExt2/MMM-CalendarExt2/blob/master/docs/Localization.md

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          SARCux @MMRIZE
          last edited by

          @mmrize
          it´s not the answer of my question :confused_face:

          I did not have any success with the documentation

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            MMRIZE @SARCux
            last edited by MMRIZE

            @sarcux
            Well, I’m the original author of the documents and modules. So if docs are not helpful for you, it’s sorry.

            However, hmmm…
            f7095171-d92a-4aaa-83b2-296d6da113c7-image.png

            ...
            slotSubTitleFormat: ' ',
            dateTimeFormat: {
              sameDay: "[Heute] HH:mm",
              nextDay: "[Morgen] HH:mm",
              nextWeek: "dddd HH:mm",
              lastDay: "[Gestern] HH:mm",
              lastWeek: "[Latzt] ddd HH:mm",
              sameElse: "M/D HH:mm"
            },
            ...
            

            I just added this and got the above-captured image. And all are also documented already.
            (You probably need to modify dateFormat also for fullday event)

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              SARCux @MMRIZE
              last edited by

              @mmrize said in MMM-CalendarExt2 config:

              ’ ',

              This is my View:

              views: [
              				{
              					mode: "daily",
              					title: "Termine nächsten Tage",
              					position: "top_center",
              					locale: "de-DE",
              					calendars: ["Speiseplan", "Michael", "Stefanie", "Phil", "Abfall-Wertstoff-Papier"],
              					slotCount: 3,
              					timeFormat:"LT",
              					hideOverflow: false,
              					slotSubTitleFormat: ' ',
              						dateTimeFormat: {
              						sameDay: "[Heute] HH:mm",
              						nextDay: "[Morgen] HH:mm",
              						nextWeek: "dddd HH:mm",
              						lastDay: "[Gestern] HH:mm",
              						lastWeek: "[Letzten] ddd HH:mm",
              						sameElse: "M/D HH:mm"
              										},
              				},
              					],
              

              CalendarExt2-1.png

              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