Querying a DVX's status over Serial / Telnet

HI all!
I have a DVX-3155 and a DVX-2250. I'd like to control them via telnet.
So far I've gotten far enough to switch video inputs, and presumably set any values I need, but I've had no luck checking what the values are first.
I was trying to check port specific things (e.g. hshift), then tried "whole system" things like FP_LOCKOUT and TEMP, but so far I've never managed to get a response, either via telnet or RS232. RS232 does just echo the command back to me though:
send_command 5002:0:0,'?TEMP'
send_command 5002:0:0,'?TEMP'
send_command 5002:1:0,'?TEMP'
send_command 5002:1:0,'?TEMP'
send_command 5002:0:1,'?TEMP'
send_command 5002:0:1,'?TEMP'
In this particular instance I tried all the IDs I could think of, with and without the :P:S at the end as well. I also tried superuser
, msg on
and msg on debug
to no avail.
I'm totally open to being told that I'm "holding it wrong", so any tips on controlling the devices remotely, without the web-ui, would be appreciated.
(Side note, does code blocks (i.e. with four backticks) work on this site or is it just preview that's broken?)
Answers
The console (serial/USB or telnet) is for diagnostics only. The send_command is implemented to the console to e.g. adjusting a parameter just for testing, without using of the webinterface or going to the DVX on system level with NetLinx Studio.
The console is not designed for a bidirectional control, and the DVX has no "Open API" for 3rd party control.
What is your specific application?
Hi Marc, thanks for responding.
My specific application is that I'd like to integrate the DVX into a electronics / computer etc. lab work bench, and have power, video, network etc. all centrally controllable (e.g. via Home Assistant). I've got one input hooked up to a capture card, and want to essentially DIY an IP KVM, but with better input and scaling / adjustment options.
While I can just blindly send commands to the unit, I'd like to be able to query the status first so that the front-end I end up using is able to show me what input is mapped where and if it's HDMI / VGA etc before I try and change it.
I realise that the controller in the DVX itself is designed to be the hub of this kind of system, but the DVX doesn't have the interfaces I'd need for other parts of the system.
Is there a supported way to do what I want or am I going to be better off replicating how the Flash (NI-) or HTML5 (NX-) UI talks to the system?
I see.... maybe the old DVX Switcher Dashboard module may help you to find the parameters:
https://developer.amx.com/#!/itemResult?modelNumber=36766
Another option may be the Enova Hcontrol module (same link above).
This module requires just a few lines of code in the DVX, and then provides the switcher functions in the new Harman Hcontrol protocol format.
With the Hcontrol, you may e.g. use a Muse MU1000, connect the DVX into the MU, look for Nodered Home assistant nodes, and design a communication between them.
Another idea may be to use that Hcontrol interface provided by the module, and program Hcontrol communication by yourself.
The basic Hcontrol structure and handling is officially described: https://www.amx.com/en/site_elements/hcontrol-protocol-muse-automation-controllers
I never tried that before with such complex device like a DVX, but with a CE-REL8 box. It would require to read out the Hcontrol descriptors (the datapoint list) from a DVX running the Hcontrol module.
Ooh, both of those options look helpful thank you! That'll give me something to chew on, should have a few good options now.
I am also trying to do this but with obtaining values instead (my workplace uses DVX-225x-HD switchers), to set an inactivity timeout with no signal present on one of the inputs for a significant amount of time.
I know that 5002 is the device number to use and the installer/inital programmer of the systems (not me) uses this device number to change the audio levels for the primary output. What are the commands used to obtain information about HDMI input signal status, and where is this documented?
All the commands for control and quering the regular NetLinx way can be found in the DVX manual, chapter "Programming":
https://www.amx.com/en/site_elements/instruction-manual-enova-dvx-325xhd-22xxhd-all-in-one-presentation-switchers