Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wooldoughnut310/sky-remote

Python module to send remote control commands to a Sky TV box
https://github.com/wooldoughnut310/sky-remote

python3

Last synced: about 1 month ago
JSON representation

Python module to send remote control commands to a Sky TV box

Awesome Lists containing this project

README

        

# sky-remote
Python module to send remote control commands to a Sky TV box

## Usage
#### Installation
`pip install sky-remote`
#### Simple example
```python
from sky_remote import SkyRemote

remoteControl = sky_remote.SkyRemote('192.168.0.40')

# Just send a command
remoteControl.press('power')

# Now send sequences of commands
remoteControl.press(['channelup', 'record', 'select'])
```
### Sky Q (if firmware < 060)
```python
remoteControl = SkyRemote('192.168.0.40', SkyRemote.SKY_Q_LEGACY)
```
### Remote control commands
`sky` `power`

`tvguide` or `home` `boxoffice` `services` or `search` `interactive` or `sidebar`

`up` `down` `left` `right` `select`

`channelup` `channeldown` `i`

`backup` or `dismiss` `text` `help`

`play` `pause` `rewind` `fastforward` `stop` `record`

`red` `green` `yellow` `blue`

`0` `1` `2` `3` `4` `5` `6` `7` `8` `9`