From 862b66615298f703e36a496678422606a464da62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Vran=C3=ADk?= Date: Sun, 1 Jan 2017 13:05:23 +0100 Subject: [PATCH] Update hdmi_cec.markdown --- source/_components/hdmi_cec.markdown | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/source/_components/hdmi_cec.markdown b/source/_components/hdmi_cec.markdown index 11ce78e1438..07c08e45ce9 100644 --- a/source/_components/hdmi_cec.markdown +++ b/source/_components/hdmi_cec.markdown @@ -102,11 +102,25 @@ hdmi_cec: ``` Choose just one schema. Mixing both approaches is not possible. -Another option you can use in config is specifiing of default platform of HDMI devices. "switch" and "media_player" are supported. Switch is default. +Another option you can use in config is `platform` which specifying of default platform of HDMI devices. "switch" and "media_player" are supported. Switch is default. ```yaml hdmi_cec: platform: media_player ``` +Then you set individual platform for devices in customizations: +```yaml +homeassistant: + customize: + hdmi_cec.hdmi_5: + platform: media_player +``` + +And the last option is `host`. PyCEC supports bridging CEC commands over TCP. When you start pyCEC on machine with HDMI port (`python -m pycec`), you can then run homeassistant on another machine and connect to CEC over TCP. Specify TCP address of pyCEC server: +```yaml +hdmi_cec: + host: 192.168.1.3 +``` + ## {% linkable_title Services %}