Update hdmi_cec.markdown

This commit is contained in:
Petr Vraník 2017-01-01 13:05:23 +01:00 committed by GitHub
parent 976a4106e1
commit 862b666152

View File

@ -102,11 +102,25 @@ hdmi_cec:
``` ```
Choose just one schema. Mixing both approaches is not possible. 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 ```yaml
hdmi_cec: hdmi_cec:
platform: media_player 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 %} ## {% linkable_title Services %}