@Canguingo first things first, do you have a NAS (doesn’t need to be a Synology brand)?
Latest posts made by nickthebeer
-
RE: How do you make a folder in Synology NAS for a backup??
-
RE: New Bulid
@Bungle68 when I built my mirror I decided that I was never going to turn the monitor off so I removed all unnecessary peripherals from the pi and powered it via the monitors USB port so I have one cable from the power source which is to the monitor.
Alternatively you could get a small extension cord (maybe a 2-way) and then route that to the mirror and plug the monitor and pi into that.
-
RE: No Internet Connection Magic mirror
I had a similar issue whereby my connection kept dropping, my issue was due to poor WiFi connectivity so I created a simple bash script to restart the network connection every so often to bring it back onto the network. Here’s how I did it.
#!/bin/bash # The IP for the server you wish to ping (8.8.8.8 is a public Google DNS server) SERVER=192.168.240.254 # Only send two pings, sending output to /dev/null ping -c2 ${SERVER} > /dev/null # If the return code from ping ($?) is not 0 (meaning there was an error) if [ $? != 0 ] then # Restart the wireless interface ifconfig wlan0 down ifconfig wlan0 up
This was inside a file within my home area, the IP address on line 4 is of my router (I couldn’t see a need to ping an internet endpoint in my scenario). The last two lines may need amending depending on which network interface your MM is using. Once that file is created insert a crontab (crontab -e) and insert the following to restart the network connection every 30 minutes (adjust to your needs)
*/30 * * * * root /home/pi/scripts/wifi_rebooter.sh
-
RE: MMPM Guided Setup problem
@andzie82 can you show us a screenshot of the issue?
-
RE: Does my monitor need to touching the two way mirror?
@animeman0 there’s too many variables to give you an answer as it depends on there following: is there an angle difference between the monitor and glass across the whole monitor space? What is the lighting like in the area? Where is the lighting in the area? What about natural light in the area?
The only wait to know for certain is for you to try it, can you try it without removing the protective film?
-
RE: eaddress in use
Can you run the following commands from the CLI to check if anything is using that port
sudo netstat -punta | grep LIST sudo netstat -punta | grep 8080
-
RE: Bathroom Magic Mirror Cabinet "Alibert" - MagicAlibert
@spitzlbergerj that’s is really cool, I might make one of these for home when we change our bathroom suite. What’s the toilet roll etc on the display for?
-
RE: LCD Controller for old TV Display
I’m not sure if that’s going to be cheap or easy to find out.
Did you just remove the screen panel from the TV? What about the other parts that has the connections, eg: vga, hdmi, etc?
It’s easier (and normally cheaper) to take a monitor as they generally have the right connections and also display better than a TV.
-
RE: Internet Monitor
@mattx38 I have just the Wifi icon on my MM, can you paste your config and I’ll take a look to at it. Also I setup a little script to restart my networking in the event of disconnection which I can share if that’ll help?
-
Blank Screen after update/power outage
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