宠物喂食器产品三方语音方案

更新时间:2022-06-21 01:57:31下载pdf

前提条件

  • 宠物喂食器产品已在涂鸦 IoT 平台定义,并且主体功能开发完成,已实现 App 对设备的远程控制。

  • 同时,在产品的功能定义中,相关 DP 需满足以下要求:

    DP 名称 DP Code DP 内容 是否必选
    开关 switch {“type”:“bool”}
    小夜灯开关 light {“type”:“bool”}
    手动喂食 manual_feed {“unit”:“”, “min”:0, “max”:12, “scale”:0, “step”:1, “type”:“value” }
    查询余粮 surplus_grain {“unit”:“%”, “min”:0, “max”:100, “scale”:0, “step”:1, “type”:“value”}
    查询喂食状态 feed_state { “range”: [ “standby”, “feeding”, “done”], “type”: “enum” }

语音方案

基于IoT平台公版定义的宠物喂食器产品,目前支持 Google Assistant 语音平台语音方案。

Google Assistant

功能 支持语言区 语料 对应DP下发
开关 Danish (da),Dutch (nl),English (en),French (fr),German (de),Hindi (hi),Indonesian (id) Italian (it),Japanese (ja),Korean (ko),Norwegian (no),Portuguese (pt-BR),Spanish (es),Swedish (sv),Thai (th) 1. Turn on
2. Turn off
开启:switch=1
关闭:switch=0
小夜灯开关 English (en) 1. Turn on light for the (device_name)
2. Is my (device_name) light on?
开启:light=1
关闭:light=0
手动喂食 English (en) 1. Dispense 3 pet food
2. Give me 3 pet food
manual_feed=N
查询余粮 English (en) How much pet food are remaining in my (device_name)? surplus_grain=N
查询喂食状态 English (en) Is the (device_name) still dispensing pet food? 待机中:
feed_state=standby
喂食中:
feed_state=feeding
喂食完成:
feed_state=done