Use this topic to let Things5 know when variables have been changed directly on the device. This applies only to configuration variables. A response will be published by things5 on variables changed response
Request Topic and Payload
Topic
things5-production/v1/devices/<device-id>/event/variables_changed_req
Payload Representation
{
"request_id": "generate a UUID that will be used for the response",
"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 things5 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: