The skyq platform allows you to control a SkyQ set top box.
There is currently support for the following device types within Home Assistant:
- Media Player
To begin with ensure your SkyQ set top box or boxes have static IP addresses.
Download the custom component into your <home assistant config folder>\custom_components\skyq\
To add a SkyQ to your installation, add the following to your configuration.yaml file:
# Example configuration.yaml entry
media_player:
- platform: skyq
CONFIGURATION VARIABLES
(string)(Required)
The IP of the SkyQ set top box, e.g., 192.168.0.10.
(string)( Required)
The name you would like to give to the SkyQ set top box.
(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 <source name / channel name> in the <room>”
To integrate these, add the generated yaml, to your configuration.yaml
EXAMPLE
switch:
- platform: template
switches: !include skyq<room*>.yaml
*remove any spaces from the room
A full configuration example will look like the sample below:
# Example configuration.yaml entry
media_player:
- platform: skyq
name: SkyQ Living Room
host: 192.168.0.10
room: Living Room
config_directory: '/home/homeassistant/.homeassistant/'
generate_switches_for_channels: true
sources:
SkyOne: '1,0,6'
SkyNews: '5,0,1'
Avoid using [ ] in the name: or room: of your device.
To configure sources, set the name as <name>: ‘<button>,<button>,<button>’.
Supported buttons:
sky, power, tvguide or home, boxoffice, search, sidebar, up, down, left, right, select, channelup, channeldown, i, dismiss, text, help,
play, pause, rewind, fastforward, stop, record
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)