Thank you so much for creating this very useful and configurable software. You have created a legacy of an application which everyone was looking for. Wishes for all your endeavors and inspirations.
I have an old Sinoteq TV measuring 5780mm x 3250mm screen
The closest resolution I get in the options is 1024 x 728. This causes images to show stretched
I am running MagicMirror on it showing images
How can I set the resolution to 1280 x 720?
VERSION_ID=“12”
VERSION=“12 (bookworm)”
I tried editing the “/boot/firmware/cmdline.txt” file and added
“video=HDMI-A-1:1280x720 vc4.force_hotplug=1” in that file.
When the RPi starts up the TV echoes res = 1280X720 and the splash screen perspective is correct.
As the Magic Mirror starts the same popup from the TV appears with Res = 1024x768 and when my image shows on screen, they are stretched (I am also viewing the screen with VNC and that perspective is correct)
Is there a place in MM2 where I can set the resolution to 1280x720?
Thanking any pointers in advance
Frits
I installed the internet-monitor module from https://github.com/BrianHepler/internet-monitor .
It’s working fine and showing me speed for wifi or ethernet connections.
But on the screen I don’t get the labels above the two graphics that should say “Download Speed” and “Upload Speed”, and while I get the color and arc that shows the speed, I don’t get the white portion that completes the semi-circle.
I don’t see any option to turn the labels on or off and I am not seeing any error messages.
Wondering if anyone else had this issue?
My first MagicMirror is a family dashboard for our kitchen area. I used a Samsung 27” monitor which has a thin profile and fits easily into a wooden frame. The frame is cut from maple to fit the monitor.
The Dashboard is powered with an Alexa-enabled smart outlet installed in a recessed box, attached to the wall with a French cleat.
We are thrilled with the results.
Modules used:
clock compliments MMM-Remote-Control MMM-ModuleScheduler MMM-AlexaControl MMM-Pir MMM-Worldclock MMM-GoogleCalendar MMM-Sonos MMM-GooglePhotos MMM-OpenWeatherMapForecast MMM-NewsAPI MMM-SystemMonitor MMM-WiFiPassword (not shown)Hardware:
Raspberry Pi 4 Samsung 27" T35F monitor HC-SR501 PIR Infrared Sensor DAOKI Light Sensor ELEGRP USB Outlet Receptacle, 3-Port USB C Wall Outlet Arlington DVFR1W-1 Recessed Electrical/Outlet Mounting BoxFeatures
27 -inch monitor PIR sensor to turn off the screen when the room is empty Alexa integration to turn mirror on/off, using MMM-Remote-Control to shutdown the Raspberry Pi and then the smart outlet to turn off the monitor. Rotates wallpaper thru personal photos Light sensor runs as separate from the Magic Mirror framework with a custom Python script to dim the monitor in the eveningThe Build
3f40839b-58f3-41bb-a6c2-b665a836a7a4-build1.jpg
2c9c4d66-b81a-41ec-b5fe-1e2b4a8de859-build2.jpg
The wall with a french cleat
6163d748-6528-4ae1-b914-ab8b44c6d8f7-build3.jpg
The Dashboard
9fe0dd9b-e565-493e-ab91-ba84fbc15e72-Mirror1a.jpg
05cec45f-27cf-4aac-ae70-d40372ad1f17-mirror2.jpg
Hi ;
I am having problems with MM 2.27 where MMM-page-indicator does not display the 3 circle dots on MM.
The program does not seem to have code error but the error is from MM.
the error is attached below :
defined (reading ‘appendChild’)
at main.js:34:12
at Array.forEach ()
at createDomObjects (main.js:14:11)
at Object.modulesStarted (main.js:605:4)
at startModules (loader.js:37:6)
at async loadNextModule (loader.js:216:6)
at async loadNextModule (loader.js:209:6)
at async loadNextModule (loader.js:209:6)
at async loadNextModule (loader.js:209:6)
at async loadNextModule (loader.js:209:6)
(anonymous) @ main.js:34
createDomObjects @ main.js:14
modulesStarted @ main.js:605
startModules @ loader.js:37
load (async)
(anonymous) @ loader.js:180
loadFile @ loader.js:173
loadNextModule @ loader.js:214
loadNextModule @ loader.js:209
How do I look for the problem or if anyone can help.
Thank you,
Regards,
Neel.
Hi;
I am using EXT-Pages and it gives the following error message when run in debug as it does not show anything on the screen: Error attached as below:
EXT-Pages.js:6 Uncaught (in promise) TypeError: Cannot read properties of null (reading ‘classList’)
at Class.Loaded (EXT-Pages.js:6:6709)
at Class.notificationReceived (EXT-Pages.js:6:1618)
at sendNotification (main.js:99:12)
at Object.sendNotification (main.js:650:4)
at Class.sendNotification (module.js:341:6)
at Class.socketNotificationReceived (MMM-GoogleAssistant.js:6:3439)
at module.js:231:9
at Socket. (socketclient.js:32:4)
at Emitter.emit (index.mjs:136:20)
How Do I resolve this - ?
thank you;
regards,
Neel
MagicMirror (vers:2.27.0) : split error occurs on every single module - 07May2024
Hello;
I have had troubles getting MM up - it was all working normal until it just crached - wth error as attached below :
magicmirror@2.27.0 start
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js run dev
[2024-05-07 09:21:07.079] [LOG] Starting MagicMirror: v2.27.0
[2024-05-07 09:21:07.144] [LOG] Loading config …
[2024-05-07 09:21:07.157] [LOG] config template file not exists, no envsubst
[2024-05-07 09:21:07.197] [LOG] Loading module helpers …
[2024-05-07 09:21:07.202] [LOG] No helper found for module: clock.
[2024-05-07 09:21:08.086] [ERROR] (node:27333) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading ‘split’)
at loadModule (/home/pi/MagicMirror/js/app.js:156:27)
at loadModules (/home/pi/MagicMirror/js/app.js:213:10)
at async App.start (/home/pi/MagicMirror/js/app.js:261:3)
(Use electron --trace-warnings ... to show where the warning was created)
[2024-05-07 09:21:08.089] [ERROR] (node:27333) 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)
[2024-05-07 09:21:17.744] [INFO] System information:
It crashes on every single module - I tested it by just having one module in the modules folder and the error above is same for all the modules. Here I have tested with ‘clock’ - and hence the errors above.
The MM does not start.
Can you please advise on how to fix the above issue.
Thank you.
Regards,
Neel
Hi,
I installed MMM-Remote-Control, but when I start Magic Mirror it gives me this error [ERROR] [GA] [!] You can’t start MMM-GoogleAssistant with MMM-Remote-Control, then MM is stopped
any idea on the error?
mm.jpg Thank you
Request: Please help me get MMM-BirdNET to play nice with MMM-pages.
Setup: rpi 2 model B with Raspberry Pi OS desktop Bookworm installed. Fresh install with Nodejs version 22.1.0. Using the Edward Shen fork of MMM-pages.
Issue: MMM-BirdNET runs as expected if MMM-pages is not running. With MMM-pages, BirdNET is part of the “fixed” group, i.e., it should show up all the time. This part works fine—it shows up where expected and stays there as the other pages rotate. But each time the other pages rotate (currently every 15 seconds), the BirdNET module appears to refresh itself and the bird popup begins to switch much more quickly than the default 30 seconds. It’s a glitchy mess.
Other notes: I tried using the sdetweil fork of MMM-pages, but it wouldn’t rotate any pages whatsoever. I’m using MMM-pages because I find it simpler to use than MMM-Carousel, especially with multiple instances of modules. BirdNET plays nice with Carousel, but I much prefer pages.
Thanks for your time and input!
Hi,
I am trying to provide different calendar for each client based on the IP address they access from. Please advise me where to edit the stock calendar module. I am thinking of adding accessIP under each calendar entry in the config file to enable this.
Any help will be useful
I reduced the font size of the Compliments module in custom.css, which was straight forward. But the smaller the font size, the more the individual letters overlap. At 30px, every letter is jammed together and touching, and at 20px they’re overlapping and almost unreadable.
I’ve tried changing to various different fonts, but they all behave the same as font size decreases. I’ve searched this forum and everywhere for a solution, but have not seen this problem mentioned. There are modules currently running in my MM with much smaller fonts natively that all look fine, so I’m perplexed about the cause and how to resolve.
jai un problème dans module
MMM-Face-Reco-DNN ,
aide moi svp
[2024-05-05 17:48:59.807] [LOG] [MMM-Face-Reco-DNN] loading encodings + face detector…
[2024-05-05 17:49:01.806] [ERROR] Whoops! There was an uncaught exception…
[2024-05-05 17:49:01.818] [ERROR] PythonShellError: FileNotFoundError: [Errno 2] No such file or directory: ‘modules/MMM-Face-Reco-DNN/tools/encodings.pickle’
at PythonShell.parseError (/home/raspberrypi/MagicMirror/modules/MMM-Face-Reco-DNN/node_modules/python-shell/index.js:303:21)
at terminateIfNeeded (/home/raspberrypi/MagicMirror/modules/MMM-Face-Reco-DNN/node_modules/python-shell/index.js:193:32)
at ChildProcess. (/home/raspberrypi/MagicMirror/modules/MMM-Face-Reco-DNN/node_modules/python-shell/index.js:185:13)
at ChildProcess.emit (node:events:514:28)
at ChildProcess._handle.onexit (node:internal/child_process:294:12)
----- Python Traceback -----
File “/home/raspberrypi/MagicMirror/modules/MMM-Face-Reco-DNN/tools/recognition.py”, line 29, in
data = pickle.loads(open(Arguments.get(“encodings”), “rb”).read())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ {
traceback: ‘Traceback (most recent call last):\n’ +
’ File “/home/raspberrypi/MagicMirror/modules/MMM-Face-Reco-DNN/tools/recognition.py”, line 29, in \n’ +
’ data = pickle.loads(open(Arguments.get(“encodings”), “rb”).read())\n’ +
’ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n’ +
“FileNotFoundError: [Errno 2] No such file or directory: ‘modules/MMM-Face-Reco-DNN/tools/encodings.pickle’\n”,
executable: ‘python3’,
options: null,
script: ‘modules/MMM-Face-Reco-DNN/tools/recognition.py’,
args: [
‘–cascade=modules/MMM-Face-Reco-DNN/tools/haarcascade_frontalface_default.xml’,
‘–encodings=modules/MMM-Face-Reco-DNN/tools/encodings.pickle’,
‘–rotateCamera=0’,
‘–method=dnn’,
‘–detectionMethod=hog’,
‘–interval=1000’,
‘–output=0’,
‘–outputmm=0’,
‘–extendDataset=False’,
‘–dataset=modules/MMM-Face-Reco-DNN/dataset/’,
‘–tolerance=0.6’,
‘–brightness=0’,
‘–contrast=0’,
‘–resolution=1920,1080’,
‘–processWidth=500’
],
exitCode: 1
}
[2024-05-05 17:49:01.820] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[2024-05-05 17:49:01.821] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MagicMirrorOrg/MagicMirror/issues
I have completely set up the MagicMirror, which means all modules are configured and display the data correctly.
The modules likely to be affected by the problem are:
Calendar module, shows all dates.
MMM-CalendarExt3, gets the data and displays it correctly.
MMM-CalendarExt3Agenda, gets the data and displays it correctly.
What can be said about the MMM-CalendarExt3Agenda module is that it changes the data. See post here:
https://forum.magicmirror.builders/topic/18707/modul-calendarext3agenda/12?page=2
Now I put the MagicMirror in the right place and noticed the following error.
After about 40 minutes of running time, no more data will be displayed in the MMM-CalendarExt3Agenda module.
Only an empty mini calendar is displayed.
The other modules (Calendar and MMM-CalendarExt3) display the data.
Does anyone know the problem or can help me troubleshoot?
Can somebody help this noob?
I use the default weather module with Open weather provider.
Somewhere on this forum I read that Api 2.5 will end in June, so I subscribed to Api 3.0.
Is this free?
They asked for creditcard numbers, I still hope this is free.
And can somebody help me with my config; Api 3.0, lat, long , no idea how to put it in my config.
An example of a working config with Api 3.0 would help me a lot.
Greetings,
Peter
Hi.
I have some issue with an image not updating in Electron browser but works fine in webinterface.
I tried to update Electron in Terminal and that failed. Now I have a broken Electron browser that will not start and my Magic mirror is not showing on the screen. Webinterface still works fine.
I have this version of Magic Mirror
“version”: “2.12.0”,
and further down in package.json file it says:
“optionalDependencies”: {
“electron”: “^6.1.7”
Is this really the version? seems awful old though.
Can someone help me roleback regarding the browser or can I do diagnotics of magic mirror and it will reinstall what is broken?
Thanks.
I’ve been using the default calendar module for awhile now, and living with the incorrect date for one of my recurring events. Specifically, my event occurs on the first Thursday of each month, and the calendar seems to show the correct date for the first occurrence, but all subsequent occurrences seem to happen on the first Wednesday of each month — one day early.
I understand that one solution may be to use the MMM-MyCalendar module instead. I attempted this and discovered that my MM wouldn’t launch, and attempted a workaround shown here:
https://github.com/jclarke0000/MMM-MyCalendar/issues/40
As others have reported, MM will now launch, but the calendar never appears (always indicates ‘loading’). I can put back the original calendar module, and just live with the problem, but does anyone have any other suggestions? Thanks.
i everyone, I installed this PAJ7620u2 Sensor (Grove Gesture) on MM, it works very well, but if possible I would like to send a command with one of the available gestures to suspend and turn on the HDMI monitor of the Raspberry Pi4. Any help would be appreciated, thank you very much
I am trying to create a white background with black text to the clock module title block.
The custom CSS file I am using (see below) does not seem to effect the clock title block and all I am getting is white text and no white background. Any help would be appreciated.
Custom CSS File
/* Custom CSS Sample * * Change color and fonts here. * * Beware that properties cannot be unitless, so for example write '--gap-body: 0px;' instead of just '--gap-body: 0;' */ /* Uncomment and adjust accordingly if you want to import another font from the google-fonts-api: */ /* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;700&display=swap'); */ :root { --color-text: #000; --color-text-dimmed: #000; --color-text-bright: #000; --color-background: black; --font-primary: "Roboto Condensed"; --font-secondary: "Roboto"; --font-size: 20px; --font-size-small: 0.75rem; --gap-body-top: 60px; --gap-body-right: 60px; --gap-body-bottom: 60px; --gap-body-left: 60px; --gap-modules: 30px; } .module.clock ( background-color:rgba(255,255,255,0.5); border-radius:8px; padding:8px; ) )Hello,
I would like to combine the two functions eventFilter and eventTransform.
Here is the example:
eventFilter: (ev) => {
if (ev.title.search(“Natalia:”)) return false
return true
},
eventTransform: (ev) => {
if (ev.title.search(“Natalia:”) > -1) ev.title=ev.title.replace(“Natalia:”,“”);
return ev
}
But only the first function (Filter) works, but not the second (Transform)
Can someone please help me with this?
Thanks
Hello reader,
I want to add some type of module to my screen that tells me if it’s a “trash only” week, or a “trash and recycling” week.
I have a month calendar module up already, so I thought I could create two separate calendars and code them green/blue on pick-up days.
Ideally, I would prefer a separate part of my screen to show on Mondays and Tuesdays “take the trash out!” or “take both cans out!”
Does such a module exist? I looked through different forums and scheduling modules, but didn’t see any that I could manipulate into what I need.
In previous OS for Raspberry Pi (Bullseye) I have used a script with a Bash file to rotate the IR-frame. However, I had difficulties to get this to work in Debian 12 (Bookworm).
However, using the procedure, outlined in the link below, it now works in Debian 12 also.
The screen itself is rotated inside Debian in “Preferenses” => “Screen Configuration” – to the left (you have to be quick and work directly on the raspberry itself.
The name of the touch frame in the machine is provided with “xinput -list” in a terminal.
The code -matrix for rotation is the same as in Bullseye:
270° = Option “TransformationMatrix” “0 -1 1 1 0 0 0 0 1”
Hope this can help other people also!
Read the statement by Michael Teeuw here.
Categories
-
54
Topics412
Posts -
453
Topics3.5k
Posts -
751
Topics6.5k
Posts -
5.6k
Topics52.8k
Posts -
383
Topics2.6k
Posts -
536
Topics5.0k
Posts -
4.3k
Topics31.2k
Posts -
1.3k
Topics8.8k
Posts