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.

    Google Calendar issues

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    17 Posts 3 Posters 5.4k 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 Do not disturb
      sdetweil @1lolo94
      last edited by

      @1lolo94 ok that’s not the default calendar, so I don’t know.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @1lolo94 if you use the url in a browser does it download the ICS file?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil Yes it does.

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

            @1lolo94 can u show the messages were you start mm, npm start .

            if you use pm2, then

            pm2 logs --lines=50

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 2 Replies Last reply Reply Quote 0
            • 1 Offline
              1lolo94 @sdetweil
              last edited by

              @sdetweil - can you explain more on what you’re requesting? Sorry!! I just started all this last night

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

                @1lolo94 when MagicMirror starts, using the command npm start, the components that run on the server side output message to the terminal window.

                if you used my script to install, and said yes to use pm2 to autostart,

                then the pm2 command launches a little script, which issues the npm start command, and captures that output for display or review later.

                then you can use the command

                pm2 logs --lines=nnn

                where nnn is a number of lines to display. default 15

                one thing to know about Linux.
                by convention, each command outputs it’s command parms when executed with --help

                so
                pm2 --help

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @sdetweil tried it and this is what i see

                  [28.01.2024 19:05.36.543] [INFO] updatenotification: You are not using pm2

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

                    @1lolo94 need more lines

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @sdetweil

                      magicmirror@2.26.0 start
                      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

                      [28.01.2024 19:05.32.973] [LOG] Starting MagicMirror: v2.26.0
                      [28.01.2024 19:05.32.981] [LOG] Loading config …
                      [28.01.2024 19:05.32.986] [DEBUG] config template file not exists, no envsubst
                      [28.01.2024 19:05.32.993] [LOG] Loading module helpers …
                      [28.01.2024 19:05.32.996] [LOG] No helper found for module: alert.
                      [28.01.2024 19:05.33.066] [LOG] Initializing new module helper …
                      [28.01.2024 19:05.33.067] [LOG] Module helper loaded: updatenotification
                      [28.01.2024 19:05.33.069] [LOG] No helper found for module: clock.
                      [28.01.2024 19:05.33.070] [LOG] No helper found for module: MMM-MonthlyCalendar.
                      [28.01.2024 19:05.33.073] [LOG] No helper found for module: weather.
                      [28.01.2024 19:05.33.074] [LOG] All module helpers loaded.
                      [28.01.2024 19:05.33.091] [LOG] Starting server on port 8080 …
                      [28.01.2024 19:05.33.494] [LOG] Server started …
                      [28.01.2024 19:05.33.496] [LOG] Connecting socket for: updatenotification
                      [28.01.2024 19:05.33.498] [LOG] Starting module helper: updatenotification
                      [28.01.2024 19:05.33.499] [LOG] Sockets connected & modules started …
                      [28.01.2024 19:05.33.535] [LOG] Launching application.
                      [28.01.2024 19:05.36.493] [INFO] updatenotification: Updater Class Loaded!
                      [28.01.2024 19:05.36.494] [INFO] updatenotification: Checking PM2 using…
                      [28.01.2024 19:05.36.543] [INFO] updatenotification: You are not using pm2
                      [28.01.2024 19:05.36.681] [INFO] Checking git for module: MMM-MonthlyCalendar
                      [28.01.2024 19:05.36.718] [INFO] Checking git for module: MagicMirror
                      [28.01.2024 19:05.40.617] [LOG] Shutting down server…
                      [28.01.2024 19:05.40.618] [LOG] Stopping module helper: updatenotification
                      [28.01.2024 19:05.40.619] [LOG] Node_helpers stopped …

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

                        @1lolo94 said in Google Calendar issues:

                        MMM-MonthlyCalendar

                        ok, that is an add on calendar module

                        which appears to do all its operations in the browser side.

                        so on the running mm screen, press ctrl-shift-i ,
                        to open the developers window, and the select the console tab, and enter a unique part of the module name in the filter field, to show just the messages from that module , so month

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • Z Offline
                          ZiggidyZ
                          last edited by

                          I noticed that in the config file you included in a previous post that you do NOT have the default calendar module in there. My thoughts are that this MMM-MonthlyCalendar has some dependency on that the default module, and without it noted in the config you aren’t getting what you expect.

                          As a STARTING point I would recommending adding this to your config file. I’d suggest making sure THAT calendar is working. If it DOES show Holidays but your Google calendar is still NOT working, I would suggest removing the US Holiday link and replace it with your Google calendar link. Then try again.

                          Additionally, the config options for that module you are trying to use does NOT show url as a config option. That likely has to be called from the default module. A concern I am sure you are having is that you don’t want to SEE the default module. I HIGHLY recommend that you use it for the purposes of troubleshooting. Once you get to a point where the MMM-MonthlyCalendar starts working, simply remove or comment out the POSITION line for the default calendar module in your config.

                          Also, did you edit any of the files in the modules in any way? If so, you may want to remove them and install the module again.

                          {
                          			module: "calendar",
                          			header: "US Holidays",
                          			position: "top_left",
                          			config: {
                          				calendars: [
                          					{
                          						fetchInterval: 7 * 24 * 60 * 60 * 1000,
                          						symbol: "calendar-check",
                          						url: "https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics"
                          					}
                          				]
                          			}
                          		},
                          
                          S 1 Reply Last reply Reply Quote 0
                          • S Do not disturb
                            sdetweil @ZiggidyZ
                            last edited by sdetweil

                            @ZiggidyZ you do not have to install again
                            each module installed (cloned) from GitHub includes the git source repository too.

                            so
                            git checkout filename
                            will restore filename to its repo contents

                            git status will tell you which files changed,and
                            git diff will show you the changes

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            Z 1 Reply Last reply Reply Quote 0
                            • Z Offline
                              ZiggidyZ @sdetweil
                              last edited by

                              @sdetweil

                              Thank you!! Good to know! I am not very good with Linux, knowing only enough to really foul things up.

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

                                @ZiggidyZ no problem
                                we all learn as we go… I learn new stuff every day.

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

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