{
"name": "cls:AllAttributes",
"functions": [
{
"functionId": "fBasicFunction",
"type": "BasicFunction",
"vendorAttributes": [
{
"scope": "configuration",
"type": "AttributeBinary",
"name": "Binary"
},
{
"scope": "configuration",
"type": "AttributeBoolean",
"name": "Boolean"
},
{
"scope": "configuration",
"type": "AttributeBooleanState",
"name": "BooleanState"
},
{
"scope": "configuration",
"type": "AttributeCabinetActuatingType",
"name": "CabinetActuatingType"
},
{
"scope": "configuration",
"type": "AttributeCabinetSegmentsConfiguration",
"name": "CabinetSegmentsConfiguration"
},
{
"scope": "configuration",
"type": "AttributeCCTColorState",
"name": "CCTColorState"
},
{
"scope": "configuration",
"type": "AttributeCommand",
"name": "Command"
},
{
"scope": "configuration",
"type": "AttributeContentsType",
"name": "ContentsType"
},
{
"scope": "configuration",
"type": "AttributeDateTime",
"name": "DateTime"
},
{
"scope": "configuration",
"type": "AttributeFactorSense",
"name": "FactorSense"
},
{
"scope": "configuration",
"type": "AttributeFloat",
"name": "Float"
},
{
"scope": "configuration",
"type": "AttributeFloatKVPArray",
"name": "FloatKVPArray"
},
{
"scope": "configuration",
"type": "AttributeFloatState",
"name": "FloatState"
},
{
"scope": "configuration",
"type": "AttributeGasName",
"name": "GasName"
},
{
"scope": "configuration",
"type": "AttributeInteger",
"name": "Integer"
},
{
"scope": "configuration",
"type": "AttributeIntegerState",
"name": "IntegerState"
},
{
"scope": "configuration",
"type": "AttributeLevelAndCCTColorState",
"name": "LevelAndCCTColorState"
},
{
"scope": "configuration",
"type": "AttributeLevelAndRGBWAFColorState",
"name": "LevelAndRGBWAFColorState"
},
{
"scope": "configuration",
"type": "AttributeLevelAndXYColorState",
"name": "LevelAndXYColorState"
},
{
"scope": "configuration",
"type": "AttributeLevelState",
"name": "LevelState"
},
{
"scope": "configuration",
"type": "AttributeLocalOverride",
"name": "LocalOverride"
},
{
"scope": "configuration",
"type": "AttributeLocation",
"name": "Location"
},
{
"scope": "configuration",
"type": "AttributeLuminaireConnectionType",
"name": "LuminaireConnectionType"
},
{
"scope": "configuration",
"type": "AttributeMountingOption",
"name": "MountingOption"
},
{
"scope": "configuration",
"type": "AttributeOrientation",
"name": "Orientation"
},
{
"scope": "configuration",
"type": "AttributeParkingSlotDataArray",
"name": "ParkingSlotDataArray"
},
{
"scope": "configuration",
"type": "AttributeParkingSlotOccupancyStatus",
"name": "ParkingSlotOccupancyStatus"
},
{
"scope": "configuration",
"type": "AttributePercent",
"name": "Percent"
},
{
"scope": "configuration",
"type": "AttributePositionedTextState",
"name": "PositionedTextState"
},
{
"scope": "configuration",
"type": "AttributePowerSource",
"name": "PowerSource"
},
{
"scope": "configuration",
"type": "AttributeRGBState",
"name": "RGBState"
},
{
"scope": "configuration",
"type": "AttributeRGBWAFColorState",
"name": "RGBWAFColorState"
},
{
"scope": "configuration",
"type": "AttributeRoadUser",
"name": "RoadUser"
},
{
"scope": "configuration",
"type": "AttributeString",
"name": "String"
},
{
"scope": "configuration",
"type": "AttributeStringArray",
"name": "StringArray"
},
{
"scope": "configuration",
"type": "AttributeSupplyType",
"name": "SupplyType"
},
{
"scope": "configuration",
"type": "AttributeTextState",
"name": "TextState"
},
{
"scope": "configuration",
"type": "AttributeTrafficDirection",
"name": "TrafficDirection"
},
{
"scope": "configuration",
"type": "AttributeUri",
"name": "Uri"
},
{
"scope": "configuration",
"type": "AttributeVelocity",
"name": "Velocity"
},
{
"scope": "configuration",
"type": "AttributeWindDirection",
"name": "WindDirection"
},
{
"scope": "configuration",
"type": "AttributeXYColorState",
"name": "XYColorState"
}
]
}
]
}
curl --location -g --request PUT 'https://iot.exati.com.br/talq/device-classes/cls:AllAttributes?clientAddress={{gateway-uuid}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "cls:AllAttributes",
"functions": [
{
"functionId": "fBasicFunction",
"type": "BasicFunction",
"vendorAttributes": [
{
"scope": "configuration",
"type": "AttributeBinary",
"name": "Binary"
},
{
"scope": "configuration",
"type": "AttributeBoolean",
"name": "Boolean"
},
{
"scope": "configuration",
"type": "AttributeBooleanState",
"name": "BooleanState"
},
{
"scope": "configuration",
"type": "AttributeCabinetActuatingType",
"name": "CabinetActuatingType"
},
{
"scope": "configuration",
"type": "AttributeCabinetSegmentsConfiguration",
"name": "CabinetSegmentsConfiguration"
},
{
"scope": "configuration",
"type": "AttributeCCTColorState",
"name": "CCTColorState"
},
{
"scope": "configuration",
"type": "AttributeCommand",
"name": "Command"
},
{
"scope": "configuration",
"type": "AttributeContentsType",
"name": "ContentsType"
},
{
"scope": "configuration",
"type": "AttributeDateTime",
"name": "DateTime"
},
{
"scope": "configuration",
"type": "AttributeFactorSense",
"name": "FactorSense"
},
{
"scope": "configuration",
"type": "AttributeFloat",
"name": "Float"
},
{
"scope": "configuration",
"type": "AttributeFloatKVPArray",
"name": "FloatKVPArray"
},
{
"scope": "configuration",
"type": "AttributeFloatState",
"name": "FloatState"
},
{
"scope": "configuration",
"type": "AttributeGasName",
"name": "GasName"
},
{
"scope": "configuration",
"type": "AttributeInteger",
"name": "Integer"
},
{
"scope": "configuration",
"type": "AttributeIntegerState",
"name": "IntegerState"
},
{
"scope": "configuration",
"type": "AttributeLevelAndCCTColorState",
"name": "LevelAndCCTColorState"
},
{
"scope": "configuration",
"type": "AttributeLevelAndRGBWAFColorState",
"name": "LevelAndRGBWAFColorState"
},
{
"scope": "configuration",
"type": "AttributeLevelAndXYColorState",
"name": "LevelAndXYColorState"
},
{
"scope": "configuration",
"type": "AttributeLevelState",
"name": "LevelState"
},
{
"scope": "configuration",
"type": "AttributeLocalOverride",
"name": "LocalOverride"
},
{
"scope": "configuration",
"type": "AttributeLocation",
"name": "Location"
},
{
"scope": "configuration",
"type": "AttributeLuminaireConnectionType",
"name": "LuminaireConnectionType"
},
{
"scope": "configuration",
"type": "AttributeMountingOption",
"name": "MountingOption"
},
{
"scope": "configuration",
"type": "AttributeOrientation",
"name": "Orientation"
},
{
"scope": "configuration",
"type": "AttributeParkingSlotDataArray",
"name": "ParkingSlotDataArray"
},
{
"scope": "configuration",
"type": "AttributeParkingSlotOccupancyStatus",
"name": "ParkingSlotOccupancyStatus"
},
{
"scope": "configuration",
"type": "AttributePercent",
"name": "Percent"
},
{
"scope": "configuration",
"type": "AttributePositionedTextState",
"name": "PositionedTextState"
},
{
"scope": "configuration",
"type": "AttributePowerSource",
"name": "PowerSource"
},
{
"scope": "configuration",
"type": "AttributeRGBState",
"name": "RGBState"
},
{
"scope": "configuration",
"type": "AttributeRGBWAFColorState",
"name": "RGBWAFColorState"
},
{
"scope": "configuration",
"type": "AttributeRoadUser",
"name": "RoadUser"
},
{
"scope": "configuration",
"type": "AttributeString",
"name": "String"
},
{
"scope": "configuration",
"type": "AttributeStringArray",
"name": "StringArray"
},
{
"scope": "configuration",
"type": "AttributeSupplyType",
"name": "SupplyType"
},
{
"scope": "configuration",
"type": "AttributeTextState",
"name": "TextState"
},
{
"scope": "configuration",
"type": "AttributeTrafficDirection",
"name": "TrafficDirection"
},
{
"scope": "configuration",
"type": "AttributeUri",
"name": "Uri"
},
{
"scope": "configuration",
"type": "AttributeVelocity",
"name": "Velocity"
},
{
"scope": "configuration",
"type": "AttributeWindDirection",
"name": "WindDirection"
},
{
"scope": "configuration",
"type": "AttributeXYColorState",
"name": "XYColorState"
}
]
}
]
}'
[
{
"name": "string",
"functions": [
{
"functionId": "BasicFunction02",
"type": "BasicFunction",
"vendorAttributes": [
{
"name": "string",
"description": "string",
"minValue": 0,
"maxValue": 0,
"regex": "string",
"readOnly": true,
"enumValues": [
"string"
],
"unit": "string",
"vendorUuid": "string",
"scope": "measurement",
"type": "AttributeBinary",
"commands": {},
"types": {}
}
],
"attributes": [
{
"name": "string",
"description": "string",
"minValue": 0,
"maxValue": 0,
"regEx": "string",
"readOnly": true,
"enumValues": [
"string"
],
"unit": "string",
"commands": {
"scope": "default",
"attributes": "reason",
"states": {},
"levels": {}
},
"types": {
"address": "string",
"name": "LuminaireType",
"properties": [
{
"name": "string",
"description": "string",
"minValue": 0,
"maxValue": 0,
"regEx": "string",
"readOnly": true,
"enumValues": [
"string"
],
"unit": "string"
}
]
}
}
],
"events": [
{
"name": "string",
"description": "string",
"uuid": "string",
"functionUuid": "string",
"type": "string"
}
]
}
]
}
]