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 5.2k 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.
    • 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
                        • 1
                        • 2
                        • 3
                        • 3 / 3
                        • 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