Skip to content

Commit

Permalink
Low latency mode (#8)
Browse files Browse the repository at this point in the history
Add commands to enable/disable low latency mode
  • Loading branch information
sledmonkey authored Jul 5, 2021
1 parent acaab48 commit 4af4e4a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Currently supports:
* Lens Memory
* Input (HDMI only)
* Power Status (Standby, Cooling, Emergency, Lamp On, Reserved)
* Low Latency Mode

Raise an issue if you would like any extra commands implemented. Alternatively pull requests are more than welcome and adding new commands is trivial. [See Below.](#adding-new-commands)

Expand Down Expand Up @@ -63,6 +64,7 @@ projector and I will add it to the list below.

## Confirmed Models
* DLA-X5900
* NX5

# Bugs
The main issue one might face is receiving ConnectionRefusedError when making a
Expand Down
4 changes: 4 additions & 0 deletions jvc_projector/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ class Commands(Enum):
pm_user6 = b"\x21\x89\x01\x50\x4D\x50\x4D\x31\x31\x0A"
pm_hlg = b"\x21\x89\x01\x50\x4D\x50\x4D\x31\x34\x0A"

# low latency enable/disable
pm_low_latency_enable = b"\x21\x89\x01\x50\x4D\x4C\x4C\x31\x0A"
pm_low_latency_disable = b"\x21\x89\x01\x50\x4D\x4C\x4C\x30\x0A"


class PowerStates(Enum):
standby = b"\x40\x89\x01\x50\x57\x30\x0A"
Expand Down

0 comments on commit 4af4e4a

Please sign in to comment.