Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Python interface to Ziggo's Mediabox XL

Project description

Ziggo Mediabox XL

https://img.shields.io/pypi/v/ziggo_mediabox_xl.svg https://img.shields.io/travis/b10m/ziggo_mediabox_xl.svg Documentation Status Updates

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
ziggo_mediabox_xl-1.1.0-py3-none-any.whl (5.0 kB) Copy SHA256 hash SHA256 Wheel py3
ziggo_mediabox_xl-1.1.0.tar.gz (4.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page