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-CalendarExt - Startup problem

    Scheduled Pinned Locked Moved Solved Troubleshooting
    7 Posts 3 Posters 613 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.
    • S Offline
      sdetweil @Bimtronic
      last edited by

      @Bimtronic see
      https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      B 1 Reply Last reply Reply Quote 0
      • B Offline
        Bimtronic @sdetweil
        last edited by

        @sdetweil I got it working reading some other threads :)

        Ran these inside the module-folder:

        npm install request

        npm install valid-url

        npm init -y

        There seems to be some problem though:

        # npm audit report

        request *
        Severity: moderate
        Server-Side Request Forgery in Request - https://github.com/advisories/GHSA-p8p7-x288-28g6
        Depends on vulnerable versions of tough-cookie
        No fix available
        node_modules/request

        tough-cookie <4.1.3
        Severity: moderate
        tough-cookie Prototype Pollution vulnerability - https://github.com/advisories/GHSA-72xf-g2v4-qvf3
        No fix available
        node_modules/tough-cookie

        2 moderate severity vulnerabilities

        S 2 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @Bimtronic
          last edited by

          @Bimtronic ignore the audit reports, nothing you can do about them. part of the reason request is deprecated.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @Bimtronic MMM-CalendarExt3 is the latest and gets the data from the default calendar, so it doesn’t have this problem

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S sdetweil has marked this topic as solved on
            • B Offline
              Bimtronic
              last edited by

              Im struggling to get anything to show in my setup for daily and current bars.
              MM_view.PNG

              I have three local ics-calendars in my MM-Folder that ive adressed in my config, only calendar for “upcoming” bar shows up.

              Config >

                  modules: [
              
                          {
                                  module: 'MMM-CalendarExt',
                                  position: "top_left",                           //anywhere. It is not related to real position of view
                                  config: {                                       // Read below
                                    system:{
                                                  show: ['daily', 'upcoming', 'current'],
                                                    locale: 'sv-SV',                      //when omitted, default value would be your system default locale by moment.js
                                                    showEmptyView: 1,
                                                    fullDayEventLocalize: 1,
                                                    redrawInterval: 30*60*1000,   //minimum 60000
                                                    useProfileConfig: 0,
                                                    startProfile: ''
                                  },
                                    defaultView: {
                                                    position: 'bottom_bar',
                                                    positionOrder: -1,
                                                    overflowRolling: 0,
                                                    overflowHeight: 0,
                                                    overflowDuration: 2,
                                                    onlyStartingTime: 0,
                                                    timeFormat: 'HH:mm',
                                                    dateFormat: "MMM Do",
                                                    fullDayEventDateFormat: "MMM Do",
                                                    ellipsis: 0,
                                                    limit:1,
                                                    oneLineEvent:0,
                                                    replaceTitle:[],
                                                    classPattern:[],
                                                    classPatternWhere:["title"],
                                                    symbolPattern:[],
                                                    symbolPatternWhere:["title"]
                                  },
                                    views: {
              
                                                          weeks: {
                                                                          showWeeks: 1,
                                                                          weeksTitle: 'Veckor',
                                                                          weeksFormat: 'wo',
                                                                          weekdayFormat: 'dd',
                                                                          titleFormat : 'MMM D',
                                                                          overTitleFormat : 'MMM D',
                                                                          counts: 2,
                                                                 },
                                                          daily: {
                                                                      direction: 'row',
                                                                      counts: 5,
                                                                      titleFormat: "D",
                                                                      overTitleFormat: "MMM D",
                                                                      subtitleFormat: "ddd",
                                                                  },
                                                          weekly: {
                                                                      direction: 'row',
                                                                      counts: 4,
                                                                      titleFormat: "wo",
                                                                      overTitleFormat: "gggg wo",
                                                                      subtitleFormat: "MMM Do",
                                                                  },
              
              
                                                          current: {
                                                                      title: 'Aktuell',
                                                                      useRelative: 1
                                                                  },
                                                          upcoming: {
                                                                      title: 'Kommande',
                                                                      useRelative: 1
                                                                  },
                                    },
                                    defaultCalendar: {
                                                            profiles: [],
                                                            views: ['daily'],
                                                            symbol: "",
                                                            styleName: "",
                                                            replaceTitle:[],
                                                            classPattern: [],
                                                            classPatternWhere: ["title"],
                                                            symbolPattern: [],
                                                            symbolPatternWhere: ["title"],
                                                            maxEntries:50,
                                                            maxDays:180,
                                                            interval: 1800000,
                                  },
              
              
                                    calendars: [
                                                            {
                                                              name: "Namnsdagar",
                                                              url: "webcal://localhost:8080/modules/ics/namedays.ics",
                                                              profile: [],
                                                              views: ['daily', 'current', 'upcoming'],
                                                              styleName: "style1",
                                                              symbol: 'us@fi',
                                                              maxEntries: 50,
                                                              maxDays:365,
                                                              interval: 24*60*60*1000,
                                                            },
                                                            {
                                                              name: "Helgdagar",
                                                              url: "webcal://localhost:8080/modules/ics/se_holidays.ics",
                                                              profile: [],
                                                              views: ['daily', 'current', 'upcoming'],
                                                              styleName: "style1",
                                                              symbol: 'se@fi',
                                                              maxEntries: 50,
                                                              maxDays:365,
                                                              interval: 24*60*60*1000,
                                                            },
                                                            {
                                                              name: "Ansvarsvecka",
                                                              url: "webcal://localhost:8080/modules/ics/Ansvarsvecka.ics",
                                                              profile: [],
                                                              views: ['daily', 'current', 'upcoming'],
                                                              styleName: "style1",
                                                              symbol: 'se@fi',
                                                              maxEntries: 50,
                                                              maxDays:365,
                                                              interval: 24*60*60*1000,
                                                            },
                                                  ],
              
                                    }
                                  },
              
                         {
                                  module: "calendar",
                                  header: "Helgdagar",
                                  position: "top_left",
                                  config: {
                                          calendars: [
                                                  {
                                                          fetchInterval: 7 * 24 * 60 * 60 * 1000,
                                                          symbol: "calendar-check",
                                                          url: "webcal://localhost:8080/modules/ics/se_holidays.ics"
                                                  }
                                          ]
                                  }
                          },
              
              KristjanESPERANTOK 1 Reply Last reply Reply Quote 0
              • KristjanESPERANTOK Offline
                KristjanESPERANTO Module Developer @Bimtronic
                last edited by

                @Bimtronic Try MMM-CalendarExt3 instead of MMM-CalendarExt. MMM-CalendarExt is no longer maintained.

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