SKY+ HD Remote Control

Hi, first post on a project share so hopefully its in the right place.
Inspired by the inclusion of the new SKY integration I was keen to experiment with my old SKY+ HD Box to create a frontend control panel.

Just a novice but It seems to now function to my requirements so sharing for others to improve.

The image above shows two versions of code. On the left no titles are used so clicking the buttons of the image will perform an action. The image on the right has the titles shown so could be used to setup other SKY remote styles adjusting the title positions.

The remote i.p will need to be changed in the code and the skyremote.png placed in a folder.
Mine is in /local/images/

Save the image below.

Code for remote without text labels

type: picture-elements
elements:
  - type: action-button
    action: remote.send_command
    title: ""
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - power
    style:
      left: 72.5%
      top: 10.5%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - sky
    style:
      left: 52%
      top: 13.5%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - pause
    style:
      left: 51%
      top: 50.5%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - play
    style:
      left: 51%
      top: 54%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - select
    style:
      left: 51%
      top: 35.5%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - backup
    style:
      left: 51%
      top: 46%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - tvguide
    style:
      left: 23%
      top: 22%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - left
      delay_secs: 0.2
    style:
      left: 34%
      top: 35.5%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - right
      delay_secs: 0.2
    style:
      left: 67%
      top: 35.5%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - up
      delay_secs: 0.2
    style:
      left: 51%
      top: 30%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - down
      delay_secs: 0.2
    style:
      left: 51%
      top: 41%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - rewind
      delay_secs: 0.2
    style:
      left: 27%
      top: 52%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - fastforward
      delay_secs: 0.2
    style:
      left: 73%
      top: 52%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - stop
    style:
      left: 61.5%
      top: 58.5%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - record
    style:
      left: 40.5%
      top: 58.5%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - red
    style:
      left: 29%
      top: 62%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - blue
    style:
      left: 73%
      top: 62%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - green
    style:
      left: 44%
      top: 63.5%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - yellow
    style:
      left: 59%
      top: 63.5%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - i
    style:
      left: 65%
      top: 26%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - channelup
    style:
      left: 79%
      top: 31%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - channeldown
    style:
      left: 79%
      top: 40%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - text
    style:
      left: 27%
      top: 45.7%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - help
    style:
      left: 74%
      top: 45.7%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - boxoffice
    style:
      left: 35%
      top: 18%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - services
    style:
      left: 66%
      top: 18%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - interactive
    style:
      left: 78%
      top: 22%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - 1
    style:
      left: 33%
      top: 69%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - 2
    style:
      left: 51%
      top: 69.5%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - 3
    style:
      left: 68%
      top: 69%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - 4
    style:
      left: 34%
      top: 75%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - 5
    style:
      left: 51%
      top: 75.5%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - 6
    style:
      left: 69%
      top: 75%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - 7
    style:
      left: 34%
      top: 80.5%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - 8
    style:
      left: 51%
      top: 81%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - 9
    style:
      left: 69%
      top: 80.5%
  - type: action-button
    action: remote.send_command
    title: null
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - 0
    style:
      left: 51%
      top: 87%
image: /local/images/skyremote.png
grid_options:
  columns: 8
  rows: auto

Use the following code if you want text labels

type: picture-elements
elements:
  - type: action-button
    action: remote.send_command
    title: "ON"
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - power
    style:
      left: 72.5%
      top: 10.5%
  - type: action-button
    action: remote.send_command
    title: SKY
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - sky
    style:
      left: 52%
      top: 13.5%
  - type: action-button
    action: remote.send_command
    title: Pause
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - pause
    style:
      left: 51%
      top: 50.5%
  - type: action-button
    action: remote.send_command
    title: Play
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - play
    style:
      left: 51%
      top: 54%
  - type: action-button
    action: remote.send_command
    title: SELECT
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - select
    style:
      left: 51%
      top: 35.5%
  - type: action-button
    action: remote.send_command
    title: BACKUP
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - backup
    style:
      left: 51%
      top: 46%
  - type: action-button
    action: remote.send_command
    title: TVGUIDE
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - tvguide
    style:
      left: 23%
      top: 22%
  - type: action-button
    action: remote.send_command
    title: LEFT
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - left
      delay_secs: 0.2
    style:
      left: 34%
      top: 35.5%
  - type: action-button
    action: remote.send_command
    title: RIGHT
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - right
      delay_secs: 0.2
    style:
      left: 67%
      top: 35.5%
  - type: action-button
    action: remote.send_command
    title: UP
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - up
      delay_secs: 0.2
    style:
      left: 51%
      top: 30%
  - type: action-button
    action: remote.send_command
    title: DOWN
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - down
      delay_secs: 0.2
    style:
      left: 51%
      top: 41%
  - type: action-button
    action: remote.send_command
    title: REWIND
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - rewind
      delay_secs: 0.2
    style:
      left: 27%
      top: 52%
  - type: action-button
    action: remote.send_command
    title: FORWARD
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - fastforward
      delay_secs: 0.2
    style:
      left: 73%
      top: 52%
  - type: action-button
    action: remote.send_command
    title: STOP
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - stop
    style:
      left: 61.5%
      top: 58.5%
  - type: action-button
    action: remote.send_command
    title: RECORD
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - record
    style:
      left: 40.5%
      top: 58.5%
  - type: action-button
    action: remote.send_command
    title: R
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - red
    style:
      left: 29%
      top: 62%
  - type: action-button
    action: remote.send_command
    title: B
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - blue
    style:
      left: 73%
      top: 62%
  - type: action-button
    action: remote.send_command
    title: G
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - green
    style:
      left: 44%
      top: 63.5%
  - type: action-button
    action: remote.send_command
    title: "Y"
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - yellow
    style:
      left: 59%
      top: 63.5%
  - type: action-button
    action: remote.send_command
    title: I
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - i
    style:
      left: 65%
      top: 26%
  - type: action-button
    action: remote.send_command
    title: UP
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - channelup
    style:
      left: 79%
      top: 31%
  - type: action-button
    action: remote.send_command
    title: DOWN
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - channeldown
    style:
      left: 79%
      top: 40%
  - type: action-button
    action: remote.send_command
    title: TEXT
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - text
    style:
      left: 27%
      top: 45.7%
  - type: action-button
    action: remote.send_command
    title: HELP
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - help
    style:
      left: 74%
      top: 45.7%
  - type: action-button
    action: remote.send_command
    title: BOX
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - boxoffice
    style:
      left: 35%
      top: 18%
  - type: action-button
    action: remote.send_command
    title: SERVICES
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - services
    style:
      left: 66%
      top: 18%
  - type: action-button
    action: remote.send_command
    title: INT
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - interactive
    style:
      left: 78%
      top: 22%
  - type: action-button
    action: remote.send_command
    title: "1"
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - 1
    style:
      left: 33%
      top: 69%
  - type: action-button
    action: remote.send_command
    title: "2"
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - 2
    style:
      left: 51%
      top: 69.5%
  - type: action-button
    action: remote.send_command
    title: "3"
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - 3
    style:
      left: 68%
      top: 69%
  - type: action-button
    action: remote.send_command
    title: "4"
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - 4
    style:
      left: 34%
      top: 75%
  - type: action-button
    action: remote.send_command
    title: "5"
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - 5
    style:
      left: 51%
      top: 75.5%
  - type: action-button
    action: remote.send_command
    title: "6"
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - 6
    style:
      left: 69%
      top: 75%
  - type: action-button
    action: remote.send_command
    title: "7"
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - 7
    style:
      left: 34%
      top: 80.5%
  - type: action-button
    action: remote.send_command
    title: "8"
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - 8
    style:
      left: 51%
      top: 81%
  - type: action-button
    action: remote.send_command
    title: "9"
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - 9
    style:
      left: 69%
      top: 80.5%
  - type: action-button
    action: remote.send_command
    title: "0"
    target:
      entity_id:
        - remote.192_168_0_61
    data:
      command:
        - 0
    style:
      left: 51%
      top: 87%
image: /local/images/skyremote.png
grid_options:
  columns: 8
  rows: auto

Hopefully it’s of use to someone. I’m keeping the older SKY+ Box for various reasons.

Thanks

1 Like