MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. yo-less
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 2
    • Topics 8
    • Posts 92
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: PIR sensor behind glass?

      @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.

      posted in Hardware
      yo-lessY
      yo-less
    • 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):

      0_1472855369397_calendar-now.png

      I have changed this behavior in my calendar.js to create a more standardized layout:
      0_1472857130558_calendar-changed.png

      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 :)

      posted in Feature Requests
      yo-lessY
      yo-less
    • RE: cant get magicmirror to show up on screen

      @lysnikolaou Welcome to the world of MagicMirror² :)

      posted in Troubleshooting
      yo-lessY
      yo-less
    • 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.

      posted in Troubleshooting
      yo-lessY
      yo-less
    • 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?

      posted in Troubleshooting
      yo-lessY
      yo-less
    • RE: cant get magicmirror to show up on screen

      @kula What command are you talking about?

      posted in Troubleshooting
      yo-lessY
      yo-less
    • 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.

      posted in Troubleshooting
      yo-lessY
      yo-less
    • 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.

      posted in Troubleshooting
      yo-lessY
      yo-less
    • 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?

      posted in Troubleshooting
      yo-lessY
      yo-less
    • 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):

      0_1472843356492_sensor2.png

      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:

      0_1472844079617_sensor4.png

      Next, we removed the Fresnel lens from the sensor:
      0_1472844126023_sensor3.png

      After that, we put the sensor in the bigger hole which perfectly houses the whole cylinder:
      0_1472844139302_sensor3.5.png

      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:

      0_1472844320166_sensor1.png

      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? :D

      Anyway, 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.

      posted in Hardware
      yo-lessY
      yo-less
    • 1 / 1