monitor-input-switcher

This module allows you to switch a displays input source through software without the need of any hardware like a kvm-switch.

node-red-contrib-cec

Node-Red contributed nodes for interacting with cec-enabled devices on a HDMI switch, such as a TV or digital receiver