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.

    Default calendar is just loading! (Newbie)

    Scheduled Pinned Locked Moved Solved Troubleshooting
    23 Posts 2 Posters 7.1k Views 2 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.
    • M Offline
      Max 0
      last edited by Max 0

      I`ve tried to personalize the default calendar module, but since I changed the code it is just loading and showing the header. I´ve already re-programmed the code of the standard calendar, but that changes absolutly nothing. I´ve also tried it with the MMM-MyCalendar Module but even that doesn´t help.
      I have quadruple checked the code in the config file of both modules but couldn´t find an error. Also in the developers menu there isn´t an error shown. Does someone can help me? :upside-down_face: If you need more information just ask!

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

        I tried to delete and reinstall the whole programm. But now it won´t even start anymore and the last message in the terminal is “MESA-LOADER: failed to retrieve device information”

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

          @Max-0 the calendar ics parser runs in the node_helper… its messages are output in the npm start window… or if using pm2 to autostart ,
          pm2 logs --lines=100

          you can also add “DEBUG” to the

          	logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
          

          in config.js

          because there is so much output, I would do

          pm2 stop all 
          cd ~/MagicMirror
          npm start >somefile.txt 2>&1
          

          then after MM starts and no calendar appears… wait 15 secconds
          ctrl-m on the MM window to minimize and press ctrl-c to stop mm.

          the the contents of somefile.txt will give me the info to debug

          send to this same userid at gmail
          don’t post here or in mm issue as there is private data shown in the logs

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • M Offline
              Max 0
              last edited by

              @sdetweil I think I sent an email?

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

                @Max-0 I do not see any email

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  What is the exact gmail?

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

                    @Max-0 what is my username here

                    use that at gmail

                    .com

                    sorry I won’t type it out these pages are scanned
                    for seat engines and no chatgpt type ai engines

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @sdetweil I just did that?

                      Is that correct? yes.

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

                        @Max-0 but you did not set the debug in config.js first

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        M S 2 Replies Last reply Reply Quote 0
                        • M Offline
                          Max 0 @sdetweil
                          last edited by

                          @sdetweil If you mean to add “DEBUG” in the config list, i did that but i can do it again and send you another mail

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

                            yes. there should be about 1000 lines of output in the file

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

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

                              @sdetweil I’ve definitely set Debug to the log level list, but I’m still getting those same some file.txt lines

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

                                @Max-0 show me the loglevel from config.js, should look line this

                                	logLevel: ["INFO", "LOG", "WARN", "ERROR", "DEBUG"], 
                                

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

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

                                  @sdetweil here 2023-08-24-213145_1680x1050_scrot.png

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

                                    @Max-0 ok, when you run npm start you should see stuff like this
                                    default US holidy cal, one event

                                    UG] Event:
                                    {"type":"VEVENT","params":[],"summary":"Labor Day","start":"2023-09-04T05:00:00.000Z","datetype":"date","end":"2023-09-04T05:00:00.000Z","location":"United States","description":"Visit https://c>
                                    [24.08.2023 15:01.51.477] [DEBUG] start: Mon Sep 04 2023 00:00:00 GMT-0500 (Central Daylight Time)
                                    [24.08.2023 15:01.51.477] [DEBUG] end:: Mon Sep 04 2023 00:00:00 GMT-0500 (Central Daylight Time)
                                    [24.08.2023 15:01.51.477] [DEBUG] duration: 0
                                    [24.08.2023 15:01.51.477] [DEBUG] title: Labor Day
                                    [24.08.2023 15:01.51.477] [DEBUG]  if no tz, guess based on now
                                    [24.08.2023 15:01.51.485] [DEBUG] initial tz=America/Chicago
                                    [24.08.2023 15:01.51.485] [DEBUG] corrected tz=America/Chicago
                                    [24.08.2023 15:01.51.485] [DEBUG] start date/time=Mon Sep 04 2023 00:00:00 GMT-0500 (Central Daylight Time)
                                    [24.08.2023 15:01.51.486] [DEBUG] start offset=-300
                                    [24.08.2023 15:01.51.486] [DEBUG] start date/time w tz =Mon Sep 04 2023 00:00:00 GMT-0500 (Central Daylight Time)
                                    [24.08.2023 15:01.51.486] [DEBUG] event date=Mon Sep 04 2023 00:00:00 GMT-0500 (Central Daylight Time)
                                    [24.08.2023 15:01.51.487] [DEBUG] event offset=-300 hour=0 event date=Mon Sep 04 2023 00:00:00 GMT-0500 (Central Daylight Time)
                                    [24.08.2023 15:01.51.487] [DEBUG] adjustHours=0
                                    [24.08.2023 15:01.51.487] [DEBUG] Processing entry...
                                    [24.08.2023 15:01.51.487] [DEBUG] Event:
                                    

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

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

                                      @sdetweil If you mean this should be in the somefile.txt, I double checked your instructions and did it a few times but I´m getting over and over the same text in the file! But I do not fully understand what you mean by 1 event in the calendar. Also when I check the dev console in the mirror, there are some errors which say "Refused to apply style "/“Error on loading stylesheet: css/custom.css” (Idk if that is important)

                                      S 2 Replies Last reply Reply Quote 0
                                      • S Offline
                                        sdetweil @Max 0
                                        last edited by

                                        @Max-0 I am just showing 1 event from the debug log

                                        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 @Max 0
                                          last edited by

                                          @Max-0 do

                                          pm2 stop all
                                          cd ~/MagicMirror
                                          npm start >somefile.txt
                                          

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

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

                                            @sdetweil without the 2>&1 behind the npm command, I´m getting less information than before! (is it important for the words int he command to be bold?)

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

                                              @Max-0 no bold in any of my command strings… command prompt doesn’t do bold anyhow…

                                              got no idea where u are having trouble. this is the simplest command set ever

                                              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
                                              • 2
                                              • 1 / 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