Skip to content

macoss/pjlink-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PJLink CLI

This is a command line interface client for the PJLink protocol that is written in Rust. PJLink is a network control protocol that has been incorporated into projectors and displays over the last few years. You can find the protocol specification here. This utility currently supports both authenticated and open connections and returns the an unparsed response from the device.

This project uses the pjlink Rust crate.

Testing has been done with Panasonic and Sanyo projectors.

Usage

pjlink-cli [host] [command] [password]

Examples

Check to see if the device is powered on:

pjlink-cli 192.168.1.1 "POWR ?" password

Responses:
%1POWR=0 # If Off
%1POWR=1 # If On
%1POWR=ERRA # Authencation Error

Power on a projector:

pjlink-cli 192.168.1.1 "POWR 1" password

Responses:
%1POWR=OK # Successful
%1POWR=ERR2 # Invalid Parameter
%1POWR=ERR3 # Unavailable at this time
%1POWR=ERR4 # Projector/Display failure

Binaries

PJLink CLI for Mac

PJLink CLI for Linux Arm V7 (Raspberry PI 3 tested)

PJLink CLI for Linux X86

PJLink CLI for Windows 64 bit

Binaries for other operating system will be coming soon.

License

Licensed under

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages