Request Topic and Payload
Topic
things5-production/v1/devices/<device-id>/cmd/read_variables_res
Success payload Representation
{
"request_id": "UUID sent in the request",
"assets": [{
"name": "configuration",
"values": [{
"name": "minimum_setpoint",
"value": "-20",
"type": "integer"
}, {
"name": "power_on_delay",
"value": "30",
"type": "integer"
}, {
"name": "temperature_hysteresis",
"value": "10.4",
"type": "float"
}, {
"name": "appliance_type",
"value": "visup_v2.3.0-beta",
"type": "string"
}]
}]
}
{
"request_id": "UUID sent in the request",
"assets": [{
"name": "metrics",
"values": [{
"name": "cabinet_probe",
"value": "-10",
"type": "integer"
}]
}]
}
{
"request_id": "UUID sent in the request",
"assets": [{
"name": "states",
"values": [{
"name": "door",
"value": "open",
"type": "string"
}]
}]
}
{
"request_id": "UUID sent in the request",
"errors": [
"invalid request"
]
}
Thee UUID in the response must match the one in the request; if the UUID in the response does not match any request the message will be discarded.