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

    Posts

    Recent Best Controversial
    • RE: no space on SD-card

      @zdenek First, how big is your SD card?

      Second, you can probably copy off the config.js file out of the /home/pi/MagicMirror/configure folder and then delete the entire /home/pi/MagicMirror folder. That should give you enough space to get your Pi back up & running.

      Third, you can remove the applications that come with the Raspian operating system that aren’t necessary for the Magic Mirror to function with this command:
      sudo apt-get remove --purge idle3 java-common libreoffice* minecraft-pi scratch nuscratch penguinspuzzle python-minecraftpi python3-minecraftpi smartsim sonic-pi wolfram-engine
      Follow it up with the automated cleanup: sudo apt-get autoremove -y.

      That should free up some space once you get your Pi booted again.

      posted in Troubleshooting
      B
      bhepler
    • RE: First mirror built! DIY frame :P

      @idoodler I found out the hard way that the VESA mounts are incorporated into the plastic cover to the monitor. If you remove the back then you lose the VESA mounts.

      posted in Show your Mirror
      B
      bhepler
    • RE: Girly Modules ??

      @4lice - If you know of an RSS feed for “makeup tips of the day” or “Women of Power News” or the like, you can easily add it to the Newsfeed module.

      posted in Requests
      B
      bhepler
    • RE: Create another PM2 Script?

      @Damian Sure, I can do that. Let me re-write this a bit.

      Step 1 - Create a script called sonos.sh in the home directory (~).

      cd ~
      nano sonos.sh
      

      Enter the following in the nano editor for the contents of your sonos.sh script:

      cd ~/node-sonos-http-api
      DISPLAY=:0 npm start
      

      Save the file and exit the nano editor.

      Step 2 - Make your script executable by entering chmod +x sonos.sh

      Step 3 - Tell pm2 to manage your sonos script so that it is always running in the background:

      pm2 start sonos.sh
      pm2 save
      

      Verify that pm2 is managing both your sonos.sh script and the mm.sh script by typing pm2 status all. You should see two lines, one for each script.

      Step 4 - Clear the logs and bounce your mirror and verify that everything works as planned.

      pm2 flush
      pm2 restart all
      
      posted in Troubleshooting
      B
      bhepler
    • RE: Create another PM2 Script?

      Okay, a couple things. sono.sh is your script that starts your process. ~ is the shortcut to the pi user’s home directory, also known as /home/pi. In order to run scripts from the command line, you have to precede the script name with ./

      So let’s take a moment to verify the state of your pi. Change to the home directory and pull up the file list with a couple switches to see if sonos.sh exits:

      pi@raspi:~ $ cd ~
      pi@raspi:~ $ ls -lh sonos.sh
      -rwxr-xr-x 1 pi pi 26 April 15 11:50 sonos.sh
      

      There will be some variation in your results. If you see the phrase “No such file or directory”, then the file does not exist at that location. Also, you may not have any “x” entries when you do see the file listed. If so, the file is not marked executable, so it won’t run. You can fix this by typing chmod +x sonos.sh

      I’m a little unclear as to what commands exactly are in your sonos.sh file. Could you please enter cat sonos.sh and reply with the results?

      Adding the script to pm2 is done by typing pm2 start sonos.sh. You can then verify that pm2 has picked it up by typing pm2 status all. That will give you a list of the processes that pm2 is controlling. You should see both your mm.sh process and your sonos.sh process.

      Give that a go and report back to us.

      posted in Troubleshooting
      B
      bhepler
    • RE: MagicMirror 150x70x2.5 Slim

      Excellent work. I’m still nervous about the mirror tape adhesive, but to my knowledge nobody has had a problem with the frameless mirrors.

      It looks great!

      posted in Show your Mirror
      B
      bhepler
    • RE: Question? What's the best screen type? LCD, LCD, IOS, etc?

      @MarkV - I don’t think the various technologies make much of a difference, honestly. Turn the contrast up and turn the backlight down and you should have a seamless image in your mirror.

      Stick with an LCD monitor for thickness sake (instead of CRT). Other than that… the key features I look for are downward-facing ports, HDMI input and built-in speakers. OLED is nice if you’re gaming, but your mirror most likely is going to be displaying white on black.

      posted in Hardware
      B
      bhepler
    • RE: What are you guys using for the mirror?

      @vaju0503 - If it helps, I have built two mirrors with VanityVision via www.twowaymirrors.com and one with acrylic via www.tapplastics.com. I definitely prefer the glass vs. acrylic, but I have no experience between brand names of glass. That said, the acrylic mirror did what I wanted it to do. Honestly, I think the differences are minor enough that you won’t care.

      posted in Hardware
      B
      bhepler
    • RE: change compliments language to Dutch

      @hayman I believe the default compliments are hard coded (there are only ten of them). You’ll have to write your own compliments in Dutch or any other language. You can either include them in your module configuration or use a separate compliments JSON file.

      posted in Troubleshooting
      B
      bhepler
    • RE: Magic Mirror Does Not Close

      You can stop them all at once by entering pm2 stop all

      posted in Troubleshooting
      B
      bhepler
    • RE: Where to buy 2 way mirror in USA

      @creo519 - I’m sorry to hear that. My experience with TAP Plastics was a positive one.

      posted in Hardware
      B
      bhepler
    • RE: Double power supply, different output, for RPI and screen controller

      I usually mount a power strip along the inside edge of the frame and run the Pi from there. This one pushes 2.4A on each of 4 USB ports. I use one for the Pi and one for an LED strip light around the frame. Here’s the one I normally order: http://a.co/evJGa7V

      @shbatm - I put one of those USB plugs on my motorcycle and it was insanely easy. They’re compact and push good current. That sounds like a good idea.

      posted in Hardware
      B
      bhepler
    • RE: My Mirror ! So great !

      Looks great! Well done.

      posted in Show your Mirror
      B
      bhepler
    • RE: Magic Mirror with AI

      @Chris You might be able to run a virtual machine host on Windows 7 Pro and then run this mirror instance as a VM. Most likely you’ll want to run Ubuntu 16.04 desktop or possibly a version of Debian. @akshaybahadur21 will have the details as to which one.

      At work, we use a Debian 9.1.0 installation for slimmed down testing. It doesn’t take up much memory or resources at all.

      posted in Show your Mirror
      B
      bhepler
    • RE: Prepping my first build. Care to check my work?

      @3DPrintedWaffles It looks like you’re off to a good start. I do have a couple thoughts:

      • If your monitor is going to be smaller than your glass, you’ll want black construction paper or felt to cover the area of the glass that are not covered by the monitor. This includes the edges of your internal framework.
      • I would recommend wood screws for the internal framework. They don’t need to be large. 1.5" would probably do just fine.
      • I don’t know about the Liquid Nails part. I’m not familiar with it enough to say whether or not it will keep your glass attached to monitor and/or framework. I would consult your local hardware store.
      • Give a thought to power. Are you routing the power through the wall? Through a hole in your internal framework? Consider that at the moment, you have to power the Pi and the monitor, so that’s two cords.

      IIRC, the people who apply window film a lot recommend using a spray bottle with water or windex on the glass and then applying the film over top. The liquid will let you slide the film a bit while you get it positioned properly. Once the liquid evaporates, the film should remain in position.

      Bezel-free is certainly possible. It just requires slightly better construction skills and a bit more planning than your standard magic mirror. Normally, the bezel on the frame is what holds the glass up against the monitor face (and the monitor is usually the same size as the glass). Without that bezel, you’ll have to rely on the liquid adhesive. So long as you trust the Liquid Nails product, you should be good to go.

      posted in Development
      B
      bhepler
    • RE: Need Guidence, Or Someone To Make A Module For Me, Uses GPIO

      @SpicyCoding It’s not nearly as much fun if someone makes it for you.

      This might get you started: https://www.youtube.com/watch?v=0PAl340SCAY

      Once you can successfully detect a vibration/knock in your Python script, it should be pretty easy to use that code in a node_helper.js to send messages to an image module.

      posted in Requests
      B
      bhepler
    • RE: Modifying Magic Mirror for a gift...

      In my experience, the technique used in the Complete Setup Tutorial no longer works as intended. In order to keep the mirror on all the time, I recommend the following:

      • Install X-Screensaver by entering sudo apt-get install x-screensaver
      • Turn off your MM briefly by clicking Alt-Q. (If you’re using PM2 to maintain the process, enter pm2 stop mm or whatever).
      • Using a mouse, configure X-screensaver to not use a screensaver. I believe you can access the X-screensaver configuration interface by clicking on the Raspberry icon -> Preferences -> Screensaver. The drop-down to select the screensaver mode will have an option for “disable screen saver”.
      • Close the configuration panel and then run your MagicMirror process normally.

      Credit goes to @sgtwtf for this suggestion.

      posted in Troubleshooting
      B
      bhepler
    • RE: The 32" Inch Mirror

      @cowboysdude Well I’m going to be humming that one all day today. Pretty cool!

      posted in Show your Mirror
      B
      bhepler
    • 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
      }  
      },
      
      posted in Troubleshooting
      B
      bhepler
    • RE: Slim, Frameless Bathroom Mirror with a 27" Display

      Fantastic job, @reaper81. That looks like a professional installation.

      posted in Show your Mirror
      B
      bhepler
    • 1 / 1