AMX NetLinx module for Panasonic displays.
This module can be installed using Scoop.
scoop bucket add norgateav-amx https://github.com/Norgate-AV/scoop-norgateav-amx
scoop install navdatabase-amx-panasonic-display
DEFINE_DEVICE
// The real device
dvPanasonicDisplay = 5001:1:0 // Serial/RS232 Connection
// or
// dvPanasonicDisplay = 0:4:0 // IP/Socket Connection
// Virtual Devices
vdvPanasonicDisplay = 33201:1:0 // The interface between the device and the control system
// User Interface
dvTP = 10001:1:0 // Main UI
define_module 'mPanasonicDisplay' PanasonicDisplayComm(vdvPanasonicDisplay, dvPanasonicDisplay)
DEFINE_EVENT
data_event[vdvPanasonicDisplay] {
online: {
// If using IP/Socket Connection
// send_command data.device, "'PROPERTY-IP_ADDRESS,', '192.168.1.21'"
// Set an alternative baud rate for serial connection. Default is 9600
// send_command data.device, "'PROPERTY-BAUD_RATE,', '38400'"
// send_command data.device, "'PROPERTY-USER_NAME,', 'dispadmin'"
// send_command data.device, "'PROPERTY-PASSWORD,', '@Panasonic'"
}
}
// Trigger power state
button_event[dvTP, 1]
button_event[dvTP, 2] {
push: {
switch (button.input.channel) {
case 1: {
pulse[vdvPanasonicDisplay, PWR_ON]
// or
send_command vdvPanasonicDisplay, "'POWER-ON'"
}
case 2: {
pulse[vdvPanasonicDisplay, PWR_OFF]
// or
send_command vdvPanasonicDisplay, "'POWER-OFF'"
}
}
}
}
// Trigger input switch
button_event[dvTP, 11]
button_event[dvTP, 12] {
push: {
// Triggering an input switch will automatically turn the display on
// and switch to the selected input
switch (button.input.channel) {
case 11: {
send_command vdvPanasonicDisplay, "'INPUT-HDMI,1'"
}
case 12: {
send_command vdvPanasonicDisplay, "'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!