That is an incredibly clean back to your mirror. It looks great. Well done!
Read the statement by Michael Teeuw here.
Posts
-
RE: My Full-Length Smart Mirror
-
RE: Raspberry 4 with two 24-inch screens ?
@Cbob - It shouldn’t require much modification. Just avoid the following positions in your
config.jsfile:fullscreen_above,fullscreen_below,bottom_center,middle_center,top_center,top_barandbottom_bar. Those positions are centered on the desktop and will straddle the break between your monitors. That leaves you six positions to put modules. You should be okay.Now… if you want to get really advanced, you can modify the framework to add locations just to the left and right of the break between the monitors. That will involve adding new locations to the
index.htmland some significant modification of the CSS file. But it is possible. I would suggest getting your mirror built first and then investigating this possibility. -
RE: Please help
For quick reference, the guide to using pm2 to automatically start the mirror process can be found here.
I remember having trouble getting the UI displayed on my Raspberry PI 2, but I can’t remember what I did specifically to get it up and running. Assuming you are using a keyboard & mouse connected directly to the Pi, try this:
- Start the Pi’s graphical interface (if it is not already running) by entering
startx. You should eventually see a desktop, with a mouse cursor, menu, etc. - Open a terminal window using the Menu in the upper left.
- In that terminal window, type
cd ~/MagicMirrorfollowed bynpm start.
That should at least give you your interface. If you are using SSH to issue commands to your mirror remotely, try the following:
- Once you log into the Pi, navigate to the Magic Mirror directory like so:
cd ~/MagicMirror - Start the magic mirror and specify that you want it to display on the monitor attached to the Pi:
DISPLAY=:0 npm start
It has been a while since I was playing around with my RPi 2. I think these will help.
- Start the Pi’s graphical interface (if it is not already running) by entering
-
RE: Update Error of v.2.2.0 :(
@fox Did you try reinstalling electron via the instructions given? ie, delete
/home/pi/MagicMirror/node_modules/electronand reinstalling?This should be close:
cd /home/pi/MagicMirror/node_modules sudo rm -rf electron cd .. npm install electron@1.4.15After that, I suspect a
npm installand thennpm start. -
RE: Full Length Bathroom Mirror Build
That is quite the tub.
And the mirror is pretty awesome, BTW.
-
RE: Transparent glass in front of Acrylic Sheet to hold it together ?
Be sure to add a little room in your frame for wood expansion. Changes in humidity (and the fact that you’ve cut the wood into pieces) will make it expand slightly. If you don’t account for this, the wood will push on the sides of your acrylic, warping it.
It shouldn’t take much to give it enough slack. Maybe half a centimeter all around.
-
RE: Please help
@moris said in Please help:
Pi @ raspberrypi: ~ $ cd MagicMirror
Pi @ raspberrypi: ~ / MagicMirror $ cp config / config.js.samaple config / config.js
Cp: target ‘config.js’ is not a directory
Pi @ raspberrypi: ~ / MagicMirror $There’s a problem in your second command. There should be no space between
configand the slash. There needs to be a period at the end of sample. It should read like so:cp config/config.js.sample config/config.jsThat line breaks down into command-source-destination. “Copy”-“sample file”-“destination file”.
cpconfig/config.js.sampleconfig/config.js -
RE: keep running against a wall
Please use the markdown features to make your code easier to read.
The name of the module must match the name of the Github project and (more importantly) the name of the directory where the module resides. Try
module: “MMM-rainfc”,. Also, it looks like you closed the config of the rainfc module, but you didn’t close the module itself. So:{ module: “MMM-rainfc”, position: “top_right”, header: “Rain forecast”, config: { lat: “52.525”, lon: “5.71806”, width: 200, height: 150, lineWidth: 2, lineColor: “#e0ffe0”, fillColor: “#e0ffe0”, maxPower: 300, rainText: "Tot: ", noRainText: "Geen regen tot: ", nrOfTimeLabels: 5 // advised values: 2-5 } }, -
RE: My hallway 27" MagicMirror! (Sweden)
Looks pretty sharp! Great job.
-
RE: Safest method for attaching boards to back of display
I found a bulk pack of wooden popsicle sticks at my local craft store (Michael’s, I think). Something like 500 for a couple of dollars.
I hot glue’d two of them to the back of my Pi and I intend to do the same to the monitor circuit boards later this summer. You can hot glue the other side of the sticks to the monitor or use some other adhesive.
Another possibility: those credit card offers you get in the mail with the fake credit card included? Grab the sticky industrial booger from the back of those cards. It’s pretty strong, easily formed and temperature resistant.