Skip to main content

Python library for interfacing with Pioneer Kuro TV using the serial port

Project description

PyPI version

A simple Python API for controlling Pioneer Kuro TV’s using an rs232 serial port.

Supported hardware: PDP-LX5090/5090H/6090/6090H and KRP-500A/600A series

TV Configuration

To configure the serial port in the Kuro TV the following steps must be done:

1.1 Baud rate selection a) Entering integrator menu: Push Menu key and Power key within 3sec. Following default Integrator menu will appear. RS232C baud rate setting

b) Exit from integrator menu: Push Home Menu key then close Integrator menu and return to normal operation.

c) RS232C baud rate setting UART SELECT: 1200bps/2400bps/4800bps/9600bps/19200bps/38400bps

Example of use

Create a new instance of the gateway:

gat = Gateway(portname, baudrate)

portname is the name of the serial port where the serial is listed on the os. It can be also be defined as an rfr2217 url. baudrate value on which the TV has been set (see TV configuration section) Please refer to the serial library documentation.

To send a command to the tv:

gat.executeCmd(command, parameter)

this will send any command if it is properly configured.

On the protocol.py file several commands are already configured and can be send directly to the gateway. For example to mute the TV:

gat.executeCommand(MutedCommand(MutedState.ON))

Please review the protocol.py file for a complete list of implemented commands.

Project details


Download files

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

Source Distribution

python-kuro-0.0.27.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

python_kuro-0.0.27-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file python-kuro-0.0.27.tar.gz.

File metadata

  • Download URL: python-kuro-0.0.27.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for python-kuro-0.0.27.tar.gz
Algorithm Hash digest
SHA256 a70644c1ddcd6b8163424f933da1e1f5c65ced7c921554653ae2bbf853a3a541
MD5 99f17ae28216b3d949ea93b7a12acda6
BLAKE2b-256 b8ac9b07fa557e6ef7e01d606e4ac4b55ebf99bb07b66332babf77825321d549

See more details on using hashes here.

File details

Details for the file python_kuro-0.0.27-py3-none-any.whl.

File metadata

  • Download URL: python_kuro-0.0.27-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for python_kuro-0.0.27-py3-none-any.whl
Algorithm Hash digest
SHA256 688a4ce4db8339cd0b3d88ad7d915b5eda05c7a7f3639b68c31c3d12ded545a9
MD5 44940910c4834f163bd5b7972d7d5de6
BLAKE2b-256 07ce9c509733bce576b85b9bb59ec8c030bf87e4fad53a579fbe346fc7db5c52

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page