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

Magic Mirror Build Log ... Oak and Walnut Frame

Scheduled Pinned Locked Moved Show your Mirror
21 Posts 3 Posters 6.0k Views 4 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.
  • S Offline
    sdetweil @ruff.hi
    last edited by Sep 11, 2022, 12:02 PM

    @ruff-hi yes, if the hole is small for the pir, you might have difficulty.

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    R 1 Reply Last reply Sep 11, 2022, 1:21 PM Reply Quote 0
    • R Offline
      ruff.hi @sdetweil
      last edited by Sep 11, 2022, 1:21 PM

      @sdetweil said in Magic Mirror Build Log ... Oak and Walnut Frame:

      @ruff-hi yes, if the hole is small for the pir, you might have difficulty.

      True. I did run some tests on various size holes and they all pretty much said ‘yes - I see you’. Anyway, current hole is small but I can make it bigger (if needed).

      R 1 Reply Last reply Sep 17, 2022, 7:13 PM Reply Quote 0
      • R Offline
        ruff.hi @ruff.hi
        last edited by Sep 17, 2022, 7:13 PM

        Still undecided where the MM is going … but it is up and running (sans PIR - disabled the code that responds to the sensor as I am finding it more, and more, AND MORE annoying). More sensors on their way … I must have something to tinker with.

        So … it is up, in the study, on the dog creates. Wife hasn’t seen it up and on yet … as such, results are PENDING :).

        R 1 Reply Last reply Sep 23, 2022, 10:00 PM Reply Quote 0
        • R Offline
          ruff.hi @ruff.hi
          last edited by ruff.hi Sep 23, 2022, 10:00 PM Sep 23, 2022, 10:00 PM

          I set it up in the study and just left it on. PIR is disconnected so the screen doesn’t blank. Wife walks in and …

          “um … is that your magic mirror?”

          Yes.

          “It is very nice, I like the wood border, and, as usual, you have done a very nice work on making it look professional”

          Thanks.

          “But … it doesn’t appear to be a mirror. And that is a very busy screen”.

          Oh oh. Now I will need to seriously rethink things.

          Several days later … I have decided to ditch the PIR (I couldn’t get it to work to my satisfaction anyway). I am going to install a slightly hidden momentary switch. Press the button, screen comes on, release the button, screen turns off / Mirror returns.

          That should get me my vision (ability to look at all the key stuff on my display) as well as getting my wife what she is after (nice mirror without the cluttered screen). It should be fairly easy to let people see the cool stuff, if they want to.

          This will mean expanding my walnut border (I was probably going to do that anyway) and installing the switch.

          The python code is much easier than with the PIR …

          #!/usr/bin/env python
          from gpiozero import Button
          from time import sleep
          
          def turnscreen_on():
              print('BUTTON PRESSED')
              ### subprocess.call("sh PIR/monitor_on.sh", shell=True)
           
          def turnscreen_off():
              print('BUTTON RELEASED')
              ### subprocess.call("sh PIR/monitor_off.sh", shell=True)
          
          button = Button(2)
          
          while True:
              button.when_pressed = turnscreen_on
              button.when_released = turnscreen_off
          
              sleep(0.5)
              
          
          

          I only had a rocker switch to test with and a momentary switch might be triggering the turnscreen_off part all of the time. I might need a boolean variable to hold the screen state (ON / OFF). Momentary switch is coming tomorrow … I will test it and see.

          R 1 Reply Last reply Sep 24, 2022, 5:54 PM Reply Quote 0
          • R Offline
            ruff.hi @ruff.hi
            last edited by Sep 24, 2022, 5:54 PM

            Momentary switch arrived from Amazon. It is a lovely little piece of kit. And it works just like the rocker switch so my code is good to go.

            Now I just need to install it, wire it up and find a place to hang it.

            R 1 Reply Last reply Sep 29, 2022, 12:27 PM Reply Quote 2
            • R Offline
              ruff.hi @ruff.hi
              last edited by Sep 29, 2022, 12:27 PM

              I put in an order for a piece of ‘smart mirror’ after ordering a number of samples. The Smart Mirror option is really cool. Much better than the other options. The issue … it is expensive.

              It is being delivered today. I am planning on having everything wrapped up, installed, additional border added, location for momentary switch, etc, etc finalized by the weekend.

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