0
0
Fork 0
This repository has been archived on 2024-05-09. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Home-Assistant-TwitchCast-S.../README.md
2018-01-27 16:25:59 -06:00

41 lines
923 B
Markdown

# Home-Assistant-TwitchCast-Service
# Installation/Usage
## Git Clone
You can clone this repo into your `custom_components` folder in your Home Assistant config location with the name `twitchcast`.
```bash
git clone git@github.com:GregoryDosh/Home-Assistant-TwitchCast-Service.git twitchcast
```
## Git Submodule
You can also add it as a submodule which will allow you to pull updates in the future using `git submodule foreach git pull`.
```bash
git submodule add -b master git@github.com:GregoryDosh/Home-Assistant-TwitchCast-Service.git twitchcast
```
## Example Configuration
```yaml
twitchcast:
chromecast_host: 172.16.16.205
layout: right
```
```yaml
twitchcast:
chromecast_name: Living Room TV
layout: left
```
## Services
### twitchcast.cast_stream
**channel**: Channel name
**layout** (optional): `left`, `right`, `top`, `bottom`
```json
{
"channel": "monotonetim",
"layout": "right"
}
```