Hi,
I am trying to read and display from a local json file using this module.
config:
url: ‘https://localhost:8080/modules/MMM-JsonTable/myList.json’,
arrayName: ‘items’,
keepColumns: ‘name’
I get following errors:
[2025-06-29 19:01:30.116] [ERROR] (node:109589) UnhandledPromiseRejectionWarning: TypeError: fetch failed
at node:internal/deps/undici/undici:13502:13
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
[2025-06-29 19:01:30.116] [ERROR] (node:109589) 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: 2)
myList.json in module directory -from the example on github with item and name only.
It stays at loading with those errors.
What am I doing wrong? Please help. Thanks.
.
Every day/week we ask ourselves the same questions: “What’s for dinner?” or “What should I cook?”
This is how the idea for this module came to me.
MMM-WhatsForDinner is a module that uses AI to suggest personalized dinner ideas based on your local weather, food preferences, and household needs.
[image: MMM-WhatsForDinner-Main.png]
The module is still in it’s infancy but I wanted to get it out there to get feedback. This is my first module so it might not be perfect but the core features are there.
Features:
AI-powered meal suggestions
Context-aware: Adapts to current and forecasted weather
Dietary restrictions support (e.g., no pork, no nuts)
Customizable prep time and number of portions
Daily or weekly view
Multi-language support
Automatic updates
The module needs a free Groq API Key to function.
Future Improvements (Planned)
Recipe links or instructions
Auto-generated shopping list
Voting System (Each suggested meal can be upvoted or downvoted. The most popular meal per day is highlighted.)
You can grab the module from my gitHub: https://github.com/SirWD/MMM-WhatsForDinner
I am trying to download the above
git clone https://github.com/njw/MMM-PlaceInfo.git
However it keeps asking for Username & password.
Reading a little it suggests I create a token with github. I think I have done this.
root@magicmirror:/opt/magicmirror/modules# git clone https://github.com/njw/MMM-PlaceInfo.git
Cloning into ‘MMM-PlaceInfo’…
Username for ‘https://github.com’: xxxxxx
Password for ‘xxxxxx@github.com’:
remote: Repository not found.
fatal: repository ‘https://github.com/njw/MMM-PlaceInfo.git/’ not found
Any suggestions. Thank you.
Hi,
I’ve tried running sdetweil’s install script on a freshly install of Raspian but I am getting the following error:
bash: line 288: /usr/local/bin/node: cannot execute: required file not found
node failed to execute, please check the error message and resolve before trying again.
Link to line 288: https://github.com/sdetweil/MagicMirror_scripts/blob/e070ce32ad1066c76bf7cca60fce144f10949783/raspberry.sh#L288
I am using MMM-temp-ds18b20, but would like to disable the second sensor. I am also trying to get rid of any headers, so only the temperature from the ds18b20 is showing. I’ve looked around the Developers window, hoping to find a way to hide everything but the one temp, and couldn’t find anything there. I’ve adjusted the config.js entry to show this;
{
module: 'MMM-temp-ds18b20',
position: 'top_right',
config: {
refreshInterval: 10, // in seconds
displayMode: 'x-stack',
sensors:[
{
id: "28-021502d77aff",
},
{
}
]
}
},
Any suggestions?
Thanks,
Brian
I would like to display the temp from my DS18b20 sensor, but am having issues. I tried the following two modules: MMM-Temperature & MMM-temp-ds18b20. Both have failed on my RPi 5 running latest OS. I fear the read me’s for these modules are outdated. What’s the latest and greatest module to use? Has anyone had recent success in getting readings from this device to display on their MM’s?
Hello,
I have a problem related to the basic calendar module.
I use the private.ics from google but sometimes it can’t fetch data.
It doesn’t happen regularly, only sometimes but this error keep me to keep the keyboard connected for use the CTRL+R function everytime it happen.
It’s annoying because I hope to forget it completely and just using MM.
I can reproduce the issue with CTRL+R, every 7/8 refreshes it happen.
I could not refresh it forever but MM turn off and on every day so… it happen.
My question is: is it a normal behaviour from google or is there something I did that cause the behaviour?
I checked pihole also, thinking it could cause issues but it seem not related to it.
As calendar I use the basic one and the EXT3
Here is the log, thanks
/home/MYMM/.pm2/logs/MagicMirror-error.log last 15 lines:
0|mm | }
0|mm | }
0|mm | [2025-06-24 12:47:20.521] [ERROR] Calendar Error. Could not fetch calendar: https://calendar.google.com/calendar/ical/MYCAL.ics TypeError: fetch failed
0|mm | at node:internal/deps/undici/undici:13502:13
0|mm | at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
0|mm | [cause]: AggregateError [ETIMEDOUT]:
0|mm | at internalConnectMultiple (node:net:1139:18)
0|mm | at internalConnectMultiple (node:net:1215:5)
0|mm | at Timeout.internalConnectMultipleTimeout (node:net:1739:5)
0|mm | at listOnTimeout (node:internal/timers:596:11)
0|mm | at process.processTimers (node:internal/timers:529:7) {
0|mm | code: ‘ETIMEDOUT’,
0|mm | [errors]: [ [Error], [Error] ]
0|mm | }
0|mm | }
I’m having a recent (last couple weeks) issue where I’ll walk past my mirror to find that it has partially crashed and is only showing a black screen with a cursor. It does not crash all the way to the home screen (which would have a menu bar at the top), and MagicMirror itself does not seem to be crashing because my logs (pm2 log mm) are still showing regular module updates without any errors or warnings.
Anyone have any idea what’s going on?
My setup:
Raspi 4B
Raspbian Buster
MM installed using @sdetweil 's install script
Hello
I am running MagicMirror on a Raspberry Pi connected to a TV via HDMI; using HDMI-CEC so the screen can turn off when idle. It works but the moment MagicMirror updates a module (like weather or calendar), the TV wakes up unexpectedly; even though no user interaction happens & the Pi itself is idle.
I have already disabled mouse movement; set the screensaver & tested various xset & vcgencmd commands but the HDMI signal still seems to “ping” the TV during certain background activities.
I want the TV to stay off unless there’s real user input ideally keeping background updates silent. Checked https://forum.magicmirror.builders/topic/15153/wake-up-hibernate-display- Splunk online training guide related to this and found helpful.
Has anyone managed to prevent MagicMirror from waking the HDMI display due to CEC/HDMI activity alone? Would love advice on whether it’s a module issue; electron/browser behavior, or if there’s a Pi/CEC flag to block this sort of unintended wake-up.
Thak you !!
Hi,
I am trying to use MMM-ModuleScheduler to send notification to MMM-Wallpaper for changing the source in config. However, it does not seem to change. Is there something wrong with the Scheduler as set up below:
{
module: ‘MMM-ModuleScheduler’,
config: {
schedules: [
{
schedule: “0 17 * * *”,
notification: “UPDATE_WALLPAPER_CONFIG”,
payload: {
module: “MMM-Wallpaper”,
config: {
source: “chromecast”,
}
}
},
]
}
},
No errors in running and the wallpaper module works fine but the source does not change as per the scheduler? Any help will be appreciated. Thanks.
Hi i’m training to run MM on a raspberry pi, this is my first trying something like this and seeing this much code, when i tried npm run start i get all of this errors, tried to update things and its giving me the same error, should I just tried a fresh install? thanks for the help guys.
dayzwell@raspberrypi:~/MagicMirror $ npm run start
magicmirror@2.31.0 start
npm run start:x11
magicmirror@2.31.0 start:x11
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js
[2025-06-16 12:46:38.249] [ERROR] App threw an error during load
[2025-06-16 12:46:38.259] [ERROR] ReferenceError: ReadableStream is not defined
at Object. (/home/dayzwell/MagicMirror/node_modules/undici/lib/web/fetch/webidl.js:471:58)
at Module._compile (node:internal/modules/cjs/loader:1141:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1196:10)
at Module.load (node:internal/modules/cjs/loader:1011:32)
at Module._load (node:internal/modules/cjs/loader:846:12)
at f._load (node:electron/js2c/asar_bundle:2:13377)
at Module.require (node:internal/modules/cjs/loader:1035:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/dayzwell/MagicMirror/node_modules/undici/lib/web/fetch/util.js:12:20)
at Module._compile (node:internal/modules/cjs/loader:1141:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1196:10)
at Module.load (node:internal/modules/cjs/loader:1011:32)
at Module._load (node:internal/modules/cjs/loader:846:12)
at f._load (node:electron/js2c/asar_bundle:2:13377)
at Module.require (node:internal/modules/cjs/loader:1035:19)
at require (node:internal/modules/cjs/helpers:102:18)
A JavaScript error occurred in the main process
Uncaught Exception:
ReferenceError: ReadableStream is not defined
at Object. (/home/dayzwell/MagicMirror/node_modules/undici/lib/web/fetch/webidl.js:471:58)
at Module._compile (node:internal/modules/cjs/loader:1141:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1196:10)
at Module.load (node:internal/modules/cjs/loader:1011:32)
at Module._load (node:internal/modules/cjs/loader:846:12)
at f._load (node:electron/js2c/asar_bundle:2:13377)
at Module.require (node:internal/modules/cjs/loader:1035:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/dayzwell/MagicMirror/node_modules/undici/lib/web/fetch/util.js:12:20)
at Module._compile (node:internal/modules/cjs/loader:1141:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1196:10)
at Module.load (node:internal/modules/cjs/loader:1011:32)
at Module._load (node:internal/modules/cjs/loader:846:12)
at f._load (node:electron/js2c/asar_bundle:2:13377)
at Module.require (node:internal/modules/cjs/loader:1035:19)
at require (node:internal/modules/cjs/helpers:102:18)
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
os_same_file_description couldn’t determine if two DRM fds reference the same file description. (Function not implemented)
Let’s just assume that file descriptors for the same file probablyshare the file description instead. This may cause problems whenthat isn’t the case.
[4820:0616/114639.047070:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
Hey everyone,
I help manage several MagicMirror installations in different locations (office, public displays, a couple at home), and I’m exploring ways to remotely monitor, update, and automate their maintenance—almost like a mini SysOps setup.
Would love to hear your thoughts on:
How do you remotely access and update your MagicMirror systems? (SSH, VNC, scripts?)
Has anyone set up automated updates for modules, system packages, or even Pi OS?
Are you using tools like Ansible, Attune, or shell scripts to manage multiple devices?
Any tips on monitoring performance or uptime remotely—like lightweight dashboards or alerts?
I’d love to streamline everything, especially for mirrors running 24/7 in public or semi-unattended setups.
Appreciate any advice or examples of your automation workflows!
Thanks,
Hello everyone i am not sure whats going on, recently i changed the photos in my album on google photos and usually it switches right away. well i noticed it had not so i restarted the pi and i am now getting the loading Google Photos in the bottom right corner whenever i hit Ctrl Q my log looks like this,
[2025-06-13 12:58:36.179] [ERROR] (node:2940) UnhandledPromiseRejectionWarning: AxiosError: Request failed with status code 403
at settle (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:2031:12)
at Unzip.handleStreamEnd (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:3148:11)
at Unzip.emit (node:events:530:35)
at endReadableNT (node:internal/streams/readable:1698:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
at Axios.request (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/axios/dist/node/axios.cjs:4258:41)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async GPhotos.request (/home/pi/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:165:19)
at async getAlbum (/home/pi/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:208:24)
at async GPhotos.getAlbums (/home/pi/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:180:18)
at async Class.getAlbums (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:263:15)
at async Class.getAlbumList (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:313:18)
at async Class.scanJob (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_helper.js:294:5)
[2025-06-13 12:58:36.180] [ERROR] (node:2940) 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: 265)
i am not sure whats wrong of where to start i have tried googling a few key terms but not much made sense.
This is my code line
{
module: “MMM-GooglePhotos”,
position: “fullscreen_below”,
config: {
albums: [“MagicMirror”], // Set your album name. like [“My wedding”, “family share”, “Travle to Paris”]
updateInterval: 1000 * 60, // minimum 10 seconds.
sort: “random”, // “old”, “new”
uploadAlbum: null, // Only album created by create_uploadable_album.js.
condition: {
fromDate: null, // Or “2018-03”, RFC … format available
toDate: null, // Or “2019-12-25”,
minWidth: null, // Or 400
maxWidth: null, // Or 8000
minHeight: null, // Or 400
maxHeight: null, // Or 8000
minWHRatio: null,
maxWHRatio: null,
// WHRatio = Width/Height ratio ( ==1 : Squared Photo, < 1 : Portraited Photo, > 1 : Landscaped Photo)
},
showWidth: 1080, // These values will be used for quality of downloaded photos to show. real size to show in your MagicMirror region is recommended.
showHeight: 1920,
timeFormat: “YYYY/MM/DD HH:mm”, // Or relative can be used.
}
this was my code before changing the photos as well.
Hi
Is it in anyway possible to get Meter pr second istead of miles pr hour for the wind speed?
I lave everything else with this module. But it’s so annoying not to have wind in my “normal”
{
module: "MMM-OneCallWeather",
position: "top_right",
header: "xxxxxx, // OPDATERET HEADER
config: {
latitude: "xxxxxx", // OPDATERET LATITUDE
longitude: "xxxxx", // OPDATERET LONGITUDE
apikey: "xxxxxxx",
iconset: "4a",
iconsetFormat: "png",
units: "metric", // Styrer at vindhastighed er i m/s
fade: false,
}
},
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Categories
-
Announcements
Announcements regarding the MagicMirror software and forum.
-
Core System
Discuss the MagicMirror² core framework.
-
-
-
-
-
-