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
    689 Posts 82 Posters 2.8m Views 86 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.
    • BKeyportB Offline
      BKeyport Module Developer @luisestrada
      last edited by

      @luisestrada ahh, that must be it. Although I’ve had pro icons before.

      The "E" in "Javascript" stands for "Easy"

      1 Reply Last reply Reply Quote 0
      • luisestradaL Offline
        luisestrada
        last edited by

        Screen Shot 2022-08-27 at 12.05.59 AM.png

        Thank you very much.

        It took me some time to figure out that I could use symbol: “blank”, to not to show any icon, I was getting an error because before, I was using symbol: null :beaming_face_with_smiling_eyes:

        It’s working exactly as I wanted :)

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

          Small news.
          Now it could get the events from randomBrainstormer/MMM-GoogleCalendar module also.

          N 1 Reply Last reply Reply Quote 0
          • N Offline
            nmacd @MMRIZE
            last edited by

            @MMRIZE Thank you all for your help! I got fresh copies of everything and was more careful when making changes, it now works which is great. The new issue I am having is it’s only displaying 11 appointments, 10 Google calendar and 1 US Holiday. When I delete an event the next one later down the calendar shows up. Is there a setting to set the max entries or something to that nature?

            N 1 Reply Last reply Reply Quote 0
            • N Offline
              nmacd @nmacd
              last edited by

              @nmacd My bad just found it, the default calendar had the limit, all set thanks again

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

                Hi
                I would like to know how to make the calendar smaller. As you can see in the picture, my tv is in portrait, and the calendar takes up a lot of space. Where and what changes in custom css could I make to make it smaller and more rectangular? Thank you.

                mmirror2.jpg

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

                  @techlady
                  Adjust ‘maxEventLines’ and ‘eventHeight’. The heighr of day cell would be calculated by maxEventLines x eventHeight.

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

                    Hi Guys,

                    Just installed a brand new MM instance and downloaded the latest MMM-CalendarExt3 but for some reason i get no entries from my google calendars…

                    I get entries if i setup MMM-CalendarExt2 or the default calendar but not on MMM-CalendarExt3…

                    Here is my Config

                    {
                      module: "MMM-CalendarExt3",
                      position: "bottom_center",
                      config: {
                        mode: "month",
                        instanceId: "basicCalendar",
                        locale: 'en-UK',
                    	fontSize: '25px',
                    	refreshInterval: 10000,
                        maxEventLines: 5,
                        firstDayOfWeek: 1,
                        calendarSet: ["KD", "Tini"],
                    		}
                    	},
                    	{
                      module: "calendar",
                      config: {
                        broadcastPastEvents: true, 
                        calendars: [
                    	{
                    			name: "KD",
                    			className: "KD",
                    			url: "https://calendar.google.com/calendar/ical/basic.ics",
                    			color: "green"
                    		},
                    		{
                    			name: "Tini",
                    			className: "tini",
                    			url: "https://calendar.google.com/calendar/ical/basic.ics",
                    			color: "pink"
                    		},
                    	]
                    	}
                          },
                    

                    Screenshot 2022-09-10 193724.png

                    S 1 Reply Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @KD
                      last edited by

                      @KD if you use the calendar url in a browser, it should download a file, just text. you an edit that to see if there are events

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

                        @sdetweil Hi there - i can download the file by putting the URL in the browser and open it in Outlook and see the events…

                        Also, I use both URL’s in another 2 magic mirrors I have in the house… I’m confident it’s not the URL’s

                        S 1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @KD
                          last edited by sdetweil

                          @KD ok, this looks like the bug I introduced in 2.20. fixed in 2.21, October 1

                          broadcastPastEvents loads up the past events then the new, and the bug cuts off after the 1st maximumEntries

                          so u have to increase maximum entries

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

                            @sdetweil Thanks Sam - do you mean “maxEventLines”?
                            Screenshot 2022-09-10 193724.png

                            If yes I have set them up to 10 now and still nothing

                              module: "MMM-CalendarExt3",
                              position: "bottom_center",
                              config: {
                                mode: "month",
                                instanceId: "basicCalendar",
                                locale: 'en-UK',
                            	fontSize: '25px',
                            	refreshInterval: 10000,
                                maxEventLines: 10,
                                firstDayOfWeek: 1,
                                calendarSet: ["KD", "Tini"],
                            		}
                            	},
                            
                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @KD
                              last edited by

                              @KD no in the base calendar module. default
                              maximumEntries defaults to 10,
                              that is where you have broadcastPastEvents:true

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

                                @sdetweil Thank you Sam, i tried that and still nothing…

                                Here is my config now:

                                {
                                  module: "MMM-CalendarExt3",
                                  position: "bottom_center",
                                  config: {
                                    mode: "month",
                                    instanceId: "basicCalendar",
                                    locale: 'en-UK',
                                	fontSize: '25px',
                                	refreshInterval: 10000,
                                    maxEventLines: 10,
                                    firstDayOfWeek: 1,
                                    calendarSet: ["KD", "Tini"],
                                		}
                                	},
                                	{
                                  module: "calendar",
                                  config: {
                                    broadcastPastEvents: true, 
                                    maximumEntries: 100,
                                    calendars: [
                                	{
                                			name: "KD",
                                			className: "KD",
                                			url: "https://calendar.google.com/calendar/ical/basic.ics",
                                			color: "green"
                                		},
                                		{
                                			name: "Tini",
                                			className: "tini",
                                			url: "https://calendar.google.com/calendar/ical/basic.ics",
                                			color: "pink"
                                		},
                                	]
                                	}
                                      },
                                
                                S 1 Reply Last reply Reply Quote 0
                                • S Do not disturb
                                  sdetweil @KD
                                  last edited by

                                  @KD for the short term add

                                  position: “top_left”,

                                  to the calendar module location

                                  let’s make sure it is working

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

                                    @sdetweil Thanks Sam - I now get Loading… than “error in the calendar module check log for more details” and finally no upcoming events… not sure how I have broken it as it was working yesterday… i also tried to replace the default calendar with

                                    git checkout modules/default/calendar/calendar.js
                                    

                                    As per one of your other posts in the forum but got "updated 0 (zero) paths from the index…

                                    S 1 Reply Last reply Reply Quote 0
                                    • S Do not disturb
                                      sdetweil @KD
                                      last edited by sdetweil

                                      @KD u have to be I the MagicMirror folder for the git checkout to work

                                      you should not have changed that file anyhow

                                      all config is done thru config.js

                                      can u show the output where u start mm?

                                      either npm start
                                      or if you use pm2, then

                                      pm2 logs --lines=50

                                      calendarext3, gets it’s info from the default calendar. so if it has problems, then u get nothing

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

                                        @sdetweil here is an output from “npm start”

                                        kd@raspberrypi:~/MagicMirror $ npm start
                                        
                                        > magicmirror@2.20.0 start
                                        > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                                        
                                        [11.09.2022 14:00.12.728] [LOG]   Starting MagicMirror: v2.20.0
                                        [11.09.2022 14:00.12.736] [LOG]   Loading config ...
                                        [11.09.2022 14:00.12.743] [LOG]   Loading module helpers ...
                                        [11.09.2022 14:00.12.745] [LOG]   No helper found for module: clock.
                                        [11.09.2022 14:00.12.747] [LOG]   No helper found for module: MMM-CalendarExt3.
                                        [11.09.2022 14:00.13.011] [LOG]   Initializing new module helper ...
                                        [11.09.2022 14:00.13.012] [LOG]   Module helper loaded: calendar
                                        [11.09.2022 14:00.13.013] [LOG]   No helper found for module: weather.
                                        [11.09.2022 14:00.13.554] [LOG]   Initializing new module helper ...
                                        [11.09.2022 14:00.13.556] [LOG]   Module helper loaded: MMM-BackgroundSlideshow
                                        [11.09.2022 14:00.13.558] [LOG]   All module helpers loaded.
                                        [11.09.2022 14:00.13.725] [LOG]   Starting server on port 8080 ... 
                                        [11.09.2022 14:00.13.745] [LOG]   Server started ...
                                        [11.09.2022 14:00.13.747] [LOG]   Connecting socket for: calendar
                                        [11.09.2022 14:00.13.748] [LOG]   Starting node helper for: calendar
                                        [11.09.2022 14:00.13.749] [LOG]   Connecting socket for: MMM-BackgroundSlideshow
                                        [11.09.2022 14:00.13.750] [LOG]   Sockets connected & modules started ...
                                        [11.09.2022 14:00.14.038] [ERROR] Whoops! There was an uncaught exception...
                                        [11.09.2022 14:00.14.046] [ERROR] Error: listen EADDRINUSE: address already in use 127.0.0.1:8080
                                            at Server.setupListenHandle [as _listen2] (node:net:1372:16)
                                            at listenInCluster (node:net:1420:12)
                                            at GetAddrInfoReqWrap.doListen [as callback] (node:net:1559:7)
                                            at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:73:8) {
                                          code: 'EADDRINUSE',
                                          errno: -98,
                                          syscall: 'listen',
                                          address: '127.0.0.1',
                                          port: 8080
                                        }
                                        [11.09.2022 14:00.14.048] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                                        [11.09.2022 14:00.14.052] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                                        [11.09.2022 14:00.14.099] [LOG]   Launching application.
                                        MESA-LOADER: failed to retrieve device information
                                        MESA-LOADER: failed to retrieve device information
                                        MESA-LOADER: failed to retrieve device information
                                        MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri)
                                        failed to load driver: kms_swrast
                                        MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri)
                                        failed to load swrast driver
                                        [11.09.2022 14:00.17.129] [LOG]   Shutting down server...
                                        [11.09.2022 14:00.17.136] [LOG]   Stopping module helper: calendar
                                        [11.09.2022 14:00.17.137] [LOG]   Stopping module helper: MMM-BackgroundSlideshow
                                        kd@raspberrypi:~/MagicMirror $ 
                                        
                                        
                                        
                                        S 1 Reply Last reply Reply Quote 0
                                        • S Do not disturb
                                          sdetweil @KD
                                          last edited by

                                          @KD yep, two copies running

                                          pm2 stop all
                                          then u can do npm start

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

                                            @sdetweil Apologies yes i had a PM2 job in the background…

                                            Here is the fresh output:

                                            kd@raspberrypi:~/MagicMirror $ npm start
                                            
                                            > magicmirror@2.20.0 start
                                            > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                                            
                                            [11.09.2022 14:07.14.079] [LOG]   Starting MagicMirror: v2.20.0
                                            [11.09.2022 14:07.14.088] [LOG]   Loading config ...
                                            [11.09.2022 14:07.14.094] [LOG]   Loading module helpers ...
                                            [11.09.2022 14:07.14.097] [LOG]   No helper found for module: clock.
                                            [11.09.2022 14:07.14.099] [LOG]   No helper found for module: MMM-CalendarExt3.
                                            [11.09.2022 14:07.14.368] [LOG]   Initializing new module helper ...
                                            [11.09.2022 14:07.14.370] [LOG]   Module helper loaded: calendar
                                            [11.09.2022 14:07.14.371] [LOG]   No helper found for module: weather.
                                            [11.09.2022 14:07.14.976] [LOG]   Initializing new module helper ...
                                            [11.09.2022 14:07.14.978] [LOG]   Module helper loaded: MMM-BackgroundSlideshow
                                            [11.09.2022 14:07.14.979] [LOG]   All module helpers loaded.
                                            [11.09.2022 14:07.15.149] [LOG]   Starting server on port 8080 ... 
                                            [11.09.2022 14:07.15.168] [LOG]   Server started ...
                                            [11.09.2022 14:07.15.170] [LOG]   Connecting socket for: calendar
                                            [11.09.2022 14:07.15.172] [LOG]   Starting node helper for: calendar
                                            [11.09.2022 14:07.15.173] [LOG]   Connecting socket for: MMM-BackgroundSlideshow
                                            [11.09.2022 14:07.15.174] [LOG]   Sockets connected & modules started ...
                                            [11.09.2022 14:07.15.516] [LOG]   Launching application.
                                            MESA-LOADER: failed to retrieve device information
                                            MESA-LOADER: failed to retrieve device information
                                            MESA-LOADER: failed to retrieve device information
                                            MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri)
                                            failed to load driver: kms_swrast
                                            MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri)
                                            failed to load swrast driver
                                            [11.09.2022 14:07.19.711] [LOG]   Create new calendarfetcher for url: https://calendar.google.com/calendar/ - Interval: 300000
                                            [11.09.2022 14:07.19.985] [INFO]  BACKGROUNDSLIDESHOW: Reading directory "modules/MMM-BackgroundSlideshow/exampleImages/" for images.
                                            [11.09.2022 14:07.20.006] [INFO]  BACKGROUNDSLIDESHOW: 171 files found
                                            [11.09.2022 14:07.20.057] [INFO]  BACKGROUNDSLIDESHOW_NEXT_IMAGE
                                            [11.09.2022 14:07.20.058] [INFO]  BACKGROUNDSLIDESHOW: reading path "modules/MMM-BackgroundSlideshow/exampleImages//DSC_0038.JPG"
                                            [11.09.2022 14:07.20.493] [INFO]  Calendar-Fetcher: Broadcasting 0 events.
                                            [11.09.2022 14:07.29.492] [LOG]   Shutting down server...
                                            [11.09.2022 14:07.29.493] [LOG]   Stopping module helper: calendar
                                            [11.09.2022 14:07.29.494] [LOG]   Stopping module helper: MMM-BackgroundSlideshow
                                            kd@raspberrypi:~/MagicMirror $ 
                                            
                                            S 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 22
                                            • 23
                                            • 24
                                            • 25
                                            • 26
                                            • 34
                                            • 35
                                            • 24 / 35
                                            • 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