The recipe works like this:
- In a recipe template you define the items, which are part of a recipe. request example from WebIQ docu: recipe.template.add
{
"cmd": "recipe.template.add",
"id": 0,
"data": {
"template_name": "MyTemplate",
"items": [
{
"item_alias": "SBool",
"rank": 1
},
{
"item_alias": "SInt",
"rank": 0
}
],
"metadata": {
"key1": {
"default_value": 123,
"value_type": "int",
"label": "${MY_LOCALIZED_TEXT}"
}
}
}
}
.- Each recipe template has its unique template_id, which you must use as reference when you call recipe.add
... View more