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-CalendarExt3

    Scheduled Pinned Locked Moved Utilities
    676 Posts 81 Posters 2.4m Views 85 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.
    • P Offline
      p1lspeda @sdetweil
      last edited by

      @sdetweil
      Great.
      Thanks for help (again!)

      1 Reply Last reply Reply Quote 0
      • K Offline
        kribbitykrab
        last edited by

        Hi folks,

        Trying to get MMM-CalendarExt3 working on my Pi Zero W running MM v2.30.0 and running into an issue where the calendar is blank. Relevant config.js below:

        {
           module: "calendar",
           config: {
              broadcastPastEvents: true,
              maximumEntries: 10000,
              colored: true,
              calendars: [
                  {
                       fetchInterval: 1* 60 * 1000,
                       symbol: "calendar-check",
                       name: "p_and_b",
                       color: "rgba(255, 0, 0, 1)",
                       url: "..."
                  },
                  {
                       fetchInterval: 1* 60 * 1000,
                       name: "cal2",
                       color: "rgba(0, 0, 255, 1)",
                       url: "..."
                  }
               [
           }
        },
        {
           module: "MMM-CaendarExt3",
           position: "bottom_bar",
           title: "family dashboard",
           config: {
              mode: "month"
              instanceID: "basicCalendar",
              locale: 'en-US'
              maxEventLines: 5,
              firstDayOfWeek: 1,
              calendarSet: ["p_and_b", "cal2"]
           }
        },
        

        Can anyone help me understand why my monthly calendar is coming up blank and a workaround?

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

          @kribbitykrab ok, this is worse on pi 0w

          Ext3 gets the calendar events from the default calendar

          the calendar module fetches each url separately and broadcasts the events to other modules if they want to use them

          but EXT3 doesn’t want to flash redraw the cal each time a block of events show up

          so it also has a

          refreshInterval
          

          take whatever events have arrived since last time and display ( default 30 minutes)

          now there is another tuning thing
          if it drew immediately on startup it would be empty, cause startup is faster than fetch. but EXT3 doesn’t know how many cal urls might supply events.
          so there is the

          waitFetch 
          

          config parm (default 5 seconds)
          wait that long after startup before displaying any events
          then next will be updateinterval

          pi0w is SOOOOOOO slow ,no events arrive before waitFetch
          so next time is updateInterval time

          so you can adjust these some

          you are probably
          impacted by this bug too, timeout on the connection between front and back ends
          see https://forum.magicmirror.builders/post/127456

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          K 1 Reply Last reply Reply Quote 0
          • K Offline
            kribbitykrab @sdetweil
            last edited by

            @sdetweil As always, thank you for the response!

            I added the pingInterval and pingTimeout lines to both MagicMirror/js/server.js and MagicMirror/js/socketclient.js as described in your link.

            I have also moved my fetchInterval into the config portion of my calendar module as you requested, and increased it to 10minutes. I added a waitFetch of 10sec into my MMM-CalendarExt3 module config, along with a refreshInterval of 10minutes.

            When I run MM now however, I am unable to reach localhost. I get an error on Midori booth that says Could not connect: Connection refused. Potentially something to do with the server.js and socketclient.js fiddling? Appreciate further guidance!

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

              @kribbitykrab i think you made a typo

              do

              npm run server
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • T Offline
                thegooroo
                last edited by

                Default CW display shows on desktop Firefox but not on Chrome/Electron when using the rpi as a display. It only show “CW 1” for each week.

                Firefox shows the correct week number “CW 32” in this weeks case. My search-fu is not finding a fix for this.

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

                  @thegooroo see
                  https://forum.magicmirror.builders/post/127160

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  T 1 Reply Last reply Reply Quote 0
                  • T Offline
                    thegooroo @sdetweil
                    last edited by

                    @sdetweil Awesome! Many thanks!

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      almightyyoshi
                      last edited by

                      Is there a way to remove the space where a symbol would be only for calendars not using a symbol?

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

                        @almightyyoshi yes

                        add

                        classes:"........ some_arbitrary_string "
                        //like this
                        classes:"foo",
                        

                        after the module: line
                        to the instance you dont want the symbols to show

                        then use

                        .arbitrary_string .symbol {
                             display:none;
                        }
                        /*like this */
                        .foo .symbol {
                             display:none;
                        }
                        

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 63
                        • 64
                        • 65
                        • 66
                        • 67
                        • 68
                        • 65 / 68
                        • 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