Read the statement by Michael Teeuw here.
Magic Mirror continuously resets when I view from browser
-
Hi All,
I’m using Raspberry Pi 3B+ running latest MM. So far so good, except when I view my mirror from the web browser it continuously resets. any suggestions? I can share config if you think that will help, thanks!
-
Does anyone know or have an alternative module to MMM-Page-Selector?
The problem is defiantly with that module, and I can’t seem to find a good work around. Soon as I view it from the browser it goes nuts and refresh’s over and over.I’m just looking for something that will allow me to set different pages I can view like “Home, Calendar, tasks”
Thanks!
-
@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 -
@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.txtthen ctrl-q to stop MagicMirror
edit the somefile. txt
-
@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. -
@Dexter1088 do you have the fix on?
i dont see server restart
-
@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 }, -
-
-
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.
-
@Dexter1088 ok. thats not the correct config
if you use the classes approach
classes: at each moduleotherwise the module names are in the page definitions
-
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!
-
Does anyone know or have an alternative module to MMM-Page-Selector?
The problem is defiantly with that module, and I can’t seem to find a good work around. Soon as I view it from the browser it goes nuts and refresh’s over and over.I’m just looking for something that will allow me to set different pages I can view like “Home, Calendar, tasks”
Thanks!
-
@Dexter1088 i’m leaving off the mmm
pages, carousel, modulesrotation
see the third party list linked in the top menu here
pages lets you use arbitrary names for the pages
-
D Dexter1088 has marked this topic as solved on
-
@sdetweil
Thankyou, went with MMM-Pages and no more refresh issues, thanks! -
@Dexter1088 awesome
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