[
{
"address": "{{$string.uuid}}",
"name": "{{$commerce.productAdjective}} {{$commerce.productName}}",
"class": "cls:AllAttributes4Functions",
"functions": [
{
"id": "fLuminaireAssetFunction",
"type": "LuminaireAssetFunction"
},
{
"id": "fLampMonitorFunction",
"type": "LampMonitorFunction"
},
{
"id": "fCommunicationFunction",
"type": "CommunicationFunction"
},
{
"id": "fBasicFunction",
"type": "BasicFunction",
"Binary": {"type": "AttributeBinary",
"value": "ON"},
"Boolean": {"type": "AttributeBoolean"},
"BooleanState": {
"type": "AttributeBooleanState",
"value": {
"name": "BooleanState",
"value": true
}
},
"CabinetActuatingType": {"type": "AttributeCabinetActuatingType"},
"CabinetSegmentsConfiguration": {
"type": "AttributeCabinetSegmentsConfiguration",
"value": [
{
"level": 1,
"segmentMonitors": [
{
"segmentMonitorFunctionId": "123",
"relayState": "OFF"
}
]
},
{
"level": 100,
"segmentMonitors": []
}
]
},
"CCTColorState": {"type": "AttributeCCTColorState"},
"Command": {
"type": "AttributeCommand",
"value": {
"state": {
"name": "LevelState",
"value": 50
}
}
},
"ContentsType": {"type": "AttributeContentsType"},
"DateTime": {"type": "AttributeDateTime"},
"FactorSense": {"type": "AttributeFactorSense"},
"Float": {"type": "AttributeFloat"},
"FloatKVPArray": {"type": "AttributeFloatKVPArray"},
"FloatState": {"type": "AttributeFloatState"},
"GasName": {"type": "AttributeGasName"},
"Integer": {"type": "AttributeInteger"},
"IntegerState": {"type": "AttributeIntegerState"},
"LevelAndCCTColorState": {"type": "AttributeLevelAndCCTColorState"},
"LevelAndRGBWAFColorState": {"type": "AttributeLevelAndRGBWAFColorState"},
"LevelAndXYColorState": {"type": "AttributeLevelAndXYColorState"},
"LevelState": {"type": "AttributeLevelState"},
"LocalOverride": {"type": "AttributeLocalOverride"},
"Location": {"type": "AttributeLocation"},
"LuminaireConnectionType": {"type": "AttributeLuminaireConnectionType"},
"MountingOption": {"type": "AttributeMountingOption"},
"Orientation": {"type": "AttributeOrientation"},
"ParkingSlotDataArray": {"type": "AttributeParkingSlotDataArray"},
"ParkingSlotOccupancyStatus": {"type": "AttributeParkingSlotOccupancyStatus"},
"Percent": {"type": "AttributePercent"},
"PositionedTextState": {"type": "AttributePositionedTextState"},
"PowerSource": {"type": "AttributePowerSource"},
"RGBState": {"type": "AttributeRGBState"},
"RGBWAFColorState": {"type": "AttributeRGBWAFColorState"},
"RoadUser": {"type": "AttributeRoadUser"},
"String": {"type": "AttributeString"},
"StringArray": {"type": "AttributeStringArray"},
"SupplyType": {"type": "AttributeSupplyType"},
"TextState": {"type": "AttributeTextState"},
"TrafficDirection": {"type": "AttributeTrafficDirection"},
"Uri": {
"type": "AttributeUri",
"value": "https://google.com"
},
"Velocity": {
"type": "AttributeVelocity",
"value": {
"horizontalVelocity": {
"horizontalSpeed": 1,
"bearing": 1
}
}
},
"WindDirection": {"type": "AttributeWindDirection", "value": "N"},
"XYColorState": {
"type": "AttributeXYColorState",
"value": {
curl --location -g --request POST 'https://iot.exati.com.br/staging/talq/devices?clientAddress=' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"address": "{{$string.uuid}}",
"name": "{{$commerce.productAdjective}} {{$commerce.productName}}",
"class": "cls:AllAttributes4Functions",
"functions": [
{
"id": "fLuminaireAssetFunction",
"type": "LuminaireAssetFunction"
},
{
"id": "fLampMonitorFunction",
"type": "LampMonitorFunction"
},
{
"id": "fCommunicationFunction",
"type": "CommunicationFunction"
},
{
"id": "fBasicFunction",
"type": "BasicFunction",
"Binary": {"type": "AttributeBinary",
"value": "ON"},
"Boolean": {"type": "AttributeBoolean"},
"BooleanState": {
"type": "AttributeBooleanState",
"value": {
"name": "BooleanState",
"value": true
}
},
"CabinetActuatingType": {"type": "AttributeCabinetActuatingType"},
"CabinetSegmentsConfiguration": {
"type": "AttributeCabinetSegmentsConfiguration",
"value": [
{
"level": 1,
"segmentMonitors": [
{
"segmentMonitorFunctionId": "123",
"relayState": "OFF"
}
]
},
{
"level": 100,
"segmentMonitors": []
}
]
},
"CCTColorState": {"type": "AttributeCCTColorState"},
"Command": {
"type": "AttributeCommand",
"value": {
"state": {
"name": "LevelState",
"value": 50
}
}
},
"ContentsType": {"type": "AttributeContentsType"},
"DateTime": {"type": "AttributeDateTime"},
"FactorSense": {"type": "AttributeFactorSense"},
"Float": {"type": "AttributeFloat"},
"FloatKVPArray": {"type": "AttributeFloatKVPArray"},
"FloatState": {"type": "AttributeFloatState"},
"GasName": {"type": "AttributeGasName"},
"Integer": {"type": "AttributeInteger"},
"IntegerState": {"type": "AttributeIntegerState"},
"LevelAndCCTColorState": {"type": "AttributeLevelAndCCTColorState"},
"LevelAndRGBWAFColorState": {"type": "AttributeLevelAndRGBWAFColorState"},
"LevelAndXYColorState": {"type": "AttributeLevelAndXYColorState"},
"LevelState": {"type": "AttributeLevelState"},
"LocalOverride": {"type": "AttributeLocalOverride"},
"Location": {"type": "AttributeLocation"},
"LuminaireConnectionType": {"type": "AttributeLuminaireConnectionType"},
"MountingOption": {"type": "AttributeMountingOption"},
"Orientation": {"type": "AttributeOrientation"},
"ParkingSlotDataArray": {"type": "AttributeParkingSlotDataArray"},
"ParkingSlotOccupancyStatus": {"type": "AttributeParkingSlotOccupancyStatus"},
"Percent": {"type": "AttributePercent"},
"PositionedTextState": {"type": "AttributePositionedTextState"},
"PowerSource": {"type": "AttributePowerSource"},
"RGBState": {"type": "AttributeRGBState"},
"RGBWAFColorState": {"type": "AttributeRGBWAFColorState"},
"RoadUser": {"type": "AttributeRoadUser"},
"String": {"type": "AttributeString"},
"StringArray": {"type": "AttributeStringArray"},
"SupplyType": {"type": "AttributeSupplyType"},
"TextState": {"type": "AttributeTextState"},
"TrafficDirection": {"type": "AttributeTrafficDirection"},
"Uri": {
"type": "AttributeUri",
"value": "https://google.com"
},
"Velocity": {
"type": "AttributeVelocity",
"value": {
"horizontalVelocity": {
"horizontalSpeed": 1,
"bearing": 1
}
}
},
"WindDirection": {"type": "AttributeWindDirect{}