Read the statement by Michael Teeuw here.
Do any of you actually have functioning Motion detection with CEC on a TV?
-
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? -
@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
-
@sdetweil Yes that works, but I am an absolute coding noob, so I don’t know how to edit code or anything
-
@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
-
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! -
@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