If you need help message me. I had to fight my way to getting some things to work. I’ll do what I can for you.
Read the statement by Michael Teeuw here.
nuckinfutz
@nuckinfutz
OOP Neophyte.
Best posts made by nuckinfutz
-
RE: Complete noob here
-
RE: Face recognition and then play a random video
I got this done using 2 different methods. One was using the HTML video player. The other was using the OMX player
I’llpost code later tonight And explain better -
RE: Complete noob here
@cowboysdude I have a very deep and very broad background in I.T. Just not with Object Oriented Programming. I can generally muddle my way through things. It is very helpful though when documentation is clear and also when people offer assistance and leave the ego at the door. I’m happy to help if I can with the config.js file.
-
RE: Tips on powering the Pi
Monitor cord and pi power supply are stored inside the mirror housing
-
RE: trouble with config file
If you still haven’t gotten anywhere I’ll zip up and send you my entire directory structure and a step by step instruction sheet I wrote for myself to get the basic mirror up and running. You can compare them to yours and see where we differ. That should give you some insight.
-
RE: Total novice experiencing install problems with "mm.sh"?
Not really sure why everyone wants to use pm2. It was a major headache for me. Noobs should not use that until they get everything else working perfectly.
Latest posts made by nuckinfutz
-
Face Recognition. How many images are too many?
I’m running on an RPi 3b and have 4 users. Each user has just under 100 pictures that were used to train the mirror. Giving a total of about 350 images. I have my own module that if the user is recognized it plays a video. (Classic Disney “Mirror Mirror on the wall” type module)
How many images are you using for your recognition file?
-
RE: Facial Recognition - customize your mirror for every user!
@lepetitnicolas Just saw this but here is the fix
cd home/pi/MagicMirror/modules/MMM-Facial-Recognition-Tools
sudo pip install future --upgrade -
RE: PM2 Alternative
@Chiumanfu autostart is a folder. You want to drop the mm.desktop file into that folder. Haven’t tried Jessie light but don’t know why it shouldnt work.
It should have worked where you tried as well. POST the contents of your mm.desktop file
-
PM2 Alternative
I’m not sure what the benefit of PM2 is. In my mind if the mirror crashed the error will need to be fixed and the Pi rebooted. In the event of a power outage the Pi will reboot on its own. This is a simpler way to autostart MM2
In my case I’m running a 7" RPi touchscreen display connected to a RPi v3 running Raspbian Jessie via GPIO pins and the HDMI connector. I am supplying power to both the display and the RPi via a single 2.5v USB power supply. For me, I need to be aware of power consumption.
When I first started I installed PM2 and after some headaches I got it running. It seemed like overkill in my mind even without my need to watch out for power hungry daemons. I figured there must be an easier way. After a lot of searching and trying different things here is what I came up with. It’s very simple and doesn’t carry any of the overhead that PM2 does.
Here’s my solution
Step 1.
Create a text file that’s called mm.sh in the MagicMirror folder. Add the following lines to that filecd /home/pi/MagicMirror
DISPLAY=:0 npm startNow save the file.
Right click on it and select Properties. Make sure its set as “executable by anyone” Now close the properties panel.Step 2.
Create an empty file on your desktop call mm.desktop
open the file with your text editor and copy the following into it[Desktop Entry]
Version=x.y
Name=MagicMirror
Comment=This is my comment
Exec=/home/pi/MagicMirror/mm.sh
Icon=/home/pi/Pictures/icon.png
Terminal=false
Type=Application
Categories=Utility;Application;If you’ve left everything as the defaults when installing MM2 you wont need to change anything.
Save this file and place a copy of it in/home/pi/.config/autostart
That’s it. Reboot and your mirror should load each time you reboot your Pi.
Definitely saves CPU usage thereby cutting down on power usage. There is also less to get “borked” up.
- It has been reported that this doesn’t work with Jessie Lite. This method depends on prior loading of startx
-
RE: Problems with Wi-Fi connectivity.
@n8ms Disables the onboard wireless. You might want to try bluetooth and a bluetooth keyboard. Why worry about the onboard? Just leave it.Doubt you are having power issues.
-
RE: Problems with Wi-Fi connectivity.
@n8ms add to config.txt
dtoverlay=pi3-disable-wifi
dtoverlay=pi3-disable-bt(This also disables Bluetooth)
-
RE: Problems with Wi-Fi connectivity.
Adding a dongle on yours may be a good solution. use a usb extension cable yso you can move the dongle around if you dont get connectivity.