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

22'' Display + 40cmx50cm IKEA Frame + PIR Sensor

Scheduled Pinned Locked Moved Show your Mirror
29 Posts 13 Posters 39.0k Views 15 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.
  • R Offline
    ryck Module Developer @MyMirror
    last edited by Dec 25, 2017, 1:48 PM

    @MyMirror in the pir.py file you need to change only one thing, the GPIO data pin to which the PIR sensor is connected (you can double check yours here: https://pinout.xyz/). The line is this one: https://github.com/deg0nz/MagicMirror-Display-Controller/blob/master/pir.py#L8

    That should be all.

    The line 7 stuff is for the service (ie, run the script automatically every time the Pi reboots) and is in a different file: https://github.com/deg0nz/MagicMirror-Display-Controller/blob/master/pir_sensor.service#L7

    C 1 Reply Last reply Jan 10, 2018, 3:17 AM Reply Quote 0
    • M Offline
      MyMirror
      last edited by Dec 25, 2017, 3:59 PM

      Merry xmas :-),

      thanks … your script works - my monitor not really :-(
      If your script power off HDMI i’ll get a “HDMI”-Logo and “no Signal” … bad :-(
      It seems that i have to buy a different screen.
      Which one do you use? Is it available as 32’’ ?

      Greets
      MyMirror

      1 Reply Last reply Reply Quote 0
      • M Offline
        MyMirror
        last edited by Dec 25, 2017, 4:37 PM

        You can see it here :-(

        –> https://1drv.ms/v/s!ApE0YZ4Ndle9jzjzH7u3vSCmXb7G

        1 Reply Last reply Reply Quote 0
        • D Offline
          doubleT Module Developer
          last edited by Dec 26, 2017, 1:46 AM

          Nice mirror. Have you considered leading the cable to the right and down along the corner of the wall? Might look even cleaner. And if it’s a selfmade cable, I’d consider some white cable sleeving.

          1 Reply Last reply Reply Quote 0
          • C Offline
            cornusandu @ryck
            last edited by Jan 10, 2018, 3:17 AM

            @ryck hello. Please, would you consider making a video on installing software steps for morons like me? I manage to install the module but after that I was lost completely. Following the github Magic Mirror pir control hdmi. If you would be kind enough to make that video please consider every step as I am a complete noob and a moron considering raspbian. I was lucky that there are a great number of videos on how to install Magic Mirror otherwise I would never been able to get it done. Thank you very much.

            C R 2 Replies Last reply Jan 10, 2018, 3:53 AM Reply Quote 0
            • C Offline
              cornusandu @cornusandu
              last edited by Jan 10, 2018, 3:53 AM

              @cornusandu said in 22’’ Display + 40cmx50cm IKEA Frame + PIR Sensor:

              @ryck hello. Please, would you consider making a video on installing software steps for morons like me? I manage to install the module but after that I was lost completely. Following the github Magic Mirror pir control hdmi. If you would be kind enough to make that video please consider every step as I am a complete noob and a moron considering raspbian. I was lucky that there are a great number of videos on how to install Magic Mirror otherwise I would never been able to get it done. Thank you very much.

              PS. I do not understand how to install and get it working Magic Mirror Display Control for the PIR

              1 Reply Last reply Reply Quote 0
              • R Offline
                ryck Module Developer @cornusandu
                last edited by Jan 10, 2018, 1:55 PM

                @cornusandu I don’t think a video will help you, you just need to follow the instructions here: https://github.com/deg0nz/MagicMirror-Display-Controller

                Make sure you you set the path and the the pin variable to the correct values and that’s it.

                1 Reply Last reply Reply Quote 1
                • F Offline
                  flo
                  last edited by Jan 21, 2018, 2:08 PM

                  @ryck Do you know the model you have been using for this (great) mirror? Probably there is something on ebay…

                  R 1 Reply Last reply Jan 21, 2018, 4:12 PM Reply Quote 0
                  • R Offline
                    ryck Module Developer @flo
                    last edited by Jan 21, 2018, 4:12 PM

                    @flo You mean the monitor model? I don’t know for sure, I think is a viewsonic, but I’ll try to get the model later…

                    But to be honest, anything will do the part, just get anything cheap and start from there :)

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      flo
                      last edited by Jan 23, 2018, 5:34 PM

                      @ryck I just wanted to know the model, because the PIR seems to work well with this model (no input warning when suspending).

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      • First post
                        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