• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

My First Mirror... until now ^^

Scheduled Pinned Locked Moved Show your Mirror
37 Posts 17 Posters 41.2k Views 18 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    cruunnerr
    last edited by cruunnerr Jan 1, 2018, 7:37 PM Jan 1, 2018, 7:03 PM

    Hey all,

    first i want to say, that this is a great community and it makes fun to be a part of it.

    Since i decided to build a MagicMirror i was more and more interested what you can do with it. So now i want to show you my first exemplar. At least one more is in planning.

    The original plan was to install the mirror, so that you can only see the front frame. I had to postpone that later. That’s why he’s hanging on the wall now.

    I build the frame with wood, but i put some acrylic glass on the front and on the sides.
    I drilled a hole in the middle for the PIR.
    In addition, speakers are installed, but are not yet in operation (I still explore the applications / modules and think about what I still want to process)

    Fun fact: Because the PIR always detected the movement of my dog i put some clear nail polish on the lower half of the PIR :) Works great.

    I just used one 12V / 5A power supply. The 12V is used for the 23" Monitor and the LED Stripe. For the rPi i used a Step Down Converter and put it to 5.1V

    Next time i hang the mirror up, i will take some pics from behind ;)

    Installed modules:

    calendar_monthly
    MMM-EasyPix (for Wifi-QR-Code)
    MMM-GoogleMapsTraffic
    MMM-MyCalendar
    MMM-PIR-Sensor
    MMM-MyCommute
    MMM-NOAA
    MMM-Scrobbler
    MMM-Remote-Control
    MMM-Remote-Control-Repository
    MMM-SystemStats
    MMM-Watchdog
    MMM-Wunderlist
    MMM-internet-monitor (not visible)

    I also have a wifi watchdog installed because my wifi connection sometimes breaks off.
    It automatically turn the wifi controller off and on again, when the pi can’t ping my router.

    I found the LED Stripe somewhere in my house. It is a RGB Stripe 5050.
    Since there is no Module for this Stripe i used some mosfet’s and an external Application and wrote a script to turn it slowly on and off when movement is detected by the PIR.

    For the Wifi-QR code i used this guide and let the picture show via MMM-EasyPix (thanks to @mykle1 ;) ).

    For the background image i used the custom.css

    Hope you enjoy :)

    https://youtu.be/DHIKPTTG0q4

    0_1514833163710_IMG_2072JPG.jpg

    0_1514833178666_IMG_2073JPG.jpg

    0_1514833197194_IMG_2068JPG.jpg

    0_1514833215032_IMG_2064JPG.jpg

    0_1514833239937_IMG_2071JPG.jpg

    1 Reply Last reply Reply Quote 6
    • M Offline
      Mykle1 Project Sponsor Module Developer
      last edited by Jan 1, 2018, 9:19 PM

      Very well done, mate!

      Now, ask your desktop picture to turn around. ;-)

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • C Offline
        cowboysdude Module Developer
        last edited by Jan 1, 2018, 10:49 PM

        WOW that really looks awesome!! I love the LED lights!!!

        1 Reply Last reply Reply Quote 0
        • N Offline
          nikobelohlav
          last edited by Jan 2, 2018, 6:02 AM

          Looks Fantastic! i have a couple questions though, how did you add the backround (THE GIRL)?, how is your PIR setup, i want to add one for mine but have been trying to figure out how to make the screen just turn black instead of shutting off completely , and last one is how did you get scrobbler to work? I installed scrobbler on my mirror but it only worked if i had last.fm running on a computer within my network and half the time it was’nt “seeing” what i was playing. any insight to those questions would be great, feel free to message me directly so you thread doesnt get packed with a bunch of non-essential post. thanks

          Y 1 Reply Last reply Jan 2, 2018, 8:34 AM Reply Quote 0
          • Y Offline
            yawns Moderator @nikobelohlav
            last edited by Jan 2, 2018, 8:34 AM

            @nikobelohlav said in My First Mirror... until now ^^:

            how did you add the backround (THE GIRL)?

            Like this: https://forum.magicmirror.builders/topic/351/add-a-background-image

            1 Reply Last reply Reply Quote 0
            • B Offline
              barnosch
              last edited by Jan 2, 2018, 10:50 AM

              Sieht super aus!
              Vergess bloß nicht die Fusselrolle zu kaufen ;)

              1 Reply Last reply Reply Quote 0
              • C Offline
                cruunnerr
                last edited by Jan 2, 2018, 11:05 AM

                Thanks for the compliments.

                You can add a background with your custom.css like the link u posted, yawns.

                My custom.css looks like this:

                /*****************************************************
                 * Magic Mirror                                      *
                 * Custom CSS                                        *
                 *                                                   *
                 * By Michael Teeuw http://michaelteeuw.nl           *
                 * MIT Licensed.                                     *
                 *                                                   *
                 * Add any custom CSS below.                         *
                 * Changes to this files will be ignored by GIT. *
                 *****************************************************/
                
                 body {
                	background-image: url("background9.jpg");
                	background-size: cover;
                	margin-left: 0px;
                	margin-right: 30px;
                	margin-top: 15px;
                	margin-bottom: 15px;
                  	position: absolute;
                  	height: calc(100% - 28px);
                  	width: calc(100% - 22px);
                }
                .MMM-SystemStats  {
                        color: #CEF6CE;
                        } 
                .MMM-MyCalendar {
                  max-width: 300px;
                }
                

                The image is called “background9.jpg” and has been placed in the “home/pi/MagicMirror/css” folder.

                I needed to play a little bit with the margin’s, until it fits perfect. Keep in mind that your picture should fit the screen resolution. It shouldn’t be smaller. if it is, you should take a look at the MMM-ProfilePicture module.

                @nikobelohlav
                I just used the MMM-PIR module for it. It turns the HDMI signal off, and my monitor recognized that via HDMI-CEC/ARC and turns off. When the signal comes back the motor turns on within 2 seconds. thats quick enough i think.
                I don’t know if it is possible to change the MMM-Pir-Sensor.js so that not the command “tvservice …” is executed, but a notification will be sent to other modules like the profile-switcher. Maybe you should open a new thread, even if I don’t quite understand why you don’t want to turn off your monitor.

                The scrobbler module was a little bit tricky. First you need to register your apps, to share the current playing music with last.fm.
                I actually just use Spotify, so in the Spotify-settings of my phone, tablet and macbook i needed to login to last.fm via the Spotify app.
                Sometimes i got the same problem as you, but its not a failure of the module. I played music and checked on last.fm if there is actually scribbling something, but there wasn’t. Then i turn back to my Spotify app and just log out and log in again (to last.fm in the Spotify settings) and that brings the scrobbling back.
                So its more a bug, that happens sometimes, cause Spotify didn’t correctly streams to last.fm i think.
                When u don’t pause the music it should scrobble continuous.

                Also keep in mind:

                When is a scrobble a scrobble?
                A track should only be scrobbled when the following conditions have been met:

                The track must be longer than 30 seconds.
                And the track has been played for at least half its duration, or for 4 minutes (whichever occurs earlier.)
                As soon as these conditions have been met, the scrobble request may be sent at any time. It is often most convenient to send a scrobble request when a track has finished playing.

                @barnosch
                Ja im Winter ist es manchmal schlimm mit den Hundis ^^

                1 Reply Last reply Reply Quote 0
                • D Offline
                  doubleT Module Developer
                  last edited by Jan 2, 2018, 6:36 PM

                  I really like how you integrated the motion sensor! The rest is a little bit too much “screen” (as opposed to mirror) for me, but I can see the appeal. I like it.

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    cruunnerr
                    last edited by Jan 2, 2018, 6:43 PM

                    @doubleT said in My First Mirror... until now ^^:

                    The rest is a little bit too much “screen” (as opposed to mirror) for me, but I can see the appeal.

                    i know what you mean ^^
                    But since i found out how many things can be shown with the MM, i couldn’t let it be :D
                    Maybe the background is “too much”, but i like it anyhow XD
                    but if i turn on the room lights, its bright enough to use it as a mirror :P

                    M 1 Reply Last reply Jan 2, 2018, 9:29 PM Reply Quote 1
                    • M Offline
                      Mykle1 Project Sponsor Module Developer @cruunnerr
                      last edited by Jan 2, 2018, 9:29 PM

                      @cruunnerr said in My First Mirror... until now ^^:

                      Maybe the background is “too much”, but i like it anyhow XD

                      Whatever you like is how your mirror should be.

                      Again, well done, mate. :-)

                      Peace

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 1 / 4
                      1 / 4
                      • First post
                        2/37
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy