发现设备里面没有卧室灯带,可是语音播报:...你可以说:打开卧室灯带..
CarlosMXX 发布于2018-07-10 14:56 浏览:137 回复:1
0
收藏

发现设备里面没有卧室灯带,可是语音播报:...你可以说:打开卧室灯带..

{
    "header":{
        "payloadVersion":"1",
        "namespace":"DuerOS.ConnectedHome.Discovery",
        "messageId":"0816d2fbc6124416aee4698b0917c43a_0_Smarthome_5b44209c1790b0.22976600",
        "name":"DiscoverAppliancesResponse"
    },
    "payload":{
        "discoveredAppliances":[
            {
                "applianceTypes":[
                    "4352"
                ],
                "actions":[
                    "turnOn",
                    "turnOff",
                    "getTurnOnState"
                ],
                "applianceId":"1",
                "modelName":"1",
                "version":"1.0",
                "friendlyName":"1",
                "friendlyDescription":"",
                "isReachable":"true",
                "additionalApplianceDetails":{

                },
                "manufacturerName":"HZX",
                "attributes":[

                ]
            },
            {
                "applianceTypes":[
                    "516"
                ],
                "actions":[
                    "turnOn",
                    "turnOff",
                    "getTurnOnState",
                    "pause"
                ],
                "applianceId":"2",
                "modelName":"7",
                "version":"1.0",
                "friendlyName":"7",
                "friendlyDescription":"",
                "isReachable":"true",
                "additionalApplianceDetails":{

                },
                "manufacturerName":"HZX",
                "attributes":[

                ]
            },
            {
                "applianceTypes":[
                    "256"
                ],
                "actions":[
                    "turnOn",
                    "turnOff",
                    "getTurnOnState"
                ],
                "applianceId":"3",
                "modelName":"8",
                "version":"1.0",
                "friendlyName":"8",
                "friendlyDescription":"",
                "isReachable":"true",
                "additionalApplianceDetails":{

                },
                "manufacturerName":"HZX",
                "attributes":[

                ]
            },
            {
                "applianceTypes":[
                    "3344"
                ],
                "actions":[
                    "turnOn",
                    "turnOff",
                    "getTurnOnState"
                ],
                "applianceId":"4",
                "modelName":"8",
                "version":"1.0",
                "friendlyName":"8",
                "friendlyDescription":"",
                "isReachable":"true",
                "additionalApplianceDetails":{

                },
                "manufacturerName":"HZX",
                "attributes":[

                ]
            }
        ],
        "discoveredGroups":[

        ]
    },
    "func":"receiveDuerosData"
}

 

还有个问题:applianceTypes可以根据自己定义的类型可以吗?会产生什么影响?

收藏
点赞
0
个赞
共1条回复 最后由DuerOS-河狸回复于2018-07-11 11:44
#2DuerOS-河狸回复于2018-07-11

您好,感谢您对DuerOS的关注与支持

您的问题已收到,请耐心等待

祝您开发愉快!

了解最新资讯,请关注微信公众账号:度客俱乐部

参与同行探讨,马上加入QQ交流群:151767001

更多资源获取

常见问题答疑:https://dueros.baidu.com/forum/topic/show/248181

技术文档指南:https://dueros.baidu.com/didp/doc/index

技术视频教程:https://dueros.baidu.com/didp/news/technicalclass

如有商务合作,请发送邮件至邮箱dueros-bd@baidu.com与我们联系。

0
TOP