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.

    Do any of you actually have functioning Motion detection with CEC on a TV?

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    motion-sensorcameramodules
    6 Posts 3 Posters 928 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.
    • A Offline
      Arynio
      last edited by

      So basically I have been trying the whole day to get any motion detection module to work with CEC. I used to have a normal pc screen and everything worked fine, but it broke so I am now trying to use an old TV that has CEC. But I can’t get any of the module that supports CEC to work, neither with a pir or a webcam.
      So, do any of you have functioning Motion detection with CEC on a TV and could give me tips and tricks which modules work and what your setup is?

      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @Arynio
        last edited by

        @arynio does the cec command work from the command line?

        once u get that to work find module that will let u specify the commands, or edit the code

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          Arynio @sdetweil
          last edited by

          @sdetweil Yes that works, but I am an absolute coding noob, so I don’t know how to edit code or anything

          S 1 Reply Last reply Reply Quote 0
          • S Away
            sdetweil @Arynio
            last edited by

            @arynio all the pir modules do the same thing

            the node_helper.js issues a command to turn off the display and another to turn it back on

            look at the code and you will see a text string

            ‘something …’
            (single or double quotes)

            change the string to what you tested works for each

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • D Offline
              dondidge
              last edited by

              I just have to say that this post where Sam points out that:

              "all the pir modules do the same thing

              the node_helper.js issues a command to turn off the display and another to turn it back on"

              I had been looking for some guideposts for a long time in this area, and your post made it clear what was needed, and I was able to do it. Your comments made a huge difference, even two years later.
              Using your technique I was able to fix the monitor on and standby commands in the Remote Control and Pir modules.
              Thanks!

              S 1 Reply Last reply Reply Quote 0
              • S Away
                sdetweil @dondidge
                last edited by

                @dondidge the newer versions of PIR modules handle the CEC commands now…

                some give you config options so you don’t have to edit the code (which is a bad thing for updates)

                but glad you found the forums helpful

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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