Metadata-Version: 2.1
Name: PySkyPlusHD
Version: 0.1
Summary: Python package to control a Sky+ HD box
Home-page: https://github.com/GreenTurtwig/PySkyPlusHD
Author: GreenTurtwig
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License 
Classifier: Operating System :: OS Independent
Classifier: Topic :: Home Automation
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# PySkyPlusHD

Python package to control a Sky+ HD box

### Install
```
pip install PySkyPlusHD
```

### Example
```python
import PySkyPlusHD

sky = 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
```

