Skip to main content

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

Project description

Python control of Pioneer Kuro TV through RS232
======================================================
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:

.. code-block:: python

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:
.. code-block:: python

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:

.. code-block:: python
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.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

python_kuro-0.0.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python-kuro-0.0.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for python-kuro-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3a6825613240b353b7239b3c2359ae10c9dbccb55cf3ddc8df0c07e6aebef29b
MD5 0d1bb06ec54f29d62e40da9cc6a68713
BLAKE2b-256 52d0d58ecd1a50f79845ac3ac1b7c96d045aba1fc73f09486c9b0b0f86abc503

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_kuro-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 077b60d566005d822aa581f6b9725d43954b8826672f3419d604b86aadbb548c
MD5 2083df7b93aa7e50f90e4f9d34ce8685
BLAKE2b-256 699a67875a5325f4b357ed8660eb8af35cf2a54af1b036c5a35e78544e5d2e78

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