@retroflex I used the shutdown from MMM-remotecontrol to shut it down. 8 did have a backup of config & css on laptop so it was just reinstalling modules for the most part
Hi,
great that you are interested in my module. I did not test ist for a while and currently have no working installation of MM.
Hopefully the answer of Sam helps you.
I will try to get my mirror running this week and will test the module.
@Stoffbeuteluwe there is no frame in the original code of MMM-iFramePing
you’ve must have changed something or the displayed item in the iframe has a white background
I have a raspberry pi zero with the Raspberry Pi Camera v2.1. I am trying to make it stream video and work with the MMM-RTSPStream module installed on the main Rapsberry Pi 3 but am getting errors.
I am setting up the RTSP stream using instructions found on https://zoneminder.blogspot.com/p/rasbpeery-pi-zero-camera.html and when I get to sudo systemctl start v4l2rtspserver I get an error and nothing happens
I noticed that the file referenced in the system file I had to create does not exist in the usr/bin but I found it in home/pi/v4l2rtspserver location so I used the terminal to copy it over. However that did not fix the issue
Camera I am using: https://shop.pimoroni.com/products/raspberry-pi-camera-module-v2-1-with-mount
Any help you can provide with this is appreciated
I included a photo of the systemctl status file
[image: 1566058837752-img_6608.jpeg]
@keyk123 said in "Error: Cannot find module 'ping' " and black screen on startup (Beginner):
npm WARN npm npm does not support Node.js v10.15.2
Update npm:
pi@raspberrypi:~ $ npm -v
5.8.0
pi@raspberrypi:~ $ cd
pi@raspberrypi:~ $ sudo npm install npm@latest -g
[ pi@raspberrypi:~ $ sudo reboot ]
pi@raspberrypi:~ $ npm -v
6.10.3
When in doubt if you’re config.js is okay, always run:
pi@raspberrypi:~ $ cd ~/MagicMirror; npm run config:check
@broberg when i alsamixer the pi, i can select the mic, then the sound is not working, get mute symbol for the sound.
If i using the defalut the sound it working great, but then i cant record, i just saying no mic is available.
i cant have booth…its so strange,
The error https://apod.nasa.gov/apod/undefined with MMM-nasaastropic can occur when the media published by NASA is not an image (a video for example).
My new module MMM-APOD support image and video (thanks to NASA API) : https://github.com/grenagit/MMM-APOD
[image: MMM-APOD_screenshot.png]
Thank you @AxLed !
I forgott to mention a power & a reboot button attached to the GPIO Pins and exactly that (false positive reboot-script execution) was the root of the Problem. I solved it with rechecking the pins for LOW-state after a 1/10 of a second.
This issue bugged me for several months. Thank you again!
Hi all,
I recently suffered a power outage uknowingly (happened whilst I was at work) and one morning I updated MagicMirror (using sudo git pull && npm install) and since then my MagicMirror boots up to the raspbian desktop then the screen goes blank. I’ve followed other peoples advice of forcing an update but with no effect. I also tried a “np install” from each of the module folders that contained a package.json file but again - no effect.
Here’s an outout from the pm2 logs
pi@raspberrypi:~ $ pm2 logs
[TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
/home/pi/.pm2/pm2.log last 15 lines:
PM2 | 2019-08-11T17:53:12: PM2 log: Time : Sun Aug 11 2019 17:53:12 GMT+0100 (BST)
PM2 | 2019-08-11T17:53:12: PM2 log: PM2 version : 3.2.9
PM2 | 2019-08-11T17:53:12: PM2 log: Node.js version : 9.11.2
PM2 | 2019-08-11T17:53:12: PM2 log: Current arch : arm
PM2 | 2019-08-11T17:53:12: PM2 log: PM2 home : /home/pi/.pm2
PM2 | 2019-08-11T17:53:12: PM2 log: PM2 PID file : /home/pi/.pm2/pm2.pid
PM2 | 2019-08-11T17:53:12: PM2 log: RPC socket file : /home/pi/.pm2/rpc.sock
PM2 | 2019-08-11T17:53:12: PM2 log: BUS socket file : /home/pi/.pm2/pub.sock
PM2 | 2019-08-11T17:53:12: PM2 log: Application log path : /home/pi/.pm2/logs
PM2 | 2019-08-11T17:53:12: PM2 log: Process dump file : /home/pi/.pm2/dump.pm2
PM2 | 2019-08-11T17:53:12: PM2 log: Concurrent actions : 2
PM2 | 2019-08-11T17:53:12: PM2 log: SIGTERM timeout : 1600
PM2 | 2019-08-11T17:53:12: PM2 log: ===============================================================================
PM2 | 2019-08-11T17:53:12: PM2 log: App [mm:0] starting in -fork mode-
PM2 | 2019-08-11T17:53:12: PM2 log: App [mm:0] online
/home/pi/.pm2/logs/mm-out.log last 15 lines:
0|mm |
0|mm |
0|mm | > magicmirror@2.8.0 start /home/pi/MagicMirror
0|mm | > sh run-start.sh
0|mm |
0|mm | Starting MagicMirror: v2.8.0
0|mm | Loading config ...
0|mm | Loading module helpers ...
0|mm | No helper found for module: alert.
0|mm | Loading module helpers ...
0|mm | No helper found for module: alert.
0|mm | Whoops! There was an uncaught exception...
0|mm | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|mm | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|mm | Launching application.
/home/pi/.pm2/logs/mm-error.log last 15 lines:
0|mm | at Module._compile (internal/modules/cjs/loader.js:711:30)
0|mm | at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
0|mm | at Module.load (internal/modules/cjs/loader.js:620:32)
0|mm | { Error: Cannot find module 'node_helper'
0|mm | at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
0|mm | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
0|mm | at Function.Module._load (internal/modules/cjs/loader.js:528:25)
0|mm | at Module.require (internal/modules/cjs/loader.js:658:17)
0|mm | at require (internal/modules/cjs/helpers.js:20:18)
0|mm | at Object.<anonymous> (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:6:18)
0|mm | at Object.<anonymous> (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:94:3)
0|mm | at Module._compile (internal/modules/cjs/loader.js:711:30)
0|mm | at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
0|mm | at Module.load (internal/modules/cjs/loader.js:620:32) code: 'MODULE_NOT_FOUND' }
0|mm | ATTENTION: default value of option force_s3tc_enable overridden by environment.
The error appears to be due to a module issue but I can’t find one, anyone else have the same issue? Is it a case of rebuilding?
TIA
Nick
Hello, my Youtube module or MMM BobRoss module does not autostart and I don’t know why …
config autostart is true
function createWindow() {
app.commandLine.appendSwitch("autoplay-policy", "no-user-gesture-required");
but MMM-EasyBack starts the Video perfect (local Video)
@Stoffbeuteluwe there is no dumb questions!
But…
You could start to specify what module it is (i e the name, not just a picture).
That way one could look at how the code of the module and then give you examples on how to practically solve it.
As always when you ask for help on the internet, be specific and add as much info as you can.
Thanks for the quick reply. I looked at the file details and the creation date. It’s from a while back and knowing now that its a core dump I’ll delete it.