@dmcinnes It’s great to hear that they’re working on an external 5v power supply, this means it should be possible to use them on the Pi. It would be really nice if you could try hooking them up to the Pi to see if they’re acting up once attached to the Pi’s pins. I’ll probably try to get one as well if you can confirm they’re working on the Pi as well.
Read the statement by Michael Teeuw here.
Posts made by yo-less
-
RE: PIR sensor behind glass?
-
Calendar time - capitalize first letters
Currently the calendar times are only partly capitalized, some time phrases start with lower-case letters, some don’t
(The ones pulled from the ‘translations’ folder start with upper-case letters):I have changed this behavior in my calendar.js to create a more standardized layout:
Also, I have sent a pull request to have my changes merged into the development branch,
so if you’d like to comment on this modification, feel free to do so :) -
RE: cant get magicmirror to show up on screen
@lysnikolaou Welcome to the world of MagicMirror² :)
-
RE: cant get magicmirror to show up on screen
@kula Great to know it’s working for you. Use PM2, it makes sure your mirror stays up and running and doesn’t stop at some stage. It also provides logs that can help troubleshoot potential mirror problems.
-
RE: cant get magicmirror to show up on screen
Then you’re not experiencing the same problem. What you are describing is normal behavior.
If you use SSH, the Pi doesn’t know what monitor it should use, since you’re sitting in front of another monitor, so your command should be:
DISPLAY=:0 npm start
Try that, it should work without problems.
Everything is also explained here .
Why aren’t you using PM2 to run the mirror?
-
RE: cant get magicmirror to show up on screen
@kula What command are you talking about?
-
RE: cant get magicmirror to show up on screen
@lysnikolaou Unfortunately, I have no experience with the automatic installation because it isn’t supported for my hardware setup. But it seems to be the best way of going about it and the instructions in the link @strawberry-3-141 has posted is the way to go, @KirAsh4 has put a lot of energy into it and if you follow it closely, I’d be surprised if you still ran into trouble.
-
RE: cant get magicmirror to show up on screen
Then do it again, since you’re only just starting, you will only lose an hour or so and hopefully end up with a working system. This way you can ensure you have a working mirror that is fun to configure. At this stage you’re having problems with it starting up, who knows what other problems might be lurking in the darker corners of your Raspbian installation. Just make sure you grab the latest Raspbian image when reinstalling.
Let us know whether it worked the second time round.
-
RE: cant get magicmirror to show up on screen
That might be the best way of going about it if you are only planning on using the Pi for the Magic Mirror.
Did you start out with a brand new Pi or did you install some other software on it as well? -
RE: PIR sensor behind glass?
Alright, everyone. I said I would start experimenting with the PIR sensor and experiment I did.
So first of all we started drilling a hole of diameter 8mm into one side of a piece of wood
(we went 5mm deep as this corresponds with the height of the cylindrical sensor):This is not all we did, as you can see, we also drilled a hole of diameter 3mm on the other side,
but this time we made sure it went all the way through:Next, we removed the Fresnel lens from the sensor:
After that, we put the sensor in the bigger hole which perfectly houses the whole cylinder:
Then we waited to see whether the mirror would turn itself on if we moved past the piece of wood.
And, hooray, it did!Emboldened by this discovery, we started all over again, but this time with smaller holes on the other side,
so we ended up with this setup:Simply ignore the rubber band, it’s there to hold the circuit board in place :)
Anyway, here’s the good news: The mirror recognizes somebody walking by if the hole is as small as 2 millimeters in diameter.
It did not work with a 1mm hole, but hey, are we living in a perfect world? :DAnyway, this solution is good enough for me, we will drill a 2mm hole in the bottom center area of the mirror frame and hide the sensor behind it.
I’m thinking we might even be able to make the hole less apparent by choosing a piece of wood similar to the one above
with some nice-looking wood grain and / or knots.