eetv

Python bindings for the EETV appliance


License
GPL-3.0
Install
pip install eetv==0.0.7

Documentation

# python-eetv EETV Bindings for Python

eetv

This library is intended for controlling an EETV Set Top Box

from eetv import EETV
//TODO: Document how to find the Authorisation Key
# Init
l = EETV('192.168.1.11',"AUTHKEY")

# Check if the box is on
l.is_on

# Turn the box off
l.turn_off()

# and back on
l.turn_on()

# Query current channel
l.channel

# Switch to channel number 7
l.channel = '#7'

# Raise volume
l.volume_up()

# Lower volume
l.volume_down()

# Mute volume
l.mute()

# Next channel
l.channel_up()

# Previous channel
l.channel_down()

# Virtually press a key on the remote
from eetv import KEYS
l.press_key("left"])

There also is a CLI script that ships with this package: