SkyQ平台允许您控制SkyQ设置顶部框。
There is currently support for the following device types within Home Assistant:
媒体播放器
To begin with ensure your SkyQ set top box or boxes have static IP addresses.
Download the custom component into your \custom_components\skyq\
下载链接
CONFIGURATION
要在安装中添加SkyQ,请在您的配置中添加以下内容。yaml文件:
#示例Configuration.yaml条目
媒体播放器:
- platform: skyq
CONFIGURATION VARIABLES
主持人
(string)(Required)
The IP of the SkyQ set top box, e.g., 192.168.0.10.
name
(string)( Required)
您想给SkyQ套装顶部框的名称。
sources
(list)( Required)
List of channels or other commands that will appear in the source selection.
room
(string)( Required)
The room where the SkyQ set top box is located.
config_directory
(string)( Required)
The location of your default configuration folder.
Hassbian default would be - config_directory: '/home/homeassistant/.homeassistant/'
generate_switches_for_channels
(boolean)( Required)
Generate switches for each item listed in source, this helps when using an assistant e.g google home
Usage based on google home:“turn on in the ”
To integrate these, add the generated yaml, to your configuration.yaml
EXAMPLE
转变:
- platform: template
switches: !include skyq.yaml
*remove any spaces from the room
EXAMPLE
A full configuration example will look like the sample below:
#示例Configuration.yaml条目
媒体播放器:
- platform: skyq
姓名:Skyq客厅
主机:192.168.0.10
room: Living Room
config_directory: '/home/homeassistant/.homeassistant/'
generate_switches_for_channels: true
资料来源:
SkyOne: '1,0,6'
SkyNews: '5,0,1'
避免在名称中使用[]:或房间:设备的空间。
来源
要配置源,请将名称设置为<名称>:‘
Supported buttons:
sky, power, tvguide or home, boxoffice, search, sidebar, up, down, left, right, select, channelup, channeldown, i, dismiss, text, help,
播放,暂停,倒带,快速,停止,记录
red, green, yellow, blue
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
下一个/上一个按钮
The behaviour of the next and previous buttons is fastforward and rewind (multiple presses to increase speed, play to resume)