@zdenek Did you delete all the stuff not used for a mirror? From the complete setup tutorial: sudo apt-get remove --purge idle3 java-common libreoffice* minecraft-pi scratch nuscratch penguinspuzzle python-minecraftpi python3-minecraftpi smartsim sonic-pi wolfram-engine
Read the statement by Michael Teeuw here.
Best posts made by bhepler
-
RE: No free space on SD-card
-
RE: Lightdm.conf file blank
@RE_Magic_Mirror The best way to keep your mirror running is to install a screensaver and then configure the screensaver to never run. Yeah, it’s a bit weird.
Install the screensaver program:
sudo apt-get install xscreensaver
Once you do, start your Pi and get to the desktop. If you have already configured your Pi to start the Magic Mirror interface, click
ctrl+q
to exit. Open the menu by clicking on the Raspberry start button with your mouse, or clicking the special/window key on your keyboard. Go to Preferences and there should be a new entry called “Screen Saver”. Click/Press enter to activate the screen saver configuration.On the configuration screen, there is a drop-down box with options as to which screen saver you wish to run. I believe the default is “random screensaver”. Navigate to this drop down box and select “disable screensaver”. Close the screen saver configurations window.
That’s it. That should keep your Pi from going black.
-
RE: Lightdm.conf file blank
@RE_Magic_Mirror I don’t think there is a problem, no. I haven’t done any research on the topic, but I believe the
lightdm.conf
file was deprecated around the time the Wheezy version of the Raspian operating system was released. At least… changes to that file on Wheezy didn’t seem to have the desired effect. That continued on Jessie. -
RE: PM2 disable logs
From the page you linked:
Options: --merge-logs do not postfix log file with process id --log-date-format prefix logs with formated timestamp -l --log [path] specify entire log file (error and out are both included) -o --output specify out log file -e --error specify error log file
So…
pm2 stop mm pm2 start mm -o "/dev/null" -e "/dev/null" pm2 save
-
RE: CORS using node_helper.js for Uber and Lyft APIs
@Anhalter42 said in CORS using node_helper.js for Uber and Lyft APIs:
(or by pressing some shortcut which I forgot; search the forum if you want to know).
Try F12.
-
RE: Update
Please use the Markdown features to post code and console output. It makes it so much easier to read.
-
RE: Config.js file Syntax
@jade said in Config.js file Syntax:
now I have a working mirror that sporadically gives me game of thrones quotes! My office at work is now much brighter!
Well, you do until he kills off another Stark child.
-
RE: Electron CPU usage
For what it’s worth:
Hardware: BCM2835 Revision: a02082
And I do not have the problem.
-
RE: Time and Date Do not Update
@hall1458 Wow. Dude, I’m sorry that nobody has stepped in to help you out. I’m not much of a *nix guy, but I’ve been dealing with this at work for various reasons. I’ll do what I can.
The NTP service should synchronize your Pi’s clock with one of many time servers out on the internet. If you get a terminal onto your Pi and type
ps ax | grep ntpd
you should see this line in return:602 ? Ss 0:04 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 106:111
. Some parts will be different. This is good. If all you see isgrep --color=auto ntp
then the NTP service isn’t running. Post back here and we’ll get that fixed.Assuming that NTP is running on your pi, you will want to check the configuration of your NTP server. Type
nano /etc/ntp.conf
. If you see a blank screen/file, then you have a problem. Assuming you do see a file, you want to look for the following lines:# pool: server 0.debian.pool.ntp.org iburst server 1.debian.pool.ntp.org iburst server 2.debian.pool.ntp.org iburst server 3.debian.pool.ntp.org iburst
These are the servers that your Pi will be checking for a valid time. You can manually check them as well. Exit the
/etc/ntp.conf
file and typentpq -pn
and wait. You should see something like this:remote refid st t when poll reach delay offset jitter ============================================================================== +173.71.73.207 .PPS. 1 u 856 1024 377 18.624 -1.660 5.766 +66.228.59.187 128.59.0.245 2 u 468 1024 377 27.636 0.276 6.356 *199.102.46.76 .GPS. 1 u 839 1024 377 37.422 0.189 4.440 +23.239.24.67 200.98.196.212 2 u 713 1024 377 48.940 -1.173 2.743
At least one of those lines should have an asterisk at the beginning. Give it a go and report back.
-
RE: Ghost Overlay / OMXPlayerTransparency
I played around with this a bit. In the end, running omxplayer with a resized and rotated video was the way to go. Oh, and I re-edited a few videos together in order to provide a more seamless experience. I’ll see about capturing some video tomorrow and uploading it.
I used
pm2
to manage a quick script to keep the video going in case of failure. Overall, I’m quite pleased. Now to do the same to my office mirror…