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

Motion Detector

Scheduled Pinned Locked Moved Utilities
213 Posts 38 Posters 432.5k Views 39 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
    cowboysdude Module Developer @alexyak
    last edited by paviro Sep 11, 2016, 5:42 PM Aug 28, 2016, 12:21 AM

    @alexyak Yes these both work via ssh
    Switch off:

    /opt/vc/bin/tvservice -o

    Switch-on:

    /opt/vc/bin/tvservice --preferred && sudo chvt 6 && sudo chvt 7

    When I do this:
    /opt/vc/bin/tvservice -s

    I get this:
    state 0x12000a [HDMI CEA (16) RGB lim 16:9], 1920x1080 @ 60.00Hz, progressive

    But when I start the mirror with the normal npm start and it runs until the motion sensor time then the screen goes out and won’t come back on…


    Note from admin: Please use Markdown on code snippets for easier reading!

    A 1 Reply Last reply Aug 28, 2016, 2:18 AM Reply Quote 0
    • A Offline
      alexyak @cowboysdude
      last edited by Aug 28, 2016, 2:18 AM

      @cowboysdude could you please run the magic mirror from the terminal until it switches off and doesn’t switch back on, bring the monitor back with the command and post your screenshot of the terminal?

      C 1 Reply Last reply Aug 28, 2016, 2:21 AM Reply Quote 0
      • C Offline
        cowboysdude Module Developer @alexyak
        last edited by Aug 28, 2016, 2:21 AM

        @alexyak Do you mean SSH or shell on the mirror?

        A 1 Reply Last reply Aug 28, 2016, 2:24 AM Reply Quote 0
        • A Offline
          alexyak
          last edited by paviro Sep 11, 2016, 5:41 PM Aug 28, 2016, 2:21 AM

          Could you also run the /opt/vc/bin/tvservice -s when your monitor is on?

          C 1 Reply Last reply Aug 28, 2016, 2:21 AM Reply Quote 0
          • C Offline
            cowboysdude Module Developer @alexyak
            last edited by paviro Sep 11, 2016, 5:41 PM Aug 28, 2016, 2:21 AM

            @alexyak I did … I posted it above LOL

            /opt/vc/bin/tvservice -s

            I get this:
            state 0x12000a [HDMI CEA (16) RGB lim 16:9], 1920x1080 @ 60.00Hz, progressive

            A 1 Reply Last reply Aug 28, 2016, 2:28 AM Reply Quote 0
            • A Offline
              alexyak @cowboysdude
              last edited by Aug 28, 2016, 2:24 AM

              @cowboysdude on the RPI.

              C 1 Reply Last reply Aug 28, 2016, 2:28 AM Reply Quote 1
              • C Offline
                cowboysdude Module Developer @alexyak
                last edited by paviro Sep 11, 2016, 5:41 PM Aug 28, 2016, 2:28 AM

                @alexyak /opt/vc/bin/tvservice -s

                I get this:
                state 0x12000a [HDMI CEA (16) RGB lim 16:9], 1920x1080 @ 60.00Hz, progressive

                That’s where I was running it from and I still get the above

                1 Reply Last reply Reply Quote 0
                • A Offline
                  alexyak @cowboysdude
                  last edited by Aug 28, 2016, 2:28 AM

                  @cowboysdude so just to confirm, when you run the status command on the RPI you get this output, right?

                  C 1 Reply Last reply Aug 28, 2016, 2:29 AM Reply Quote 0
                  • C Offline
                    cowboysdude Module Developer @alexyak
                    last edited by Aug 28, 2016, 2:29 AM

                    @alexyak Yes that is correct

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      cowboysdude Module Developer
                      last edited by Aug 28, 2016, 2:35 AM

                      Is it logging anywhere that we may be able to see what it’s doing exactly?

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 21
                      • 22
                      • 3 / 22
                      3 / 22
                      • First post
                        30/213
                        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