Thanks Sam, I have a smaller Dell monitor that I use for working and the 32" Philips TV/Monitor connected via HDMI. I want the large screen to have MagicMirror on it all the time but if I make a config change it restarts and put MM on the smaller Dell monitor. I do not understand the errors it is creating as I know literally nothing about java script.
Read the statement by Michael Teeuw here.
Posts
-
RE: dedicated monitor for MM??
-
RE: MM as rolling picture frame
Posting pictures on MM was something I am doing also. I’m using sdetweil
MMM-ImagesPhotos from third party modules. It was easy to setup and works well. You have to store your images in a local directory inside the module. It has several options available which I have not looked into yet. Just set it up yesterday. -
dedicated monitor for MM??
I’ve just started with MM and am trying to use our TV, as the main monitor for Magic Mirror. I have tried to understand the information I have found online but when I implement it it fails. The docs say to add electronOpitions {x: 1920} to the config.js file.
Here is the start of my config.js file:let config = {
electronOptions: {x: 1680},
address: “localhost”, // Address to listen on, can be:Naturally there is comments before this and a whole lot after it but this is what I understand was to be added. The 1680 is the width of my smaller, 21", monitor as reported by the RPI display information. My other monitor is 1920.
It was my impression that the X: 1680 would keep MM from using that monitor and force it to the larger on. When it didn’t happen like I thought it should I looked at the error log and discovered there is some error I have not been able to resolve. Error log follows:
0|MagicMir |
0|MagicMir | [1387:0731/194921.175901:ERROR:ui/events/platform/wayland/wayland_event_watcher.cc:47] libwayland: wl_shm_pool#47 still attached
0|MagicMir |
0|MagicMir | [2846:0731/195036.124888:ERROR:ui/events/platform/wayland/wayland_event_watcher.cc:78] Fatal Wayland communication error: Broken pipe.
0|MagicMir | [2846:0731/195036.125228:FATAL:electron/shell/browser/electron_browser_main_parts.cc:502] Failed to shutdown.
0|MagicMir | [1395:0801/090349.588565:ERROR:ui/ozone/platform/wayland/host/wayland_data_drag_controller.cc:161] Invalid state when trying to start drag. source=kMouse
0|MagicMir | /home/ron/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
0|MagicMir | Gdk-Message: 09:06:17.724: Error reading events from display: Broken pipe
0|MagicMir | /home/ron/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
0|MagicMir | [2025-08-01 15:00:38.013] [ERROR] Your configuration file contains syntax errors :(
0|MagicMir | Line 12 column 34: Parsing error: Unexpected token heightI copied everything from where the errors start down to the line for electronOptions the last line above is what I’m having trouble comprehending.
I have researched the error message and not found anything that made sense to me. The errors about that I have no idea what they mean. If someone could explain why the electronOptions is failing I would be happy. It is a direct copy from what I found online. I also tried the width: Height: suggestion I found but that didn’t help either.One other little thing that happens is if I reboot the computer, RPI 4, MM comes up on the monitor I want. If I restart MM after making a change to config.js it comes up on the smaller monitor, the only way to get it back to the larger one is to reboot the computer.
Thanks for sticking with me for this long message. I appreciate any and all help.
Ron R
-
Google Calendar error during Authorize
I’m brand new to Magic Mirror have gotten my OpenWeather module working now I’m trying to get Google calendar to work. I have gone through the setup and to the Authorize step and it throws errors. I know the request worked because I see the next 10 calendar events on my terminal screen so I have some of it working.
OH, I and running an RPI 4 with 4 gb ram and MM version 2.32.0
The error log is:
0|mm | [2025-07-23 19:03:05.712] [ERROR] MMM-GoogleCalendar Error. Could not fetch calendar: MyGoogleCalendarIDHere Error: Error
0|mm | Message: Not Found
0|mm | Stack: Error: Not Found
0|mm | at Gaxios._request (/home/ron/MagicMirror/modules/MMM-GoogleCalendar/node_modules/gaxios/build/src/gaxios.js:142:23) ***Translate Response???
0|mm | at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
0|mm | at async OAuth2Client.requestAsync (/home/ron/MagicMirror/modules/MMM-GoogleCalendar/node_modules/google-auth-library/build/src/auth/oauth2client.js:429:18) ****r2 = await this.transporter.request(opts); ************
0|mm | [2025-07-23 19:03:05.728] [ERROR] (node:1415) UnhandledPromiseRejectionWarning: TypeError: request?.response?.data?.error?.toUpperCase is not a function
0|mm | at Class.checkForHTTPError (/home/ron/MagicMirror/modules/MMM-GoogleCalendar/node_helper.js:257:44)
0|mm | at /home/ron/MagicMirror/modules/MMM-GoogleCalendar/node_helper.js:301:30
0|mm | at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
0|mm | (Useelectron --trace-warnings ...to show where the warning was created)
0|mm | [2025-07-23 19:03:05.731] [ERROR] (node:1415) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)If you see a series of ‘*’ it is what I found at the line number the error points at.
Authorize.js is supposed to return a URL to use in MM but I get the errors.
Thanks in advance for any help.