Skip to main content

'Python library for interfacing with Pioneer Kuro TV using the serial port', # Required

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.44.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

python_kuro-0.0.44-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python-kuro-0.0.44.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for python-kuro-0.0.44.tar.gz
Algorithm Hash digest
SHA256 2b696f1ce597a9149a934dc3e0bba1c29dfbd7187b44dd6ebec3b67a456dbe36
MD5 510e4e16dc1cf4c2c02d7acc8f4c65c5
BLAKE2b-256 c8d9a8345d520ca4a3c222c8ed903053babb16d0d2fca6694ea6f7c41628b57e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_kuro-0.0.44-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for python_kuro-0.0.44-py3-none-any.whl
Algorithm Hash digest
SHA256 10156f17415e278740f3083928eb15b2b7155c61e825e662c50417fc7388b0ac
MD5 fcddb47e95257a62ec5772242e98fcdf
BLAKE2b-256 501a184625d9c8d83114c633d69c70a5001d5e6d75eebd4cb40f209dc2c38713

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