@KristjanESPERANTO
Will do.
Thank you for checking it out…
Read the statement by Michael Teeuw here.
Posts
-
RE: Undefined / Loading
-
RE: Mirror Redesign and update
@wswenson
Thanks, I was wondering if you where using something new I will retry fuel and see what I get… -
Undefined / Loading
MMM-DailyQuote I am getting Undefined
MMM-quote-of-the-day stays at LOADING
even after a removeing and reinstalling each of them, and doing the npm install, for each module. This started after update to 2.30 MM.
I also installed request for all the modules having problems.
I had to do the calendar fix also. All the other 20+ modules are working fine.
I would appreciate any help or suggestions.
Just noticed both are Quote modules, could they get their information from the same place? I am not smart enough to figure that out on my own… -
RE: MM-Watcher - MagicMirror Config.js Auto-Refresh Script
@chrisfr1976
Ok mine doesn’t wait. I usually do a list of changes I have researched.
So the complete restart of MM is ok for me.
Right now trying to figure out a couple of modules that are not loading… -
RE: Mirror Redesign and update
could I possibly get your full config for the MMM-Fuel module ???
I had it running for a few years and then all the sudden it quit working.
Mainly what are you using for provider: “${MMM_FUEL_PROVIDER}”,
???//*********************************************
// Fuel prices module
// Pages: 5
// Location: https://github.com/fewieden/MMM-Fuel
//*********************************************/
{
module: “MMM-Fuel”,
position: “bottom_bar”,
config: {
provider: “${MMM_FUEL_PROVIDER}”,
zip: “${ZIP_CODE}”,
types: [“regular”, “midgrade”, “premium”],
open: true,
showDistance: false,
showBrand: true,
}
}, -
RE: MM-Watcher - MagicMirror Config.js Auto-Refresh Script
{ "name":"mm", "script":"./mm.sh", "cwd":"/home/pi", "watch":[ "//home/pi/MagicMirror/css/custom.css", "/home/pi/MagicMirror/config/config.js" ], }I use a file called mm.json ,don’t remember where I got this info, but it still works great. I have it and a copy of the mm.sh in the /home/pi/ folder… the one your setup goes to when you do cd then enter.
this is the code inside it.
pm2 delete all that have to do with MagicMirror startup.
Then do a pm2 start mm.json then pm2 save and PM2 saves it as mm.
Now anytime I change something in config.js MagicMirror restarts.
I wish I was smart enough with code to figure out how to get it to restart when I modify the custom.css too. -
RE: Stop and Start MM on a schedule
@sdetweil
Not sure why but unclutter was not installed.
It is now and the mouse pointer went away with a reboot.
This is all a fresh install in December when I loaded bookworm and 2.29 Then reloaded all the modules using your backup/restore scripts… Sure makes things easier, for sure.
Maybe you can add a check for unclutter in your script ???
I thought it was on your script page with pm2 repair and the update scripts.
But did not find it there, tonight. Could have been there, I have not been nearly as on my game since my son passed the end of October. 11 days after his 42nd Birthday. I am still a little in denial 69 days later… It will be strange driving 10 hrs to see my Grand kids and my Daughter in law without him there to talk to ect…
Sorry for the rambling. Kind of my thing right now . Plus my dang Computer went down and took a week to get back up. I now have a working backup for it also…
Time for me to get to bed. We are expecting 6" to a foot of snow over the next 24 hrs… Fun Fun Fun. -
RE: Stop and Start MM on a schedule
@sdetweil
I think adding the user pi /home/pi/pm2 stop all
worked but I am using your update script right now.
So not sure which one stopped MagicMirror.
The dang mouse arrow is on the screen, so I will have to find that command to hide it now… -
RE: MMM-CalendarExt3 month header and current date format
@reverendz
@MMRIZE
Following I would like to Circle the current date also.
Would make it easier to find todays date for me I tend to loose track of date. -
RE: Stop and Start MM on a schedule
@DarrenO-0
@mumblebaj
@sdetweil
Is there a way to run a cron job?
I have done a few google searches with no results that worked. -
RE: Stop and Start MM on a schedule
@mumblebaj
Not wanting to turn off the screen, simply because it is a pain to reach the power button to turn it back on, and no remote to get into setup of the TV it was a $40 used tv I bought. it works but I just leave it on and stop MM with a black screen and and the bar in black with bright green letters. It is very very dim. I am going to add the
user pi and the path home/pi to the cron job and see what happens.Thanks for the links
All of you.@sdetweil
not sure yet if pm2 is working in cron?
hoping the change will work. -
RE: MMM-Fireworks
Worked for me earlier when I tested it this afternoon.
Nice module… -
Stop and Start MM on a schedule
How do I get MM to Start and Stop on a schedule?
I am running Bookworm 64bit and MM v2.29
This is what used to work in buster 32bit and MM v2.15
in my crontab -e# Turn off display Sunday - Thursday at 21h45 15 21 * * 0-4 pm2 stop all # Turn off display Friday - Saturday at 23h45 45 21 * * 5,6 pm2 stop all # Turn on screen Monday - Friday at 7h00 00 07 * * 1-5 pm2 start mm # Turn on screen Saturday - Sunday at 8h00 00 08 * * 6,0 pm2 start mmIt doesnt work anymore.
Can someone explain why it doesnt work anymore and how to fix it. -
RE: MMM-MPlayer
@evroom
Crap on a Cracker,
I was forgetting to put the login information in the url.
DUH, thanks for the help it works great now…
So if I want to show say 3 cameras 1 at a time I just add them to the window 1"rtsp://xxxxx:xxxxx@192.168.1.40:554/stream1", "rtsp://xxxxx:xxxxx@192.168.1.35:554/live", "rtsp://xxxxx:xxxxx@192.168.1.32:554/live",and now it actually works great.
Thank you so much for the module.
I have been looking for this for a long time.
I am so happy I can veiw my cameras again.
RTSPStream went byb bye due to no one wanting to work with it anymore…
Thank you again for this great moduel. -
RE: MMM-MPlayer
I get this in the logs.
Also when I try running theVLC Media Player File Open Network URL: rtsp://192.168.1.32:554/live OpenI get this:
VLC Media Player File Open Network URL: rtsp://192.168.1.32:554/live Open -bash: VLC: command not found -bash: File: command not found -bash: Open: command not found -bash: URL:: command not found -bash: Open: command not foundpm2 logs --lines 100 [TAILING] Tailing last 100 lines for [all] processes (change the value with --lines option) /home/pi/.pm2/pm2.log last 100 lines: PM2 | 2024-12-24T11:40:29: PM2 log: Stopping app:mm id:0 PM2 | 2024-12-24T11:40:29: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT] PM2 | 2024-12-24T11:40:29: PM2 log: pid=5586 msg=process killed PM2 | 2024-12-24T11:40:29: PM2 log: App [mm:0] starting in -fork mode- PM2 | 2024-12-24T11:40:29: PM2 log: App [mm:0] online /home/pi/.pm2/logs/Camera-out.log last 100 lines: /home/pi/.pm2/logs/Camera-error.log last 100 lines: /home/pi/.pm2/logs/mm-error.log last 100 lines: 0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT 0|mm | [2024-12-24 11:40:32.723] [WARN] You're using a full whitelist configuration to allow for all IPs 0|mm | [6118:1224/114036.084607:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) 0|mm | [6118:1224/114036.084939:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) 0|mm | [6118:1224/114036.085151:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) 0|mm | [6118:1224/114036.085242:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) 0|mm | [6118:1224/114036.085389:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) 0|mm | [6118:1224/114036.085464:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) 0|mm | [6118:1224/114036.085599:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) 0|mm | [6118:1224/114036.085676:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) 0|mm | [6118:1224/114036.085814:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) 0|mm | [6118:1224/114036.085907:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) 0|mm | [6118:1224/114036.086078:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) 0|mm | [6118:1224/114036.086171:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) 0|mm | [6118:1224/114036.086326:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) 0|mm | [6118:1224/114036.086409:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) 0|mm | [6118:1224/114036.087583:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) 0|mm | [6118:1224/114036.087738:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) 0|mm | [6118:1224/114036.087922:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) 0|mm | [6118:1224/114036.088027:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) 0|mm | [6118:1224/114036.088189:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) 0|mm | [6118:1224/114036.088274:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) 0|mm | [6118:1224/114036.088418:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) 0|mm | [6118:1224/114036.088529:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) 0|mm | [6118:1224/114036.088678:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) 0|mm | [6118:1224/114036.088751:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) 0|mm | [6118:1224/114036.088892:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) 0|mm | [6118:1224/114036.088971:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) 0|mm | [6118:1224/114036.089108:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) 0|mm | [6118:1224/114036.089205:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) /home/pi/.pm2/logs/mm-out.log last 100 lines: 0|mm | 0|mm | > magicmirror@2.29.0 start 0|mm | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js 0|mm | 0|mm | [2024-12-24 11:40:31.951] [LOG] Starting MagicMirror: v2.29.0 0|mm | [2024-12-24 11:40:31.982] [LOG] Loading config ... 0|mm | [2024-12-24 11:40:31.986] [LOG] config template file not exists, no envsubst 0|mm | [2024-12-24 11:40:32.513] [INFO] Checking config file /home/pi/MagicMirror/config/config.js ... 0|mm | [2024-12-24 11:40:32.578] [INFO] Your configuration file doesn't contain syntax errors :) 0|mm | [2024-12-24 11:40:32.580] [INFO] Checking modules structure configuration ... 0|mm | [2024-12-24 11:40:32.688] [INFO] Your modules structure configuration doesn't contain errors :) 0|mm | [2024-12-24 11:40:32.691] [LOG] Loading module helpers ... 0|mm | [2024-12-24 11:40:32.697] [LOG] Initializing new module helper .. . 0|mm | [2024-12-24 11:40:32.698] [LOG] Module helper loaded: MMM-MPlayer 0|mm | [2024-12-24 11:40:32.699] [LOG] All module helpers loaded. 0|mm | [2024-12-24 11:40:32.708] [LOG] Starting server on port 8084 ... 0|mm | [2024-12-24 11:40:34.158] [LOG] Server started ... 0|mm | [2024-12-24 11:40:34.162] [LOG] Connecting socket for: MMM-MPlayer 0|mm | [2024-12-24 11:40:34.163] [LOG] Starting MMM-MPlayer module... 0|mm | [2024-12-24 11:40:34.172] [LOG] Sockets connected & modules started ... 0|mm | [2024-12-24 11:40:34.574] [LOG] Launching application. 0|mm | [2024-12-24 11:40:35.869] [INFO] System information: 0|mm | ### SYSTEM: manufacturer: ; model: ; virtual: false 0|mm | ### OS: platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.6.62+rpt-rpi-v8 0|mm | ### VERSIONS: electron: 31.7.5; used node: 20.18.0; installed node:20.9.0; npm: 10.1.0; pm2: 5.4.3 0|mm | ### OTHER: timeZone: America/Chicago; ELECTRON_ENABLE_GPU: undefined 0|mm | [2024-12-24 11:40:36.738] [INFO] [MMM-MPlayer] Launched mplayer process for window1 with PID 6190 0|mm | [2024-12-24 11:40:36.738] [INFO] [MMM-MPlayer] mplayer -noborder -monitoraspect 0 -vf rotate=-1 -geometry 10:90 -xy 1920 980 rtsp://192.168.1.32:5 54/live 0|mm | [2024-12-24 11:40:37.464] [INFO] [MMM-MPlayer] mplayer process for window1 exited with code 0I checked and I am running the latest VLC according to when I tried to install it
with:sudo apt install vlcI run that url on my latop VLC and it works.
HELP ME, I ve fallen down a rabbit hole here. -
MMM-MPlayer
This is what I have in my config.js for MMM-MPlayer.
My problem is I can play big bunny and pretty much any video.
BUT I want to show my rtsp cameras like the github shows I can.
I installed mplayer and the videos play, so pretty sure I have the setup correct to that point. I am running this on Rpi 4 2gb ram off a ssd/usb .
Bullseye 64b MagicMirror 2.29 I used Sams install script and it installed flawlessly as usual…
Any help would be greatly appreciated. This is the only module running on this setup. I built it only so I could view my cameras on a bigger screen.
Since RSTMStream is dead anymore I was really excited to see something else that might work…{ module: "MMM-MPlayer", disabled: false, position: "middle_center", header: "MPlayer", config: { useTwoWindows: true, layout: "row", monitorAspect: 0, rotate: -1, windowSize: { width: 640, height: 360 }, windowPosition: { x: 5, y: 225 }, streamInterval: 30000, streams: { window1: [ "rtsp://192.168.1.32:554/live", ], window2: [ "rtsp://192.168.1.35:554/live", ] } } },