Page 43 5. get commands – Muxlab 8 x 8 Cat 5e/6 Line Level Audio Matrix Switch User Manual

Page 43

Advertising
background image

© MuxLab Inc.

Audio 8x8 Matrix Switch Installation Guide

Page 43

5. GET Commands

URL

Response

/var/conn.json

Array of 4 integers.
Contains 4 items for the 4 displays. Each number is the source connected to the associated display. 0 means a display
is disconnected. In the example below, Display 1 is disconnected, Display 2 is connected to Source 3, etc.
Example: [0,3,2,4]

/var/pre1.json
/var/pre2.json
/var/pre3.json
/var/pre4.json
/var/pre5.json
/var/pre6.json
/var/pre7.json
/var/pre8.json

Array of 4 integers.
Provide the connections state of the corresponding preset.
Contains 4 items for the 4 displays. Each number is the source connected to the associated display. 0 means a display
is disconnected. In the example below, Display 1 is disconnected; Display 2 is connected to Source 3, etc.
Example: [0,3,2,4]

/var/boxname.json

Array of a single string.
Contains the name of the box.
Example: [“Classroom B Matrix”]

/var/sources.json

Array of 4 strings.
Contains the names of all 4 input ports.
Example: [“Cable Box”, “Satellite Receiver”, “Demo Reel”, …]

/var/displays.json

Array of 4 strings.
Contains the names of all 4 output ports.
Example: [“Conference Room”, “Cafeteria”, …]

/var/presetnames.json

Array of 8 strings.
Contains the names of all 8 presets
Example: [“Preset 1”, “Preset 2”, “week end”, …]

/var/dhcp.json

Array of a single integer.
Indicate if dhcp is ON ([1]) or OFF ([0])
Example: [1]

/var/tempalarms.json

Array of 2 integers.
Contains the Min. and Max. temperature of the unit before an alarm is raised
Example: [5,70]

/var/auth.json

Array of a single integer.
Contains an integer representing the current user level, from 0 to 2.
Example: [2]

/var/session.json

Array of a single integer.
Represents a new session ID
Example: [3847534]

/var/logout.json

None.
Destroys current session.

/var/mon_temp.json

Array of a single integer.
Contains an integer representing the temperature inside the matrix, in degrees Celsius.
Example: [26]

/var/mon_status.json

Array of a single integer.
Represents the matrix status. 0 => Ok; 1 => fault; 2 => critical
Example: [1]

/var/mon_voltages.json

Array of a single integer.
Represents the voltage status. 1 => Ok; 0 => fault
Example: [1]

/var/serial.json

Array of 4 integers.
Contains the current serial port settings: baud rate, data bits(7 or 8), parity (0=>Even; 1=>Odd; 4=>None) ,stop bits
(0=>1 stop bit; 2=>2 stop bits)
Example: [9600,8,4,0]

/var/ip.json

Array of 4 integers.
Contains the saved IP address (Not the current IP address being used)
Example: [10,0,101,96]

/var/netmask.json

Array of 4 integers.
Contains the saved mask address (Not the current mask address being used)
Example: [255,255,0,0]

/var/router.json

Array of 4 integers.
Contains the saved gateway address (Not the current one being used)
Example: [10,0,1,1]

/var/alarmflags.json

Array of 8 integers.
Contains the alarm configuration: beep, email, serial feedback, (the last 5 integer are not used)
Example: [1,0,1,0,0,0,0,0]

/var/fwVersion.json

Array of 2 strings.
Contains master firmware version
Example: [“1.0.0”, “0”]

Advertising