• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Display monthly calendar and entries

Scheduled Pinned Locked Moved Troubleshooting
19 Posts 4 Posters 4.9k 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.
  • C Offline
    CheapDad
    last edited by Jun 6, 2021, 9:29 PM

    In my MM, I’d like to display a current monthly calendar and then the entries below. I added the “calendar monthly” module but it does not display. Here’s my code"

    {
            module: "calendar",
            header: "US Holidays",
            position: "top_left",
            config: {
              maximumEntries: 6,
              maximumNumberOfDays: 90,
              limitDays: 0,
              displaySymbol: true,
              defaultSymbol: "calendar",
              maxTitleLength: 25,
              maxLocationTitleLength: 25,
              maxTitleLines: 3,
              maxEventTitleLines: 3,
              fetchInterval: 300000,
              animationSpeed: 2000,
              fade: true,
              urgency: 7,
              timeFormat: "relative",
              dateFormat: "MMM Do",
              dateEndFormat: "LT",
              fullDayEventDateFormat: "MMM Do",
              getRelative: 6,
              fadePoint: 0.25,
              tableClass: "small",
              calendars: [
                {
                  symbol: "calendar-check",
                  url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics"
                }
              ],
              titleReplace: {
                "De verjaardag van ": "",
                "'s birthday": ""
              },
              locationTitleReplace: {
                "street ": ""
              },
              symbol: 'birthday-cake',
              url: 'http://localhost:8080/MMM-iCloud-Client/birthdays',
              broadcastEvents: true,
              showLocation: false,
              displayRepeatingCountTitle: false,
              wrapEvents: false,
              wrapLocationEvents: false,
              showEnd: false,
              hidePrivate: false,
              hideOngoing: false,
              hideTime: false,
              colored: false,
              coloredSymbolOnly: false,
              sliceMultiDayEvents: false,
              broadcastPastEvents: false,
              nextDaysRelative: false,
              selfSignedCert: false,
              customEvents: [],
              excludedEvents: []
            },
            order: "3"
          },
          {
            module: "calendar-monthly",
            order: "2",
            position: "top_left",
            config: {
              initialLoadDelay: 0,
              fadeSpeed: 2,
              showHeader: true,
              cssStyle: "block",
              tableClass: "small",
              updateDelay: 5,
              debugging: false
            },
            disabled: false
          },
    

    #2, I added this code, but can’t remember what it’s for and it’s not in my language:

              titleReplace: {
                "De verjaardag van ": "",
                "'s birthday": ""
              },
              locationTitleReplace: {
                "street ": ""
              },
    

    Can anyone give some insight into what it is/does?

    Lastly, I’ve reviewed several of threads on adding calendars and, frankly, I’m confused. In the “events” portion of the default calendar, I’d like to display the contents of an Iphone (ical?) calendar and a calendar that would populate from a website. Both would obviously need a username/password to access. Could someone please provide me an example of config lines to do so?

    CheapDad

    1 Reply Last reply Reply Quote 0
    • C Offline
      CheapDad
      last edited by Jun 6, 2021, 11:32 PM

      @cheapdad said in Display monthly calendar and entries:

              {
                symbol: "calendar-check",
                url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics"
              }
      

      By way of update, I’ve continued to work on this and think I’ve figured out that if I change the above URL to the one I want to populate from a website, it solves my problem. I still need to figure out how to add the second Iphone calendar and the monthly.

      S 2 Replies Last reply Jun 6, 2021, 11:46 PM Reply Quote 0
      • S Away
        sdetweil @CheapDad
        last edited by sdetweil Jun 7, 2021, 12:05 AM Jun 6, 2021, 11:46 PM

        @cheapdad adding a second calendar is replicate that block

        // list of calendars
        calendars: [
          // calendar 1
           {
            ...
            url:...
            },
         // calendar 2
            {
            ...
            url:...
            }
        ]  // end of list of calendars
        

        Screenshot at 2021-06-06 19-03-47.png

        in mmm-config, just hit the plus button under calendars

        Screenshot at 2021-06-06 19-04-00.png

        the titlereplace is an entry editing tool.
        replace the string on the left w the string in the right in the event title

        can’t help with monthly, but its a seaprate module, and will require a whole new entry in config,
        which u had in the 1st paste

        but like all other modules, look in the two logs, and check for a debug option on the module

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Away
          sdetweil @CheapDad
          last edited by Jun 7, 2021, 12:01 AM

          @cheapdad populate from a website… yes, google is a website.

          the url needs to download an ICS file, which is what the calendar module reads to get the events

          as for calendar-monthly

          https://github.com/KirAsh4/calendar_monthly

          that one appears JUST to draw the rectangular calendar box. no actual entries

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          C 1 Reply Last reply Jun 7, 2021, 12:11 AM Reply Quote 0
          • C Offline
            CheapDad @sdetweil
            last edited by Jun 7, 2021, 12:11 AM

            @sdetweil said in Display monthly calendar and entries:

            @cheapdad populate from a website… yes, google is a website.

            the url needs to download an ICS file, which is what the calendar module reads to get the events

            as for calendar-monthly

            https://github.com/KirAsh4/calendar_monthly

            that one appears JUST to draw the rectangular calendar box. no actual entries

            That’s interesting because I thought I had it working in a long lost iteration of my config.js. All I’m looking for is the current month’s calendar, not any entries, i.e., the 4th is a thursday, etc. Any suggestion on how to accomplish that?

            S 1 Reply Last reply Jun 7, 2021, 12:12 AM Reply Quote 0
            • S Away
              sdetweil @CheapDad
              last edited by Jun 7, 2021, 12:12 AM

              @cheapdad u want the grid?

              then that module should do it… it has a debug mode
              its pretty simple

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • C Offline
                CheapDad
                last edited by Jun 7, 2021, 12:18 AM

                How do I run it in debug mode? I don’t see that on github page.

                S 1 Reply Last reply Jun 7, 2021, 12:19 AM Reply Quote 0
                • S Away
                  sdetweil @CheapDad
                  last edited by sdetweil Jun 7, 2021, 12:25 AM Jun 7, 2021, 12:19 AM

                  @cheapdad add

                  debugging: true

                  to the module config section

                  in mmm-config, check the box for debugging

                  sorry, used wrong word, recheck code

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  C 1 Reply Last reply Jun 7, 2021, 12:26 AM Reply Quote 0
                  • C Offline
                    CheapDad @sdetweil
                    last edited by Jun 7, 2021, 12:26 AM

                    @sdetweil said in Display monthly calendar and entries:

                    debug: true

                    So, I may be stuck on stupid. I enabled debug and ran MM. The monthly calendar didn’t load and I didn’t see anything different that would help me debug it.

                    S 1 Reply Last reply Jun 7, 2021, 12:28 AM Reply Quote 0
                    • S Away
                      sdetweil @CheapDad
                      last edited by sdetweil Jun 7, 2021, 12:38 AM Jun 7, 2021, 12:28 AM

                      @cheapdad sorry, notice I edited my post…

                      for this module its

                      debugging:true
                      

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      C 1 Reply Last reply Jun 7, 2021, 12:40 AM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        10/19
                        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