MIOT
#viomi.mfcp.sample
viomi.mfcp.sample
urn:miot-spec-v2:device:multifunction-cooking-pot:0000A0A9:viomi-sample:1
语言
Service tree
多功能料理锅#2 · multifunction-cooking-pot属性 10动作 4事件 1
多功能料理锅
#2 · multifunction-cooking-pot
Properties
工作状态
#1 · status
- 格式
- uint8
- 读写
- R / N
- 值
- 1待机2烹饪中3暂停4烹饪完成
模式
#2 · mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0手动加热1火锅2烧烤3煎炸4蒸煮5牛排6食谱
剩余时间
#3 · left-time
- 格式
- uint16
- 读写
- R / N
- 值
- 0 ~ 240,步长 1
开关
#4 · on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
故障
#5 · fault
- 格式
- uint32
- 读写
- R / N
- 值
- 0 ~ 1000000000,步长 1
加热档位(火力)
#6 · heat-level
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0 ~ 99,步长 1
设定温度(烹饪温度)
#7 · target-temperature
- 格式
- uint16
- 读写
- R / W / N
- 值
- 40 ~ 190,步长 1
温度
#8 · temperature
- 格式
- int16
- 读写
- R / N
- 值
- -30 ~ 300,步长 1
目标时间(烹饪时长)
#9 · target-time
- 格式
- uint32
- 读写
- R / W / N
- 值
- 0 ~ 300,步长 1
菜谱烹饪指令(云端菜谱指令:数组格式的字符串指令,如"command_1,command_2,command_3";用户自定义菜谱指令:JSON格式的字符串指令,如
[
{
“id”: 1, //步骤
“fire”:40, //火力
“temp”:25, //温度
“time”:100 //时长
},
{
…….
}
])
#10 · recipe-command
- 格式
- string
- 读写
- 值
- —
Actions
开始烹饪
#1 · start-cook
入参
#6加热档位(火力)uint8#9目标时间(烹饪时长)uint32
停止烹饪
#2 · cancel-cooking
暂停
#3 · pause
开始菜谱烹饪
#4 · start-recipe-cook
入参
#10菜谱烹饪指令(云端菜谱指令:数组格式的字符串指令,如"command_1,command_2,command_3";用户自定义菜谱指令:JSON格式的字符串指令,如
[
{
“id”: 1, //步骤
“fire”:40, //火力
“temp”:25, //温度
“time”:100 //时长
},
{
…….
}
])string
Events
烹饪完成
#1 · cooking-finished
烹饪步骤通知#3 · cook-step-notice属性 1事件 1
烹饪步骤通知
#3 · cook-step-notice
Properties
通知开关
每完成一个烹饪步骤,固件是否需要发送事件
true - 固件都发送一次事件
false - 固件不发送事件
#1 · notice
- 格式
- bool
- 读写
- R / N / W
- 值
- —
Events
烹饪步骤完成
#1 · cook-step-finished
牛排烹饪功能#4 · steak-cooking属性 4动作 1事件 2
牛排烹饪功能
#4 · steak-cooking
Properties
牛排种类
#1 · steak-category
- 格式
- uint8
- 读写
- R / N / W
- 值
- 0Sirloin1Rib Eye2Filet3High Rib
牛排重量
#2 · steak-weight
- 格式
- uint8
- 读写
- R / N / W
- 值
- 100 ~ 250,步长 10
牛排熟度
#3 · steak-rare
- 格式
- uint8
- 读写
- R / N / W
- 值
- 0Medium Rare1Medium2Medium Well3Well Done
牛排是否需要翻面
#4 · is-need-turn
- 格式
- bool
- 读写
- R / N
- 值
- —
Actions
开始牛排烹饪
#1 · start-steak-cook
入参
#1牛排种类uint8#2牛排重量uint8#3牛排熟度uint8
Events
牛排翻面
#1 · steak-turned
牛排调查问卷
#2 · steak-questionnaire
用户菜谱方法#5 · user-recipe属性 4动作 3
用户菜谱方法
#5 · user-recipe
Properties
用户菜谱列表
#1 · user-recipe-list
- 格式
- string
- 读写
- 值
- —
菜谱id
#2 · recipe-id
- 格式
- string
- 读写
- 值
- —
菜谱名称
#3 · recipe-name
- 格式
- string
- 读写
- 值
- —
菜谱烹饪指令(云端菜谱指令:数组格式的字符串指令,如"command_1,command_2,command_3";用户自定义菜谱指令,JSON格式的字符串指令,如
[
{
“id”: 1, //步骤
“fire”:40, //火力
“temp”:25, //温度
“time”:100 //时长
},
{
…….
}
])
#4 · recipe-command
- 格式
- string
- 读写
- 值
- —
Actions
保存自定义菜谱
#1 · save-recipe-cook
入参
#2菜谱idstring#3菜谱名称string#4菜谱烹饪指令(云端菜谱指令:数组格式的字符串指令,如"command_1,command_2,command_3";用户自定义菜谱指令,JSON格式的字符串指令,如
[
{
“id”: 1, //步骤
“fire”:40, //火力
“temp”:25, //温度
“time”:100 //时长
},
{
…….
}
])string
删除自定义菜谱
#2 · delete-recipe-cook
入参
#2菜谱idstring
更新用户的菜谱顺序
#3 · update-recipe-order
入参
#1用户菜谱列表string