随笔 - 2649  文章 - 2452  评论 - 0  阅读 - 74060

文章分类 -  MeiOS / 设备管理

tslV2BatchQueryProperty 查询设备的属性
摘要:tslV2BatchQueryProperty ^8.23.0 用于查询设备的属性,可指定查询属性名称,不指定则返回错误。如果设备有影子则优先使用影子,不支持影子则进行透传查询。(物模型2.0)对应的云端接口为:/v1/thing/batch/properties, 参考文档:https://cf- 阅读全文
posted @ 2024-12-19 09:23 AtlasLapetos 阅读(3) 评论(0) 推荐(0) 编辑
tslV2SetupProperty 属性(property)设置(物模型2.0)
摘要:tslV2SetupProperty ^8.13.1 属性(property)设置(物模型2.0) #请求参数 Prop Type Default Comment applianceCode String N/A 设备编码 body String N/A 设置属性参数 sync Number N/A 阅读全文
posted @ 2024-12-19 09:23 AtlasLapetos 阅读(6) 评论(0) 推荐(0) 编辑
tslV2QueryProperty 属性(property)查询(物模型2.0)
摘要:tslV2QueryProperty ^8.13.1 属性(property)查询(物模型2.0) #请求参数 Prop Type Default Comment applianceCode String N/A 设备编码 body String N/A 需要获取的属性 sync Number N/ 阅读全文
posted @ 2024-12-19 09:23 AtlasLapetos 阅读(4) 评论(0) 推荐(0) 编辑
tslV2QueryAllProperties 全属性(properties)查询(物模型2.0)
摘要:tslV2QueryAllProperties ^8.13.1 全属性(properties)查询(物模型2.0) #请求参数 Prop Type Default Comment applianceCode String N/A 设备编码 sync Number N/A 是否同步 1/0 #接口调用 阅读全文
posted @ 2024-12-19 09:23 AtlasLapetos 阅读(3) 评论(0) 推荐(0) 编辑
tslV2PerformAction 操作(action)调用(物模型2.0)
摘要:tslV2PerformAction ^8.13.1 操作(action)调用(物模型2.0) #请求参数 Prop Type Default Comment moduleCode String N/A 物模型模块编码 actionCode String N/A 物模型动作编码 applianceC 阅读全文
posted @ 2024-12-19 09:23 AtlasLapetos 阅读(4) 评论(0) 推荐(0) 编辑
getDeviceUUID 获取设备唯一标识
摘要:getDeviceUUID^6.8 获取设备唯一标识 #接口调用示例 this.$bridge .getDeviceUUID() .then(res => { this.$alert(res) }) .catch(err => { this.$toast(err) }) #返回参数 Prop Typ 阅读全文
posted @ 2024-12-19 09:23 AtlasLapetos 阅读(4) 评论(0) 推荐(0) 编辑
getCurrentApplianceID 获取当前家电设备id
摘要:getCurrentApplianceID ^6.8 获取当前家电设备id #请求参数 N/A #接口调用示例 this.$bridge .getCurrentApplianceID() .then(res => { this.$alert(res) }) .catch(err => { this. 阅读全文
posted @ 2024-12-19 09:23 AtlasLapetos 阅读(3) 评论(0) 推荐(0) 编辑
getDeviceIconList 获取设备icon
摘要:getDeviceIconList ^8.8 获取设备icon #请求参数 Prop Type Default Comment deviceInfoList Array<Object> N/A 查询设备的数据,详细看下表 deviceInfoList子对象属性值: Prop Type Default 阅读全文
posted @ 2024-12-19 09:23 AtlasLapetos 阅读(3) 评论(0) 推荐(0) 编辑
toConfigDevice 获取配网指引并进入配网页面
摘要:toConfigDevice ^6.8 获取配网指引并进入配网页面 #请求参数 Prop Type Default Comment sn8 String N/A deviceType String N/A 设备类型,sn8 enterpriseCode String N/A 企业码 mode Str 阅读全文
posted @ 2024-12-19 09:23 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
getDeviceOTAUpgradeInfo 获取OTA升级信息
摘要:getDeviceOTAUpgradeInfo ^6.8 获取OTA升级信息 #请求参数 Prop Type Default Comment deviceIds Array N/A 家电id数组 #接口调用示例 const params = { deviceIds: JSON.stringify([ 阅读全文
posted @ 2024-12-19 09:23 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
getDeviceList 获取指定家庭指定房间的设备列表
摘要:getDeviceList ^6.8 获取指定家庭指定房间的设备列表 #请求参数 Prop Type Default Comment roomId String N/A 房间id familyId String N/A 家庭id ::: tips 可以都不指定,则表示所有家庭的所有设备,如果指定,则 阅读全文
posted @ 2024-12-19 09:23 AtlasLapetos 阅读(5) 评论(0) 推荐(0) 编辑
getDeviceConnectInfo 获取配网指引
摘要:getDeviceConnectInfo ^6.8 获取配网指引 #请求参数 Prop Type Default Comment deviceType String N/A 设备类型,sn8,mode配网模式 mode Number N/A 配网模式(0 AP、1 快连、3 蓝牙) sn8 Stri 阅读全文
posted @ 2024-12-19 09:23 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
checkDeviceOTAUpdate 检测设备OTA版本
摘要:checkDeviceOTAUpdate ^6.8 检测设备OTA版本 #请求参数 Prop Type Default Comment deviceIds Array N/A JSON数组字符串 #接口调用示例 const params = { deviceIds: ['1221'], //家电Id 阅读全文
posted @ 2024-12-19 09:23 AtlasLapetos 阅读(7) 评论(0) 推荐(0) 编辑
addDevice 根据配网指引数据配网
摘要:addDevice ^6.8 根据配网指引数据配网 #请求参数 Prop Type Default Comment data Object N/A data 对象属性 Prop Type Default Comment mode String N/A category String N/A #接口调 阅读全文
posted @ 2024-12-19 09:23 AtlasLapetos 阅读(3) 评论(0) 推荐(0) 编辑
luaQueryJson
摘要:luaQueryJson ^8.0 lua查询家电情况 #请求参数 Prop Type Default Comment params Object N/A 查询/控制参数 applianceId String N/A 设备id #接口调用示例 const params = { params: {}, 阅读全文
posted @ 2024-12-19 09:23 AtlasLapetos 阅读(4) 评论(0) 推荐(0) 编辑
luaQuery
摘要:luaQuery ^8.0 lua查询家电情况 #请求参数 Prop Type Default Comment params Object N/A 查询/控制参数 name String N/A mock Data文件名,于dummy文件夹下,通过name匹配相应模拟数据文件 mode Number 阅读全文
posted @ 2024-12-18 09:27 AtlasLapetos 阅读(1) 评论(0) 推荐(0) 编辑
luaControl
摘要:luaControl ^8.0 lua控制家 #请求参数 Prop Type Default Comment params Object N/A 查询/控制参数 applianceId String N/A 设备id mode String N/A lua发送类型:0:优先局域网发送,不在局域网则广 阅读全文
posted @ 2024-12-18 09:27 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示