Hi, I want to make a switch that sends “echo ‘on 0’ | cec-client -s -d 1” when on, and send “echo ‘standby 0’ | cec-client -s -d 1” when off. How to do that?
You mean a physical thing, or some GUI component?
Send this where? Is there some binding you should use?
GUI Component, and run it in command line
There is the exec binding available that you can use from a rule
I downloaded it but is there any way to add it to rules by web browser without using terminal?
In the documentation is a full example including items and rules. Have you seen it?