Python interface to Ziggo's Mediabox XL
Project description
Ziggo Mediabox XL
Installation
From PyPI
Assuming you already are inside a virtualenv:
pip install ziggo_mediabox_xl
From Git
Create a new virtualenv (if you are not already in one) and install the necessary packages:
git clone https://github.com/b10m/ziggo_mediabox_xl.git
cd ziggo_mediabox_xl
mkvirtualenv ziggo_mediabox_xl
pip install -r requirements.txt
Usage
This quick example will connect to the IP address listed, verify the box is turned on and sends NUM_3, NUM_0, and NUM_2 to the device. This will result in the same action as pressing 302 on your remote control (the Disney Jr. channel will be selected).
from ziggo_mediabox_xl import ZiggoMediaboxXL
box = ZiggoMediaboxXL('aaa.bbb.ccc.ddd')
if box.turned_on():
box.send_keys(['NUM_3', 'NUM_0', 'NUM_2'])
History
1.1.0 (2018-11-03)
Added timeout option.
Upgraded to
1.0.0 (2017-11-23)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ziggo_mediabox_xl-1.1.0.tar.gz.
File metadata
- Download URL: ziggo_mediabox_xl-1.1.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.20.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b34ebfb726dbb8f6f323dc2f88c26d19f2d0990d252dc0555b40590c936e301
|
|
| MD5 |
4e5ede3ffd201737cb4aaf018df8ee24
|
|
| BLAKE2b-256 |
ee1572e4acd8992bed77c4216c525237ae606c774475dad489723f7fb788412b
|
File details
Details for the file ziggo_mediabox_xl-1.1.0-py3-none-any.whl.
File metadata
- Download URL: ziggo_mediabox_xl-1.1.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.20.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23b7ebd9a13c7b3c6b0cf75709c237b7a5119a96c8dbe7100d360d1671b2d978
|
|
| MD5 |
781764470f39edf21a7f21fa93fc7055
|
|
| BLAKE2b-256 |
0402abde4c2e5300214feabf8ac72ad2edd9d81a9cc77c2ea7fdc31c66079eea
|