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 6.0k 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.
    • S Offline
      sdetweil @CheapDad
      last edited by sdetweil

      @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 Offline
        sdetweil @CheapDad
        last edited by

        @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 Reply Quote 0
        • C Offline
          CheapDad @sdetweil
          last edited by

          @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 Reply Quote 0
          • S Offline
            sdetweil @CheapDad
            last edited by

            @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

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

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

                @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 Reply Quote 0
                • C Offline
                  CheapDad @sdetweil
                  last edited by

                  @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 Reply Quote 0
                  • S Offline
                    sdetweil @CheapDad
                    last edited by sdetweil

                    @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 Reply Quote 0
                    • C Offline
                      CheapDad @sdetweil
                      last edited by

                      @sdetweil Sorry, definitely stuck on stupid. F12 didn’t work when MM was running, but “developer tools” did. I got this from the console log:

                      Failed to load resource - 404

                      This is where the script is looking:

                      http://0.0.0.0:8080/modules/calendar-monthly/calendar-monthly.js

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

                        @cheapdad yes, as it should be…

                        I installed and copy/pasted his sample, and got this

                        did u git clone in the right place?

                        Screenshot at 2021-06-06 19-40-35.png

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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