• 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 437.7k 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
    Cato Module Developer
    last edited by Aug 12, 2016, 5:57 PM

    I assume too that the behaviour is different between TV’s. On my LG the screen turns blue with a big message of lost signal on HDMI after 10 seconds after the screen turns off. Not so nice - but then again, nobody should be in the room anyway…? ;-)

    1 Reply Last reply Reply Quote 1
    • C Offline
      cowboysdude Module Developer
      last edited by Aug 27, 2016, 1:51 AM

      I installed it… it turns off the monitor but won’t turn it back on… suggestions?

      1 Reply Last reply Reply Quote 0
      • C Offline
        cowboysdude Module Developer @plumcraft
        last edited by Aug 27, 2016, 4:03 AM

        @plumcraft Yeah there doesn’t seem to be an answer for the blank screen issue…

        1 Reply Last reply Reply Quote 0
        • A Offline
          alexyak
          last edited by paviro Sep 11, 2016, 5:39 PM Aug 27, 2016, 1:55 PM

          I am sorry to hear about your issues. Trying to think of the best way to troubleshoot that. The module doesn’t do anything fancy. It just executes these in the node_helper to switch on/of the output on HDMI:

          Switch off:

          /opt/vc/bin/tvservice -o

          Switch-on:

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

          As a first step, could you please try to execute these commands in the ssh terminal?


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

          C 1 Reply Last reply Aug 28, 2016, 12:21 AM Reply Quote 1
          • T Offline
            trividar
            last edited by Aug 27, 2016, 2:23 PM

            Hi alexyak

            I try it with the commands an it works, it switch off and on.

            1 Reply Last reply Reply Quote 0
            • A Offline
              alexyak
              last edited by paviro Sep 11, 2016, 5:40 PM Aug 27, 2016, 2:45 PM

              Ok, the next step let’s check whether the off state is detected correctly. After you switched off the monitor with the first command try to execute this in the ssh term:

              /opt/vc/bin/tvservice -s

              and let me know which output you see.

              1 Reply Last reply Reply Quote 0
              • T Offline
                trividar
                last edited by Aug 27, 2016, 2:52 PM

                output is:
                state 0x120002 [TV is off]

                S 1 Reply Last reply Aug 27, 2016, 2:58 PM Reply Quote 0
                • S Offline
                  strawberry 3.141 Project Sponsor Module Developer @trividar
                  last edited by strawberry 3.141 Aug 27, 2016, 3:01 PM Aug 27, 2016, 2:58 PM

                  @trividar @cowboysdude paviro is also using the same code lines in his pir sensor module and a user had similar issues, maybe his solution also work for you

                  https://forum.magicmirror.builders/topic/208/pir-sensor-put-your-mirror-to-sleep-if-not-used/43
                  https://forum.magicmirror.builders/topic/208/pir-sensor-put-your-mirror-to-sleep-if-not-used/64

                  Please create a github issue if you need help, so I can keep track

                  1 Reply Last reply Reply Quote 1
                  • C Offline
                    cowboysdude Module Developer
                    last edited by Aug 27, 2016, 3:25 PM

                    Thanks everyone I will look into this later today!

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      trividar
                      last edited by Aug 27, 2016, 4:20 PM

                      @strawberry-3-141 unfortunately it didn’t work for me;0( but thanks for your input.

                      S 1 Reply Last reply Aug 27, 2016, 4:36 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 21
                      • 22
                      • 2 / 22
                      • 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