escvp21

Control your EPSON Projector via RS232 or USB

Usage no npm install needed!

<script type="module">
  import escvp21 from 'https://cdn.skypack.dev/escvp21';
</script>

README

Control your EPSON projector connected via USB or serial cable to your local computer or a remote machine.

Preparation

Install package uucp on the machine that is connected to the projector.

Installation

npm i -g escvp21

Usage

  Usage: escvp21 [options] <connect-command>

  Options:

    -h, --help                output usage information
    -V, --version             output the version number
    -m, --model <model-name>  specify projctor model. Use "auto" to query REST API based on serial number. [auto]
    -p --power <on or off>    Turn on or shutdown projector

Auto-Detect Projector Model

If you specify "auto" as model name (that's the default), the program will use a web service (see below) to lookup the projector's model name by its serial number. Privacy notice: The unique serial number of the device in question will be sent over the network as part of a URL via https.

If you prefer to query the web service manually or the host computer where the projector is connected to does not have Internet access, you can use the following command:

curl "https://www.epson.co.uk/gb/en/viewcon/corporatesite/modules/warranty_details/search?ajax=true&serial=<SERNO>"

Examples

Power up projector connected to serial port ttyUSB0 on local machine:

escvp21 "cu -l /dev/ttyUSB0 -s 9600" --power on

Shut down projector connected to serial port ttyUSB0 on remote machine conema.local:

escvp21 --power off "ssh -e none projectionist@cinema.local \"cu -l /dev/ttyUSB0 -s 9600\""

Example Output

$ escvp21 "ssh -e none projectionist@cinema.local \"cu -l /dev/ttyUSB0 -s 9600\"" --power on
.response of SNO?: SNO=SPGF340554L
Projector identified as EH-TW8100
response of PWR ON:
response of LAMP?: LAMP=574
response of LUMINANCE?: LUMINANCE=01
response of BRIGHT?: BRIGHT=125
response of CONTRAST?: CONTRAST=125
response of TINT?: TINT=126
response of HREVERSE?: HREVERSE=ON
response of VREVERSE?: VREVERSE=OFF
response of MSEL?: MSEL=01
response of ASPECT?: ASPECT=00
response of PWR?: PWR=02
response of SOURCE?: SOURCE=30