Subscribe to this topic to accept write variables requests. Only configuration variables can be written.
Publish on write variables response to send the requested variables.
Request Topic and Payload
Topic
things5-production/v1/devices/<device-id>/cmd/write_variables_req
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"
}]
}]
}
Payload Parameters
name | description | example |
---|---|---|
request_id | the request id to be sent back by the device when sending the response | |
assets | list of assets to write. Currently only configuration assets can be written |
Response has to be sent into the write variables response: