pyjvcprojector
A python library for controlling a JVC Projector over a network connection.
https://pypi.org/project/pyjvcprojector/
Forked from https://github.com/SteveEasley/pyjvcprojector
Features
A full reference to the available commands is available from JVC here http://pro.jvc.com/pro/attributes/PRESENT/Manual/External%20Command%20Spec%20for%20D-ILA%20projector_V3.0.pdf.
Commands
JvcCommandHelpers.get_available_commands()return an object containing all available commands.JvcCommandHelpers.get_command_help("picture_mode")return human readable help for a given command.
Convenience functions:
JvcProjector::power_on()turns on power.JvcProjector::power_off()turns off power.JvcProjector::get_power()gets power state (standby, on, cooling, warming, error)JvcProjector::is_on()returns True if the power is on and readyJvcProjector::get_input()get current input (hdmi1, hdmi2).JvcProjector::get_signal()get signal state (signal, nosignal).JvcProjector::get_state()returns {power, input, signal}.JvcProjector::get_info()returns {model, mac address}.
Send supported commands
JvcProjector::send_command(cmd, val)where cmd is a top level key fromJvcCommandHelpers.get_available_commands()such aslaser_powerand val is a valid option found in thevalueskey. For example,clear_motion_drive, low.
Send remote control codes
A wrapper for calling JvcProjector::op(f"RC{code}")
JvcProjector::remote(code)sends remote control command.
Send raw command codes
JvcProjector::ref(code)sends reference commands to read data.codeis formattedf"{cmd}".JvcProjector::op(code)sends operation commands to write data.codeis formattedf"{cmd}{val}".
Installation
pip install pyjvcprojector
Usage
import asyncio
from jvcprojector.projector import JvcProjector
from jvcprojector import const
async def main():
jp = JvcProjector("127.0.0.1")
await jp.connect()
print("Projector info:")
print(await jp.get_info())
if not await jp.is_on():
await jp.power_on()
print("Waiting for projector to warmup...")
while not await jp.is_on():
await asyncio.sleep(3)
print("Current state:")
print(await jp.get_state())
#
# Example sending remote code
#
print("Showing info window")
await jp.remote(const.REMOTE_INFO)
await asyncio.sleep(5)
print("Hiding info window")
await jp.remote(const.REMOTE_BACK)
#
# Example sending reference command (reads value from function)
#
print("Picture mode info:")
print(await jp.ref("PMPM"))
#
# Example sending operation command
#
await jp.send_command(const.CMD_PICTURE_MODE_LASER_POWER, const.VAL_LASER_POWER[1])
await jp.disconnect()
Password authentication is also supported for both older and newer models.
JvcProjector("127.0.0.1", password="1234567890")
Metadata
Release files for pyjvcprojector-test 1.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyjvcprojector_test-1.1.7.tar.gz | 22.6 kB | With provenance | Details for pyjvcprojector_test-1.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyjvcprojector_test-1.1.7-py3-none-any.whl | Python 3 | none | any | Details for pyjvcprojector_test-1.1.7-py3-none-any.whl |
Total release size: 41.2 kB
Release files / pyjvcprojector_test-1.1.7.tar.gz
| Download URL | pyjvcprojector_test-1.1.7.tar.gz |
|---|---|
| Size | 22.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6d9b2f5a1a043d84fabfe244ff988048c6651559f74ccbbc144a85a89f5213a
|
|
BLAKE2b-256 checksum How to use checksums |
865e2b11058f1356c59f54e7c4bdaf368b1c3f5c2af9953039a19617e6abf495
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 23, 2025.
Transparency logRelease files / pyjvcprojector_test-1.1.7-py3-none-any.whl
| Download URL | pyjvcprojector_test-1.1.7-py3-none-any.whl |
|---|---|
| Size | 18.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d940332a55c1fd0f4bb2b24aa5bc10e9c0f848ec993d3b7f5a1784e3962df5a5
|
|
BLAKE2b-256 checksum How to use checksums |
b7302928f66d3eb650689193d61af7b571578adf03ec2157e2af0474f0c7a29a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 23, 2025.
Transparency logSecurity for pyjvcprojector-test 1.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pyjvcprojector_test-1.1.7.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 23, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.