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

Cowboysdude's Mirror

Scheduled Pinned Locked Moved Show your Mirror
49 Posts 9 Posters 48.3k Views 9 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.
  • B Offline
    bibi @cowboysdude
    last edited by bibi Nov 1, 2016, 9:17 AM Nov 1, 2016, 9:16 AM

    @cowboysdude aha ok I will check install xscreensaver this evening. Any specific options or settings that I should apply?

    C B 2 Replies Last reply Nov 1, 2016, 11:28 AM Reply Quote 0
    • C Offline
      cowboysdude Module Developer @bibi
      last edited by Nov 1, 2016, 11:28 AM

      @bibi said in Cowboysdude's Mirror:

      @cowboysdude aha ok I will check install xscreensaver this evening. Any specific options or settings that I should apply?

      Yes “Disable” :)

      1 Reply Last reply Reply Quote 0
      • B Offline
        bhepler Module Developer @bibi
        last edited by Nov 1, 2016, 2:00 PM

        @bibi This thread may help you.

        1 Reply Last reply Reply Quote 0
        • B Offline
          bibi
          last edited by bibi Nov 1, 2016, 10:41 PM Nov 1, 2016, 9:25 PM

          @cowboysdude @bhepler Thx for spending time to help me. i understand if you can’t help anymore.
          but here my update : i installed Xscreensaver and disabled it but it’s working. the monitor switches off with /opt/vc/bin/tvservice -o properly but with
          /opt/vc/bin/tvservice -p the screen stays black (backlight)
          just for info im doing all this via SSH… maybe something to do with X forwarding and this message : xset: unable to open display “”…

          Edit: i have found a command that allows to bring back the screen ! sudo chvt 9 && sudo chvt 7. :)))
          i have to check out how to implement this in an elegant way

          C 1 Reply Last reply Nov 2, 2016, 1:47 AM Reply Quote 0
          • C Offline
            cowboysdude Module Developer @bibi
            last edited by Nov 2, 2016, 1:47 AM

            @bibi said in Cowboysdude's Mirror:

            sudo chvt 9 && sudo chvt 7

            Open up the monitor_on.sh and delete everything add:

            sudo chvt 9 && sudo chvt 7

            Save it and that should work for you :)

            B 1 Reply Last reply Nov 2, 2016, 10:55 AM Reply Quote 0
            • B Offline
              bibi @cowboysdude
              last edited by Nov 2, 2016, 10:55 AM

              @cowboysdude said in Cowboysdude's Mirror:

              @bibi said in Cowboysdude's Mirror:

              sudo chvt 9 && sudo chvt 7

              Open up the monitor_on.sh and delete everything add:

              sudo chvt 9 && sudo chvt 7

              Save it and that should work for you :)

              yep that’s exactly what i wanted to later today :))
              nevertheless, I found on the forum another way to avoid using sudo… i assume it’s better practice but i am not able to confirm this.
              fyi:
              the link : https://forum.magicmirror.builders/topic/208/pir-sensor-put-your-mirror-to-sleep-if-not-used/64

              B 1 Reply Last reply Nov 2, 2016, 8:40 PM Reply Quote 1
              • B Offline
                bibi @bibi
                last edited by Nov 2, 2016, 8:40 PM

                @cowboysdude Cool! my modified .sh files are working well in interactive mode :) but… there is always a but lol, when .py file is run it switches well the screen off after the amount of time set and wakes up when hand is waved BUT suddently and without detection the screen wakes up again! this is really irrating… so close to my goal :(
                i believe it’s the physical settings on the sensor itself making this behavior… would you mind to send me a pic or tell me how your sensor is set? => jumper and the knobs? thx mate for this (i hope) final demand! :)))

                1 Reply Last reply Reply Quote 0
                • C Offline
                  cowboysdude Module Developer
                  last edited by Nov 2, 2016, 9:10 PM

                  Mine is set just like this right out of the box…

                  The sensitivity sensor is set to half way as is the Time Delay Adjust so what you do is turn it all the way to the right then back 1/2 turn on both :)

                  The Jumper is L Single trigger…

                  OH by the way PIR sensors and the Pi 3 sometimes don’t get along - if you’re having false triggers, make sure the PIR Sensor is far away from the Pi 3… So get it as far away as you can :) I would try that first before making anymore adjustments!

                  0_1478120770619_25xHk.png

                  B 1 Reply Last reply Nov 2, 2016, 9:17 PM Reply Quote 0
                  • B Offline
                    bibi @cowboysdude
                    last edited by Nov 2, 2016, 9:17 PM

                    @cowboysdude oh so cool for sharing! let’s try this! wow that’s a thing i should have thought about before lol but currently i can’t put it too much far away as my cables are only few cm long…

                    1 Reply Last reply Reply Quote 1
                    • 1
                    • 2
                    • 3
                    • 4
                    • 5
                    • 5 / 5
                    5 / 5
                    • First post
                      46/49
                      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