Skip to content

device_info_get_private

Guest

Returns information about the device.

This method should return the device.tstamp attribute in the response JSON.

Params

N/A

Return

attribute description
name*
string
The name of the unit
timezone*
string
The tz database id of the timezone where the device is located.
host*
string
The host of the unit – typically either IP or domain
firmware_version*
string
The version of the firmware
config_version*
string
The version of the configuration
type*
Device Type
The device hardware type
languages
['en']
An array of codes of the languages supported by the device

Example

{
  "name": "Main Unit 1",
  "host": "1.1.1.1",
  "timezone": "Europe/Prague",
  "firmware_version": "1.0.0.0",
  "config_version": "1",
  "type": "mbm",
  "languages": ["en"]
}