Information
Get information about the flat panel, Coverstate represents the following values: 0: Unknown, 1: NeitherOpenNorClosed, 2: Closed, 3: Open, 4: Error, 5: Not present
GET
/equipment/flatdevice/info
curl \
--request GET 'http://localhost:1888/v2/api/equipment/flatdevice/info'
Response examples (200)
{
"Response": {
"CoverState": "Unknown",
"LocalizedCoverState": "string",
"LocalizedLightOnState": "string",
"LightOn": true,
"Brightness": 42,
"SupportsOpenClose": true,
"MinBrightness": 42,
"MaxBrightness": 42,
"SupportsOnOff": true,
"SupportedActions": [],
"Connected": true,
"Name": "string",
"DisplayName": "string",
"Description": "string",
"DriverInfo": "string",
"DriverVersion": "string",
"DeviceId": "string"
},
"Error": "string",
"StatusCode": 42,
"Success": true,
"Type": "string"
}
Response examples (500)
{
"Response": "string",
"Error": "Unknown error",
"StatusCode": 500,
"Success": false,
"Type": "API"
}