AMX NetLinx module for Epson ESC/VP21 Business projectors.
This module can be installed using Scoop.
scoop bucket add norgateav-amx https://github.com/Norgate-AV/scoop-norgateav-amx
scoop install navdatabase-amx-epson-esc-vp21-business
DEFINE_DEVICE
// The real device
dvEpsonProjector = 5001:1:0 // Serial/RS232 Connection
// or
// dvEpsonProjector = 0:4:0 // IP/Socket Connection
// Virtual Devices
vdvEpsonProjector = 33201:1:0 // The interface between the device and the control system
// User Interface
dvTP = 10001:1:0 // Main UI
define_module 'mEpsonESC-VP21Business' EpsonProjectorComm(vdvEpsonProjector, dvEpsonProjector)
DEFINE_EVENT
data_event[vdvEpsonProjector] {
online: {
// If using IP/Socket Connection
// send_command data.device, "'PROPERTY-IP_ADDRESS,', '192.168.1.21'"
}
}
// Trigger power state
button_event[dvTP, 1]
button_event[dvTP, 2] {
push: {
switch (button.input.channel) {
case 1: {
pulse[vdvEpsonProjector, PWR_ON]
// or
send_command vdvEpsonProjector, "'POWER-ON'"
}
case 2: {
pulse[vdvEpsonProjector, PWR_OFF]
// or
send_command vdvEpsonProjector, "'POWER-OFF'"
}
}
}
}
// Trigger input switch
button_event[dvTP, 11]
button_event[dvTP, 12] {
push: {
// Triggering an input switch will automatically turn the projector on
// and switch to the selected input
switch (button.input.channel) {
case 11: {
send_command vdvEpsonProjector, "'INPUT-HDMI,1'"
}
case 12: {
send_command vdvEpsonProjector, "'INPUT-HDMI,2'"
}
}
}
}
This project is maintained by the following person(s) and a bunch of awesome contributors.
Damien Butt |
Thanks go to these awesome people (emoji key):
This project follows the all-contributors specification. Contributions of any kind are welcome!