Made this little guide to a Led button so you can turn your
MagicMirror on and off safely, and turn it on again.
Read the statement by Michael Teeuw here.
Best posts made by Assassins
-
Raspberry Led Power Button
-
MyMagicMirror
You can find MyMagicMirror Here.
My Example
The 4 pictures will be updated as they are not particularly good.
This is what mine looks like, the mirror is still missing.
This is an idea for what it might look like and there is an install included so you can install it.However, you will need a “Gesture Sensor (PAJ7620U2)” to make the “MMM-GroveGestures” module work.
You will get some choices along the way and my bash script is very simple.
But you can try it out if you want.
-
RE: Compliments.json absolute or relative and proper path
@kayakbabe you Can put you file in to default/compliments
And insert this to config.js{
module: ‘compliments’,
position: ‘bottom_bar’,
config: {
remoteFile: ‘youfiles.compliments.json’
}
}, -
RE: Add 3rd page to MMM-Pages
This is my code to 3rd page.
Try to copy you modules to this, and remember the last line not gave a ,{ module: 'MMM-pages', config: { rotationTime: 1800000, modules: [ [ 'MMM-NewsFeedBT', 'updatenotification', 'weather', 'MMM-DynamicWeather', 'MMM-WeatherOrNot' ], [ 'MMM-NewsFeedEB', 'MMM-Formula1', 'calendar' ], [ 'MMM-NewsFeedTV2', 'MMM-DailyPower' ], fixed: [ 'clock', 'compliments', 'MMM-page-indicator', 'MMM-GroveGestures', 'MMM-Remote-Control' ] } } ], -
RE: Are you tired of editing config.js, or have trouble doing it, see my new module
Work 100% with rpi 3, Nice modul you made, Thanks alot
-
RE: MMM-WeatherOrNot - Noob needs help
@KristjanESPERANTO the modul work fin here with MM2,29,0
Latest posts made by Assassins
-
RE: fixuppm2.sh
@sdetweil said in fixuppm2.sh:
@Assassins which script?
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)”
And how did you install it. -g or not
With -g
My second test was without -g and it works there too -
RE: fixuppm2.sh
@sdetweil said in fixuppm2.sh:
@Assassins -g means it’s available globally across the system
You can execute it in every folder
AND globally means adding to the /usr folder tree which require root authority (sudo)Without means you have to be in the folder tree where you did npm install, AND If the install folder is NOT in the path, then you have to prefix pm2 with the correct path EVERY TIME
I think this also breaks boot time support which is the primary value, in my opinion
But your script works fine now that I have installed pm2
-
fixuppm2.sh
@sdetweil
pi@MagicMirror:~ $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)”
the log will be saved in /home/pi/MagicMirror/installers/pm2_setup.log
sudo: npm: command not found
bash: linje 127: pm2: command not found
bash: linje 211: pm2: command not found
bash: linje 214: pm2: command not found
pi@MagicMirror:~ $ npm -v
11.6.2
pi@MagicMirror:~ $The log say
pm2 setup starting - tor okt 16 18:38:30 CEST 2025 using parameter bash system is Linux EmptyImage 6.12.47+rpt-rpi-v7 #1 SMP Raspbian 1:6.12.47-1+rpt1~bookworm (2025-09-16) armv7l GNU/Linux the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 12 (bookworm) Release: 12 Codename: bookworm node version v22.20.0 force installing latest npm version via npm npm version 10.9.3 pm2 not installed, installing get the pm2 platform specific startup command startup command = pm2 startup command done configure the pm2 config file for MagicMirror start MagicMirror via pm2 now save MagicMirror pm2 config now pm2 setup completed - tor okt 16 18:39:22 CEST 2025 pm2 setup starting - fre okt 17 13:46:28 CEST 2025 using parameter bash system is Linux MagicMirror 6.12.47+rpt-rpi-v7 #1 SMP Raspbian 1:6.12.47-1+rpt1~bookworm (2025-09-16) armv7l GNU/Linux the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 12 (bookworm) Release: 12 Codename: bookworm node version v22.20.0 force installing latest npm version via npm npm version 11.6.2 pm2 not installed, installing get the pm2 platform specific startup command startup command = pm2 startup command done configure the pm2 config file for MagicMirror start MagicMirror via pm2 now save MagicMirror pm2 config now pm2 setup completed - fre okt 17 13:46:29 CEST 2025i can install pm2 but only with “npm install -g pm2” and not “sudo npm install -g pm2”
-
RE: Version 2.30.0 weather module, stuck loading, worked fine before upgrade
@sdetweil said in Version 2.30.0 weather module, stuck loading, worked fine before upgrade:
@Assassins seems it doesn’t work anymore… using my old 2.5 key I get code failure with openweathermap
Strange, works on my sd card with MM2.29.0 and also works on MMM-DynamicWeather and on MMM-WeatherOrNot with MM2.33.0.
Don’t know why openweathermap doesn’t work with MM2.33.0.
Besides that, it may have something to do with the code in MM2.33.0 that has been rewritten. -
RE: Version 2.30.0 weather module, stuck loading, worked fine before upgrade
@sdetweil
Is the same mate{ module: 'weather', position: 'bottom_left', header: 'Ballerup', config: { apiVersion: '2.5', weatherEndpoint: 'current', // i have try the forecast to location: 'Ballerup', locationID: '2624341', apiKey: 'xxjljkjsksldjkj3478bjjk', showHumidity: true, initialLoadDelay: 1500 } }, -
RE: Version 2.30.0 weather module, stuck loading, worked fine before upgrade
@sdetweil
This is the same, can only see the header.
Is work yesterday on MM 2.29.0{ module: 'weather', position: 'bottom_left', header: 'Ballerup', config: { apiVersion: '2.5', apiBase: 'https://api.openweathermap.org/data/', weatherEndpoint: '/no', location: 'Ballerup', locationID: '2624341', apiKey: 'BBnjsdnsdfnsdj8789dsfjsdnfnXX', showHumidity: true, initialLoadDelay: 1500 } }, -
RE: Version 2.30.0 weather module, stuck loading, worked fine before upgrade
@sdetweil
I can only see the header now, where is write Ballerup{ module: 'weather', position: 'bottom_left', header: 'Ballerup', config: { apiVersion: "2.5", weatherEndpoint: "/current", lat: "55.7317", lon: "12.3633", apiKey: "xxxxx765xxxx98xxxjhx888" } }, -
RE: Version 2.30.0 weather module, stuck loading, worked fine before upgrade
Work on 2.29.0 with api2.5
But now on 2.33.0
It say “NaN”
I get the error 401, it say the apiKey i wrong, but is write from my api key from the website.
How can i get a apiKey to api3.0 without to paid for it. ???
The api2.5 still work, but not on this modul.{ module: 'weather', position: 'bottom_left', header: 'Ballerup', config: { lat: "55.7317", lon: "12.3633", apiKey: "xxxxx765xxxx98xxxjhx888" } }, -
RE: nodejs 22.18.0 ??
But how can i install 22.18.0 on a fresh install without all the script.
Why does it have to be so much hassle to install MM today, in the past it was MUCH easier to install. -
RE: nodejs 22.18.0 ??
@sdetweil
You start by referring to another thread.
Have you even read what I’m writing in this thread??
Read further up, I’m writing that just install 22.15.0 on a fresh install, and you write back, after you wirte “flash sd card with bookworm , boot sd, run script” the another thread say
sudo npm install n -g