![]() I was also able to turn the tv on and off. ![]() To monitor if the tv has been turned off I have to send a “pow” command every few seconds because there is no event from the cec client for this. If I get my build environment working again I will see what I can do.Įdit: I wrote a small java application to test this and I was able to detect the tv powering on. ![]() I think the only way to handle this properly is to build a new binding. (cec-client blocks the serial port, so only one process can be used for every port) Also it should be possible to write to the same process to send the power on and off commands. I would need something that listens forever to the output and supports callbacks if certain keywords appear in the output of the process. The exec binding simply starts a process and waits until the process is finished and then returns the output of the process. I cannot use the exec binding because it is not build to listen to a continuous stream of data. I use the following adapter to send the hdmi cec commands:
0 Comments
Leave a Reply. |