Publish on this topic to send a response for a previous read recipes request.
Response is expected to contain all device recipes.
Request Topic and Payload
Topic
things5-production/v1/devices/<device-id>/cmd/read_recipes_res
Payload Representation
{
"request_id": "UUID sent in the request",
"recipes": [
{
"id": "uniqueid",
"can_be_edited": true,
"can_be_deleted": false,
"name": "Pollo con patate al cuore",
"description": "Recipe description",
"index": 0,
"phases": [
{
"dosages": [
{
"name": "yeast",
"quantity": "5.5",
"unit": "g",
"type": "float",
"metadata": [
{
"name": "type",
"value": "1",
"type": "integer"
},
{
"name": "temperature",
"value": "20",
"type": "integer"
}
]
}
],
"values": [
{
"name": "evaporator_fan_speed",
"value": "4",
"type": "integer"
},
{
"name": "core_temperature",
"value": "-5",
"type": "integer"
},
{
"name": "cell_temperature",
"value": "-20",
"type": "integer"
}
]
},
{
"values": [
{
"name": "evaporator_fan_speed",
"value": "2",
"type": "integer"
},
{
"name": "core_temperature",
"value": "-5",
"type": "integer"
},
{
"name": "cell_temperature",
"value": "-20",
"type": "integer"
}
]
},
{
"values": [
{
"name": "evaporator_fan_speed",
"value": "1",
"type": "integer"
},
{
"name": "core_temperature",
"value": "-5",
"type": "integer"
},
{
"name": "cell_temperature",
"value": "-20",
"type": "integer"
}
]
},
{
"values": [
{
"name": "evaporator_fan_speed",
"value": "0",
"type": "integer"
},
{
"name": "cell_temperature",
"value": "-10",
"type": "integer"
}
]
}
],
"metadata": [
{
"name": "image_path",
"value": "../images/fish.jpg",
"type": "string"
},
{
"name": "index_in_list",
"value": "6",
"type": "integer"
}
]
}
]
}