Skip to content

Commit

Permalink
Added Docu
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanSchornEvorait committed Mar 1, 2020
1 parent e064e72 commit a762fde
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
14 changes: 14 additions & 0 deletions info.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a762fde

Please sign in to comment.