Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/greenturtwig/pyskyplushd
Python package to control a Sky+ HD box
https://github.com/greenturtwig/pyskyplushd
Last synced: about 1 month ago
JSON representation
Python package to control a Sky+ HD box
- Host: GitHub
- URL: https://github.com/greenturtwig/pyskyplushd
- Owner: GreenTurtwig
- License: apache-2.0
- Created: 2019-10-16T20:22:33.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-13T00:46:45.000Z (about 5 years ago)
- Last Synced: 2024-12-30T02:12:18.722Z (about 1 month ago)
- Language: Python
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PySkyPlusHD
Python package to control a Sky+ HD box
### Install
```
pip install PySkyPlusHD
```### Example
```python
import PySkyPlusHDsky = PySkyPlusHD.SkyBox("192.168.0.2")
# Pauses the Sky box
sky.sendButton("pause")# Returns True if on, False if off
state = sky.getState()storage = sky.getStorage()
# Returns storage used in GB
usedGB = storage.usedGB
# Returns percentage of storage used
usedPercent = storage.usedPercent
```### Buttons
Buttons supported by `sendButton`
```
power
select
backup
dismiss
channelup
channeldown
interactive
sidebar
help
services
search
tvguide
home
i
text
up
down
left
right
red
green
yellow
blue
0
1
2
3
4
5
6
7
8
9
play
pause
stop
record
fastforward
rewind
boxoffice
sky
```