From a762fdea4e2565913ef1da1e9a46eb124f366063 Mon Sep 17 00:00:00 2001 From: Stefan Schorn Date: Sun, 1 Mar 2020 13:45:15 +0100 Subject: [PATCH] Added Docu --- README.md | 14 ++++++++++++++ info.md | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/README.md b/README.md index 6bf71a4..e75efb5 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,20 @@ Edit it by adding the following lines: sourcelist: '{"RaspberryPi": "KEY_HDMI2", "Chromecast": "KEY_HDMI3"}' protocol: ctl_beta ``` + ### Example configuration.yaml for ctl_beta protocol for H/J Models + ``` + media_player: + - platform: samsungtv_custom + host: IP_ADDRESS + port: (8001 or 8002) + mac: MAC_ADDRESS + sourcelist: '{"RaspberryPi": "KEY_HDMI2", "Chromecast": "KEY_HDMI3"}' + protocol: ctl_beta + token: kdsjfbsdkjbsdkjfskdjf:2 + id: 07270e01-0078-1000-8cd0-c4576e9dxxxxx + ``` + The token get be fetched via https://github.com/eclair4151/SmartCrypto + The id can be fetched vie http://IP_ADDRESS:8001/api/v2/ ### Example configuration.yaml for ctl_qled protocol ``` media_player: diff --git a/info.md b/info.md index 41eb2a5..1dca4fa 100644 --- a/info.md +++ b/info.md @@ -82,6 +82,20 @@ Edit it by adding the following lines: sourcelist: '{"RaspberryPi": "KEY_HDMI2", "Chromecast": "KEY_HDMI3"}' protocol: ctl_beta ``` + ### Example configuration.yaml for ctl_beta protocol for H/J Models + ``` + media_player: + - platform: samsungtv_custom + host: IP_ADDRESS + port: (8001 or 8002) + mac: MAC_ADDRESS + sourcelist: '{"RaspberryPi": "KEY_HDMI2", "Chromecast": "KEY_HDMI3"}' + protocol: ctl_beta + token: kdsjfbsdkjbsdkjfskdjf:2 + id: 07270e01-0078-1000-8cd0-c4576e9dxxxxx + ``` + The token get be fetched via https://github.com/eclair4151/SmartCrypto + The id can be fetched vie http://IP_ADDRESS:8001/api/v2/ ### Example configuration.yaml for ctl_qled protocol ``` media_player: