• 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.

Google Calendar issues

Scheduled Pinned Locked Moved Unsolved Troubleshooting
17 Posts 3 Posters 2.7k 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.
  • 1 Offline
    1lolo94 @sdetweil
    last edited by Jan 28, 2024, 10:52 PM

    @sdetweil Yes it does.

    S 1 Reply Last reply Jan 28, 2024, 11:38 PM Reply Quote 0
    • S Offline
      sdetweil @1lolo94
      last edited by Jan 28, 2024, 11:38 PM

      @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 Jan 28, 2024, 11:49 PM Reply Quote 0
      • 1 Offline
        1lolo94 @sdetweil
        last edited by Jan 28, 2024, 11:49 PM

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

        S 1 Reply Last reply Jan 29, 2024, 12:03 AM Reply Quote 0
        • S Offline
          sdetweil @1lolo94
          last edited by Jan 29, 2024, 12:03 AM

          @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 Jan 29, 2024, 12:07 AM

            @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 Jan 29, 2024, 12:14 AM Reply Quote 0
            • S Offline
              sdetweil @1lolo94
              last edited by Jan 29, 2024, 12:14 AM

              @1lolo94 need more lines

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 1 Reply Last reply Jan 29, 2024, 12:17 AM Reply Quote 0
              • 1 Offline
                1lolo94 @sdetweil
                last edited by Jan 29, 2024, 12:17 AM

                @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 Jan 29, 2024, 12:29 AM Reply Quote 0
                • S Offline
                  sdetweil @1lolo94
                  last edited by Jan 29, 2024, 12:29 AM

                  @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 Jan 29, 2024, 9:37 PM

                    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 Jan 29, 2024, 9:52 PM Reply Quote 0
                    • S Offline
                      sdetweil @ZiggidyZ
                      last edited by sdetweil Jan 29, 2024, 9:53 PM Jan 29, 2024, 9:52 PM

                      @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 Jan 29, 2024, 10:40 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        10/17
                        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