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.

    Magic Mirror continuously resets when I view from browser

    Scheduled Pinned Locked Moved Solved Troubleshooting
    15 Posts 2 Posters 1.6k 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 @Dexter1088
      last edited by

      @Dexter1088 like to see the output at npm start on the crash

      sounds like you are using pm2 as it restarts after crash

      pm2 logs --lines=xxx
      xxx is number of most recent lines, default 15

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @Dexter1088 i deleted your post, as it exposed the calendar urls

        please check and repost

        maybe better

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

        then ctrl-q to stop MagicMirror

        edit the somefile. txt

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil
          No worries I had the calendar URL changed in the last one
          this one they are Calendar 1,2,3,4.

          pm2 shows no instances running

          Some File.txt
          
          > magicmirror@2.31.0-develop start
          > npm run start:x11
          
          
          > magicmirror@2.31.0-develop start:x11
          > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
          
          [2025-02-07 21:22:29.326] [LOG]   Starting MagicMirror: v2.31.0-develop 
          [2025-02-07 21:22:29.430] [LOG]   Loading config ... 
          [2025-02-07 21:22:29.439] [LOG]   config template file not exists, no envsubst 
          [2025-02-07 21:22:32.160] [INFO]  Checking config file /home/jj/MagicMirror/config/config.js ... 
          [2025-02-07 21:22:32.452] [INFO]  Your configuration file doesn't contain syntax errors :) 
          [2025-02-07 21:22:32.455] [INFO]  Checking modules structure configuration ... 
          [2025-02-07 21:22:32.857] [INFO]  Your modules structure configuration doesn't contain errors :) 
          [2025-02-07 21:22:32.866] [LOG]   Loading module helpers ... 
          [2025-02-07 21:22:32.929] [LOG]   Initializing new module helper ... 
          [2025-02-07 21:22:32.932] [LOG]   Module helper loaded: MMM-Page-Selector 
          [2025-02-07 21:22:32.936] [LOG]   No helper found for module: MMM-ButtonMenus. 
          [2025-02-07 21:22:32.968] [LOG]   Initializing new module helper ... 
          [2025-02-07 21:22:32.969] [LOG]   Module helper loaded: MMM-OnScreenMenu 
          [2025-02-07 21:22:33.712] [LOG]   Initializing new module helper ... 
          [2025-02-07 21:22:33.713] [LOG]   Module helper loaded: calendar 
          [2025-02-07 21:22:33.733] [LOG]   No helper found for module: MMM-CalendarExt3. 
          [2025-02-07 21:22:33.734] [LOG]   All module helpers loaded. 
          [2025-02-07 21:22:33.764] [LOG]   Starting server on port 8080 ...  
          [2025-02-07 21:22:33.774] [WARN]  You're using a full whitelist configuration to allow for all IPs 
          [2025-02-07 21:22:35.362] [LOG]   Server started ... 
          [2025-02-07 21:22:35.366] [LOG]   Connecting socket for: MMM-Page-Selector 
          [2025-02-07 21:22:35.372] [LOG]   Connecting socket for: MMM-OnScreenMenu 
          [2025-02-07 21:22:35.375] [LOG]   Connecting socket for: calendar 
          [2025-02-07 21:22:35.378] [LOG]   Starting node helper for: calendar 
          [2025-02-07 21:22:35.380] [LOG]   Sockets connected & modules started ... 
          [2025-02-07 21:22:43.076] [LOG]   Launching application. 
          [2025-02-07 21:22:48.141] [INFO]  System information:
          ### SYSTEM:   manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 3 Model B Plus Rev 1.3; virtual: false
          ### OS:       platform: linux; distro: Raspbian GNU/Linux; release: 12; arch: arm; kernel: 6.6.51+rpt-rpi-v7
          ### VERSIONS: electron: 32.2.7; used node: 23.6.0; installed node: 23.6.0; npm: 10.9.2; pm2: 5.4.3
          ### OTHER:    timeZone: America/New_York; ELECTRON_ENABLE_GPU: undefined 
          [2025-02-07 21:22:52.579] [LOG]   Create new calendarfetcher for url: Calendar1 - Interval: 3600000 
          [2025-02-07 21:22:52.878] [LOG]   Create new calendarfetcher for url: Calendar2 - Interval: 3600000 
          [2025-02-07 21:22:52.889] [LOG]   Create new calendarfetcher for url: Calendar3 - Interval: 3600000 
          [2025-02-07 21:22:52.900] [LOG]   Create new calendarfetcher for url: Calendar4 - Interval: 3600000 
          [2025-02-07 21:22:54.146] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar3. 
          [2025-02-07 21:22:54.454] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar4. 
          [2025-02-07 21:22:56.392] [INFO]  Calendar-Fetcher: Broadcasting 41 events from Calendar1. 
          [2025-02-07 21:23:00.694] [INFO]  Calendar-Fetcher: Broadcasting 203 events from Calendar2. 
          [2025-02-07 21:23:02.130] [LOG]   Use existing calendarfetcher for url: Calendar1 
          [2025-02-07 21:23:02.131] [INFO]  Calendar-Fetcher: Broadcasting 41 events from Calendar1. 
          [2025-02-07 21:23:02.154] [LOG]   Use existing calendarfetcher for url: Calendar2 
          [2025-02-07 21:23:02.156] [INFO]  Calendar-Fetcher: Broadcasting 203 events from Calendar2. 
          [2025-02-07 21:23:02.177] [LOG]   Use existing calendarfetcher for url: Calendar3 
          [2025-02-07 21:23:02.178] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar3. 
          [2025-02-07 21:23:02.186] [LOG]   Use existing calendarfetcher for url: Calendar4 
          [2025-02-07 21:23:02.188] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar4. 
          [2025-02-07 21:23:02.616] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar3. 
          [2025-02-07 21:23:02.629] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar4. 
          [2025-02-07 21:23:03.975] [INFO]  Calendar-Fetcher: Broadcasting 41 events from Calendar1. 
          [2025-02-07 21:23:08.124] [INFO]  Calendar-Fetcher: Broadcasting 203 events from Calendar2. 
          
          

          and here’s after I view from browser

          [2025-02-07 21:28:40.025] [LOG]   Use existing calendarfetcher for url: Calendar1 
          [2025-02-07 21:28:40.027] [INFO]  Calendar-Fetcher: Broadcasting 41 events from Calendar1. 
          [2025-02-07 21:28:40.047] [LOG]   Use existing calendarfetcher for url: Calendar2 
          [2025-02-07 21:28:40.048] [INFO]  Calendar-Fetcher: Broadcasting 203 events from Calendar2. 
          [2025-02-07 21:28:40.074] [LOG]   Use existing calendarfetcher for url: Calendar3 
          [2025-02-07 21:28:40.075] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar3. 
          [2025-02-07 21:28:40.084] [LOG]   Use existing calendarfetcher for url: Calendar4 
          [2025-02-07 21:28:40.085] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar4. 
          [2025-02-07 21:28:40.627] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar3. 
          [2025-02-07 21:28:40.954] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar4. 
          [2025-02-07 21:28:41.554] [LOG]   Use existing calendarfetcher for url: Calendar1 
          [2025-02-07 21:28:41.555] [INFO]  Calendar-Fetcher: Broadcasting 41 events from Calendar1. 
          [2025-02-07 21:28:41.563] [LOG]   Use existing calendarfetcher for url: Calendar2 
          [2025-02-07 21:28:41.564] [INFO]  Calendar-Fetcher: Broadcasting 203 events from Calendar2. 
          [2025-02-07 21:28:41.582] [LOG]   Use existing calendarfetcher for url: Calendar3 
          [2025-02-07 21:28:41.585] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar3. 
          [2025-02-07 21:28:41.593] [LOG]   Use existing calendarfetcher for url: Calendar4 
          [2025-02-07 21:28:41.595] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar4. 
          [2025-02-07 21:28:42.850] [INFO]  Calendar-Fetcher: Broadcasting 41 events from Calendar1. 
          [2025-02-07 21:28:42.986] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar3. 
          [2025-02-07 21:28:43.082] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar4. 
          [2025-02-07 21:28:44.268] [INFO]  Calendar-Fetcher: Broadcasting 41 events from Calendar1. 
          [2025-02-07 21:28:48.213] [INFO]  Calendar-Fetcher: Broadcasting 203 events from Calendar2. 
          [2025-02-07 21:28:52.107] [INFO]  Calendar-Fetcher: Broadcasting 203 events from Calendar2. 
          [2025-02-07 21:28:52.814] [LOG]   Use existing calendarfetcher for url: Calendar1 
          [2025-02-07 21:28:52.815] [INFO]  Calendar-Fetcher: Broadcasting 41 events from Calendar1. 
          [2025-02-07 21:28:52.831] [LOG]   Use existing calendarfetcher for url: Calendar2 
          [2025-02-07 21:28:52.832] [INFO]  Calendar-Fetcher: Broadcasting 203 events from Calendar2. 
          [2025-02-07 21:28:52.847] [LOG]   Use existing calendarfetcher for url: Calendar3 
          [2025-02-07 21:28:52.848] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar3. 
          [2025-02-07 21:28:52.857] [LOG]   Use existing calendarfetcher for url: Calendar4 
          [2025-02-07 21:28:52.858] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar4. 
          [2025-02-07 21:28:53.659] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar4. 
          [2025-02-07 21:28:53.681] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar3. 
          [2025-02-07 21:28:55.232] [INFO]  Calendar-Fetcher: Broadcasting 41 events from Calendar1. 
          [2025-02-07 21:28:55.242] [LOG]   Use existing calendarfetcher for url: Calendar1 
          [2025-02-07 21:28:55.243] [INFO]  Calendar-Fetcher: Broadcasting 41 events from Calendar1. 
          [2025-02-07 21:28:55.249] [LOG]   Use existing calendarfetcher for url: Calendar2 
          [2025-02-07 21:28:55.250] [INFO]  Calendar-Fetcher: Broadcasting 203 events from Calendar2. 
          [2025-02-07 21:28:55.261] [LOG]   Use existing calendarfetcher for url: Calendar3 
          [2025-02-07 21:28:55.262] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar3. 
          [2025-02-07 21:28:55.266] [LOG]   Use existing calendarfetcher for url: Calendar4 
          [2025-02-07 21:28:55.267] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar4. 
          [2025-02-07 21:28:55.427] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar3. 
          [2025-02-07 21:28:55.599] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar4. 
          [2025-02-07 21:28:56.695] [INFO]  Calendar-Fetcher: Broadcasting 41 events from Calendar1. 
          [2025-02-07 21:29:00.300] [INFO]  Calendar-Fetcher: Broadcasting 203 events from Calendar2. 
          [2025-02-07 21:29:04.126] [INFO]  Calendar-Fetcher: Broadcasting 203 events from Calendar2. 
          [2025-02-07 21:29:04.625] [LOG]   Use existing calendarfetcher for url: Calendar1 
          [2025-02-07 21:29:04.626] [INFO]  Calendar-Fetcher: Broadcasting 41 events from Calendar1. 
          [2025-02-07 21:29:04.643] [LOG]   Use existing calendarfetcher for url: Calendar2 
          [2025-02-07 21:29:04.644] [INFO]  Calendar-Fetcher: Broadcasting 203 events from Calendar2. 
          [2025-02-07 21:29:04.659] [LOG]   Use existing calendarfetcher for url: Calendar3 
          [2025-02-07 21:29:04.660] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar3. 
          [2025-02-07 21:29:04.666] [LOG]   Use existing calendarfetcher for url: Calendar4 
          [2025-02-07 21:29:04.667] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar4. 
          [2025-02-07 21:29:04.946] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar3. 
          [2025-02-07 21:29:05.487] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar4. 
          [2025-02-07 21:29:06.690] [INFO]  Calendar-Fetcher: Broadcasting 41 events from Calendar1. 
          [2025-02-07 21:29:10.874] [INFO]  Calendar-Fetcher: Broadcasting 203 events from Calendar2. 
          [2025-02-07 21:29:11.655] [LOG]   Use existing calendarfetcher for url: Calendar1 
          [2025-02-07 21:29:11.657] [INFO]  Calendar-Fetcher: Broadcasting 41 events from Calendar1. 
          [2025-02-07 21:29:11.668] [LOG]   Use existing calendarfetcher for url: Calendar2 
          [2025-02-07 21:29:11.669] [INFO]  Calendar-Fetcher: Broadcasting 203 events from Calendar2. 
          [2025-02-07 21:29:11.686] [LOG]   Use existing calendarfetcher for url: Calendar3 
          [2025-02-07 21:29:11.687] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar3. 
          [2025-02-07 21:29:11.694] [LOG]   Use existing calendarfetcher for url: Calendar4 
          [2025-02-07 21:29:11.695] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar4. 
          [2025-02-07 21:29:12.037] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar3. 
          [2025-02-07 21:29:12.131] [INFO]  Calendar-Fetcher: Broadcasting 0 events from Calendar4. 
          
          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Dexter1088
            last edited by

            @Dexter1088 do you have the fix on?

            https://forum.magicmirror.builders/topic/19282/version-2-30-0-calendar-fix-for-clipping-broadcast-events

            i dont see server restart

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @sdetweil
              I do, after some troubleshooting I think the error is with how I have the Calendar ext3 config setup.
              Soon as I take this code out, everything works fine from browser and no resets.
              I will look it over make sure I’m not doing something wrong.

              /*/ CALENDAR EXT3
              	
                      {
                          module: "MMM-CalendarExt3",
                          pages: {
                             
                              calendar: "middle_center"
                          },
                          config: {
                              mode: "month",
                              instanceId: "Main_Calendar",
                              locale: "en-US",
              		maxEventLines: 5,
                              firstDayOfWeek: 1,
                              monthIndex: 0,
                              calendarSet: 
              		[
                                  'Calendar 1',
                                  'Calendar 2',
              		    'Calendar 3',
              		    'Calendar 4'
                              ],
              		
                              fontSize: "18x",
              		eventHeight: "22px",
                              useSymbol: true,
                              displayLegend: true,
                              cellDateOptions: {
                                  month: "short",
                                  day: "numeric"
                              },
                              headerWeekDayOptions: {
                                  weekday: "long"
                              },
                              eventTimeOptions: {
                                  timeStyle: "short"
                              },
                              animationSpeed: 1000,
                              skipPassedEventToday: false,
                              showMore: true,
                              useMarquee: false,
              
               refreshInterval: 1000000 ,
                  scanInterval: 100000,                      
                  broadcastPastEvents: true
                          }, 
              
              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @Dexter1088
                last edited by

                @Dexter1088 broadcastPastEvents is a default cal parm

                what is the pages:{} thing

                not in ext3

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                D 2 Replies Last reply Reply Quote 0
                • D Offline
                  Dexter1088 @sdetweil
                  last edited by

                  @sdetweil

                  https://github.com/edward-shen/MMM-pages

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

                    @sdetweil

                    That’s the problem though, soon as I take out the pages, the web view works fine. something fishy with it. Weird it works on the Raspberry Pi directly just fine.

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

                      @Dexter1088 ok. thats not the correct config

                      if you use the classes approach
                      classes: at each module

                      otherwise the module names are in the page definitions

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        Dexter1088 @Dexter1088
                        last edited by

                        I’m an idiot, sorry its not MMM-Pages its MMM-Page selector…

                        https://github.com/Veldrovive/MMM-Page-Selector

                        I’m working with it now to see if I have it in the wrong spot, but it’s defiantly what is causing the constant reboots/refresh’s. Thanks!

                        1 Reply Last reply Reply Quote 0
                        • 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