libcec

Control devices via TV remote and HDMI CEC protocol

brewmacoslinux
Try with needOr install directly
Source

About

Control devices with TV remote control and HDMI cabling

Commands

cec-clientcecon

Examples

Start interactive CEC client to control HDMI devices$ cec-client
Send power on command to TV via HDMI CEC$ echo 'on 0' | cec-client -s
List all CEC devices connected to HDMI$ cec-client -l