Skip to content

Norgate-AV/NAVDatabase.Amx.AMX-CTC-1402

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAVDatabase.Amx.AMX-CTC-1402


CI Conventional Commits Commitizen friendly MIT license


A NetLinx module for interfacing with the AMX CTC-1402 switcher.

Contents 📖

Usage ⚡

DEFINE_DEVICE

dvSwitcher      =       6001:1:0
vdvSwitcher     =       33201:1:0


define_module 'mAMX-CTC-1402' SwitcherComm(vdvSwitcher, dvSwitcher)

DEFINE_EVENT

data_event[vdvSwitcher] {
    online: {
        // Switch to Input 1
        send_command data.device, "'SWITCH-1'"

        // Set Volume to 50% (0-255)
        send_command data.device, "'VOLUME-128'"
    }
}

API 🧑‍💻

SWITCH - Switch to the specified input. The input number is specified as a string. For example, to switch to input 1, send the command 'SWITCH-1'

VOLUME - Set the volume to the specified level. The volume level is specified as a string. For example, to set the volume to 50%, send the command 'VOLUME-128'

Team ⚽

This project is maintained by the following person(s) and a bunch of awesome contributors.


Damien Butt

Contributors ✨

All Contributors

Thanks go to these awesome people (emoji key):

This project follows the all-contributors specification. Contributions of any kind are welcome!

LICENSE ⚖️

MIT