说明
针对扫地机器人这些交互复杂的品类,物模型协议的定义往往更加复杂。
在云云对接小米IoT平台的过程中,我们发现小米IoT平台同样采用了物模型通讯协议来支撑接入到米家App的所有设备的通讯交互。
截止21年Q2 小米IoT平台已是全国最大的IoT平台,目前已连接了3.75亿台设备,拥有5件IoT设备用户数达740万,我们的主要竞品石头科技产品也均直连对接了小米IoT平台。
因此部分内容具有一定程度的借鉴意义,以下是小米IoT平台内对于扫地机器人标准物模型:
标准物模型:是米家对一系列设备的功能进行提取、分组、定义、抽象而成的功能,开发者可直接取用,平台已为190+品类预置了标准Spec功能,品类之间可互相借鉴标准功能。小米小爱音箱也是基于此进行设备控制垂类话术的意图训练 和 NLP逻辑处理。
与云鲸IoT平台物模型在概念上存在一些区别,具体如下:
小米IoT | 云鲸IoT |
---|---|
功能定义 | 物模型 |
服务 | 模块 |
属性 | 属性 |
事件 | 事件 |
方法 | 行为 |
模块列表
小米IoT平台“服务”等同于云鲸IoT平台的模块。具体如下:
模块ID | 模块描述 |
---|---|
device-information | 设备信息 |
vacuum | 扫地机 |
alarm | 提示音 |
physical-controls-locked | 物理控制锁(童锁) |
identify | 设备确认 |
sterilizer-module | 除菌模块 |
sensor-clean-alert | 清理传感器提醒 |
mop | 拖布 |
vacuum-map | 清洁地图 |
no-disturb | 勿扰 |
battery | 电池 |
voice-management | 语音管理 |
device-information:设备信息
属性
piid | 属性名称 / 描述 | 属性备注 | 权限 | 格式 | 单位 | 值 | 必选功能 |
---|---|---|---|---|---|---|---|
1 | manufacturer / Device Manufacturer | 读 | string | 无 | - | 是 | |
2 | model / Device Model | 读 | string | 无 | - | 是 | |
3 | serial-number / Device ID | 设备ID | 读 | string | 无 | - | 是 |
4 | firmware-revision / Current Firmware Version | 读 | string | 无 | - | 是 | |
5 | serial-no / Serial Number | SN码 | 读上报 | string | 无 | - | 否 |
vacuum:扫地机
属性
piid | 属性名称 / 描述 | 属性备注 | 权限 | 格式 | 单位 | 值 | 必选功能 |
---|---|---|---|---|---|---|---|
1 | vacuum-frameware-version / Vacuum Frameware Version | 扫地机额外固件版本信息 | 读上报 | string | 无 | - | 否 |
2 | status / Status | 工作状态 | 读上报 | uint8 | 无 | 1: Idle 2: Busy 3: Delay |
否 |
3 | fault / Device Fault | 故障 | 读上报 | uint8 | 无 | 0: No Faults | 否 |
4 | sweep-mop-type / Sweep Mop Type | 清扫形态 | 读写上报 | uint8 | 无 | 1: Sweep 2: Mop 3: Sweep Mop 4: Sweep Before Mopping |
否 |
5 | sweep-type / Sweep Type | 清扫方式 | 读写上报 | uint8 | 无 | 1: Global 2: Zone 3: Area 4: Edge 5: Costum 6: Point 7: Custom Area |
否 |
6 | cleaning-area / Cleaning Area | 当前清扫面积(单位0.01平方米) | 读上报 | uint32 | 无 | 最小值: 0 最大值: 4294967295 步长: 1 |
否 |
7 | cleaning-time / Cleaning Time | 当前清扫时长 | 读上报 | uint32 | 秒 | 最小值: 0 最大值: 4294967295 步长: 1 |
否 |
8 | clean-times / Clean Times | 清扫次数 | 读写上报 | uint8 | 无 | 1: One Time 2: Two Time 3: Three Time |
否 |
9 | mode / Mode | 模式 | 读写上报 | uint8 | 无 | 0: Auto | 否 |
10 | mop-water-output-level / Mop Water Output Level | 拖布出水量 | 读写上报 | uint8 | 无 | 0: Off 1: Level1 2: Level2 3: Level3 |
否 |
11 | mop-status / Mop Status | 拖布状态 | 读上报 | bool | 无 | - | 否 |
12 | zone-ids / Zone IDs | 划区id | 读上报 | string | 无 | - | 否 |
13 | restricted-sweep-areas / Restricted Sweep Areas | 扫地禁区 | 读写上报 | string | 无 | - | 否 |
14 | restricted-walls / Restricted Walls | 虚拟墙 | 读写上报 | string | 无 | - | 否 |
15 | vacuum-room-ids / Vacuum Room IDs | 地图房间id参数(与米家房间无关) | string | 无 | - | 否 | |
16 | room-information / Room Information | 房间信息 | 读上报 | string | 无 | - | 否 |
17 | last-clean-time / Last Clean Time | 上次清扫时间 | 上报读 | uint32 | 无 | 最小值: 0 最大值: 4294967295 步长: 1 |
否 |
18 | base-station-working-status / Base Station Working Status | 基站工作状态 | 读上报写 | string | 无 | - | 否 |
19 | order-clean / Order Clean | 预约清扫 | 读写上报 | string | 无 | - | 否 |
20 | carpet-boost / Carpet Boost | 地毯增压模式 | 读写上报 | bool | 无 | - | 否 |
21 | carpet-avoidance / Carpet Avoidance | 地毯避让 | 读上报写 | bool | 无 | - | 否 |
22 | carpet-display / Carpet Display | 地毯显示 | 读写上报 | bool | 无 | - | 否 |
23 | sweep-break-switch / Sweep Break Switch | 断点续扫开关 | 读写上报 | bool | 无 | - | 否 |
24 | common-params / Common Params | 共用传参属性 | string | 无 | - | 否 | |
25 | sleep-status / Sleep Status | 休眠状态 | 读上报 | bool | 无 | - | 否 |
26 | location-status / Location Status | 定位状态 | 读上报 | bool | 无 | - | 否 |
27 | map-complete-dialog / Map Complete Dialog | 建图完成弹窗 | 读上报写 | bool | 无 | - | 否 |
28 | enable-mop-wash / Enable Mop Wash | 回洗拖布 | 读写上报 | bool | 无 | - | 否 |
29 | frequency-mop-wash / Frequency Mop Wash | 回洗频率 | 读写上报 | uint8 | 无 | 0: By Room 1: By Area |
否 |
30 | water-output-for-washing-mop / Water Output For Washing Mop | 洗拖布出水量 | 读写上报 | uint8 | 无 | 0: Deep 1: Daily 2: Save Water |
否 |
31 | drying-time / Drying Time | 烘干时长 | 读写上报 | uint8 | 分钟 | 最小值: 0 最大值: 120 步长: 30 |
否 |
32 | auto-dust-arrest / Auto Dust Arrest | 自动集尘 | 读写上报 | bool | 无 | - | 否 |
33 | dust-arrest-frequency / Dust Arrest Frequency | 集尘频率 | 读写上报 | uint8 | 无 | 0: Once 1: Twice 2: Triple |
否 |
34 | auto-mop-dry / Auto Mop Dry | 自动烘干拖布 | 读写上报 | bool | 无 | - | 否 |
35 | auto-water-change / Auto Water Change | 自动上下水 | 读写上报 | bool | 无 | - | 否 |
36 | use-detergent / Use Detergent | 使用清洁剂 | 读写上报 | bool | 无 | - | 否 |
37 | ai-cleaning / AI Cleaning | AI感知清洁 | 读写上报 | bool | 无 | - | 否 |
38 | exit-remote-dialog / Exit Remote Dialog | 退出遥控模式弹窗 | 读写上报 | bool | 无 | - | 否 |
39 | button-type / Button Type | 按键类型 | uint8 | 无 | 1: Left Button 2: Right Button 3: Middle Button 4: Left And Right Button |
否 | |
40 | current-cleaning-config / Current Cleaning Config | 当前清扫设置(区域) | 读写上报 | string | 无 | - | 否 |
41 | hot-water-mop-wash / Hot Water Mop Wash | 热水洗拖布 | 读写上报 | bool | 无 | - | 否 |
42 | user-define-sweep-cfg / User Define Sweep Cfg | 自定义清扫 | 读上报 | string | 无 | - | 否 |
43 | user-define-sweep-id / User Define Sweep Id | 当前自定义清扫ID | 读上报 | uint16 | 无 | 最小值: 0 最大值: 65535 步长: 1 |
否 |
44 | mop-auto-lift / Mop Auto Lift | 拖布自动抬升 | 读写上报 | bool | 无 | - | 否 |
45 | sweep-ai-detection / Sweep Ai Detection | 清扫AI识别 | 读写上报 | bool | 无 | - | 否 |
46 | dirt-detection / Dirt Detection | 脏污识别 | 读写上报 | bool | 无 | - | 否 |
47 | object-detection / Object Detection | 物体识别 | 读写上报 | bool | 无 | - | 否 |
48 | room-detection / Room Detection | 房间识别 | 读写上报 | bool | 无 | - | 否 |
49 | floor-material-detection / Floor Material Detection | 地板材质识别 | 读写上报 | bool | 无 | - | 否 |
50 | defecation-detection / Defecation Detection | 便便识别 | 读写上报 | uint8 | 无 | 0: Avoid 1: Stress Sweep |
否 |
51 | liquid-dirt-detection / Liquid Dirt Detection | 液体脏污识别 | 读写上报 | uint8 | 无 | 0: Avoid 1: Stress Sweep |
否 |
52 | solid-dirt-detection / Solid Dirt Detection | 固体脏污识别 | 读写上报 | uint8 | 无 | 0: Avoid 1: Stress Sweep |
否 |
53 | water-check-list / Water Check List | 上下水检测列表 | 读上报 | string | 无 | - | 否 |
54 | water-check-status / Water Check Status | 是否在检测上下水 | 读上报 | bool | 无 | - | 否 |
55 | edge-swing-tail-sweep / Edge Swing Tail Sweep | 沿边甩尾清扫 | 读写上报 | bool | 无 | - | 否 |
56 | mop-wash-left-time / Mop Wash Left Time | 洗拖布剩余时长 | 上报读 | uint16 | 秒 | 最小值: 0 最大值: 9999 步长: 1 |
否 |
57 | sweep-ai-object / Sweep Ai Object | 清扫AI物体 | 读写上报 | string | 无 | - | 否 |
58 | sweep-furniture / Sweep Furniture | 清扫家具 | 读写上报 | string | 无 | - | 否 |
59 | carpet-object / Carpet Object | 地毯 | 读写上报 | string | 无 | - | 否 |
60 | suction-level / Suction Level | 吸力 | 读写上报 | uint8 | 无 | 0: Silent 1: Basic 2: Strong 3: Full Speed |
否 |
61 | map-ids / Map Ids | 地图id列表 | 读上报 | string | 无 | - | 否 |
62 | dust-arrest-left-time / Dust Arrest Left Time | 集尘剩余时长 | 读上报 | uint16 | 秒 | 最小值: 0 最大值: 9999 步长: 1 |
否 |
63 | dry-left-time / Dry Left Time | 烘干剩余时长 | 读上报 | uint16 | 分钟 | 最小值: 0 最大值: 9999 步长: 1 |
否 |
64 | room-name / Room Name | 地图房间名参数 | string | 无 | - | 否 | |
65 | points / Points | 坐标点参数 | string | 无 | - | 否 | |
66 | restricted-mop-areas / Restricted Mop Areas | 拖地禁区 | 读写上报 | string | 无 | - | 否 |
67 | room-ids / Room IDs | 米家房间id参数 | string | 无 | - | 否 | |
68 | uv / UV | UV杀菌 | 读写上报 | bool | 无 | - | 否 |
69 | speed-level / Speed Level | 速度 | 读写上报 | uint8 | 无 | 1: Level1 | 否 |
70 | fan-level / Fan Level | 风机档位 | 读写上报 | uint8 | 无 | 0: Auto 1: Level1 |
否 |
71 | on / Switch Status | 开关 | 读写上报 | bool | 无 | - | 否 |
72 | mop-water-output-level-no-tank / Mop Water Output Level No Tank | 无水箱拖布出水量 | 读写上报 | uint8 | 无 | 0: Daily 1: Deep |
否 |
73 | detergent-self-delivery / Detergent Self Delivery | 清洁剂自投放 | 读写上报 | bool | 无 | - | 否 |
74 | frequency-mop-wash-no-tank / Frequency Mop Wash No Tank | 回洗频率(无水箱) | 读写上报 | uint8 | 无 | 0: Five Square Meters 1: Ten Square Meters |
否 |
75 | auto-water-change-installed / Auto Water Change Installed | 自动上下水是否已安装 | 读上报 | bool | 无 | - | 否 |
76 | cut-hair-config / Cut Hair Config | 割毛发开关 | 读写上报 | bool | 无 | - | 否 |
77 | frequency-cut-hair-config / Frequency Cut Hair Config | 割毛发频率 | 读写上报 | uint8 | 无 | 1: 1 2: 2 |
否 |
78 | vacuum-route / Vacuum Route | 扫地机路径 | string | 无 | - | 否 | |
79 | fault-ids / Fault Ids | 故障列表 | 读上报 | string | 无 | - | 否 |
80 | action-result / Action Result | 方法执行结果 | 读上报 | string | 无 | - | 否 |
81 | edge-sweep-frequency / Edge Sweep Frequency | 沿边清扫频率 | 读写上报 | uint8 | 无 | 1: Every Time 2: 7 Sweeps |
否 |
82 | ai-managed-cleaning / AI Managed Cleaning | AI托管清洁 | 读写上报 | bool | 无 | - | 否 |
83 | plugin-info-remind / Plugin Info Remind | 插件消息提醒 | 读写上报 | string | 无 | - | 否 |
事件
eiid | 事件名称 / 描述 | 事件备注 | 输出参数 | 必选功能 |
---|---|---|---|---|
1 | build-map-complete / Build Map Complete | 建图完成 | 否 | |
2 | sweep-complete / Sweep Complete | 清扫完成 | cleaning-time cleaning-area |
否 |
3 | dust-arrest-complete / Dust Arrest Complete | 集尘完成 | 否 | |
4 | mop-wash-complete / Mop Wash Complete | 洗拖布完成 | 否 | |
5 | dry-complete / Dry Complete | 烘干完成 | 否 | |
6 | eject-complete / Eject Complete | 出仓完成 | 否 | |
7 | call-clean-complete / Call Clean Complete | 召唤清洁完成 | 否 |
行为
aiid | 方法名称 / 描述 | 方法备注 | 输入参数 | 输出参数 | 必选功能 |
---|---|---|---|---|---|
1 | start-sweep / Start Sweep | 开始扫地 | 是 | ||
2 | stop-sweeping / Stop Sweeping | 停止清扫 | 是 | ||
3 | stop-and-gocharge / Stop And Gocharge | 停止并回充 | 否 | ||
4 | start-only-sweep / Start Only Sweep | 开始单扫地 | 否 | ||
5 | start-mop / Start Mop | 开始拖地 | 否 | ||
6 | start-sweep-mop / Start Sweep Mop | 开始扫拖 | 否 | ||
7 | pause-sweeping / Pause Sweeping | 暂停清扫 | 否 | ||
8 | continue-sweep / Continue Sweep | 继续清扫 | 否 | ||
9 | start-custom-sweep / Start Custom Sweep | 开始定制清扫 | 否 | ||
10 | get-zone-configs / Get Zone Configs | 获取区域信息 | zone-ids | points mode sweep-mop-type clean-times mop-water-output-level |
否 |
11 | get-room-configs / Get Room Configs | 获取房间信息 | vacuum-room-ids | room-name mode sweep-mop-type clean-times mop-water-output-level |
否 |
12 | set-zone / Set Zone | 设置划区 | points zone-ids |
否 | |
13 | set-room-clean-configs / Set Room Clean Configs | 设置房间清扫参数 | vacuum-room-ids mode sweep-mop-type clean-times mop-water-output-level |
否 | |
14 | split-room / Split Room | 分割房间 | points | 否 | |
15 | merge-rooms / Merge Rooms | 合并房间 | vacuum-room-ids | 否 | |
16 | start-vacuum-room-sweep / Start Vacuum Room Sweep | 开始选区清扫 | vacuum-room-ids | 否 | |
17 | start-build-map / Start Build Map | 开始建图 | 否 | ||
18 | start-dust-arrest / Start Dust Arrest | 开始集尘 | 否 | ||
19 | start-mop-wash / Start Mop Wash | 开始洗拖布 | 否 | ||
20 | start-dry / Start Dry | 开始烘干 | 否 | ||
21 | start-eject / Start Eject | 出仓 | 否 | ||
22 | start-call-clean / Start Call Clean | 召唤清洁 | 否 | ||
23 | add-order-clean / Add Order Clean | 新增预约清扫 | common-params | 否 | |
24 | modify-order-clean / Modify Order Clean | 修改预约清扫 | common-params | 否 | |
25 | delete-order-clean / Delete Order Clean | 删除预约清扫 | common-params | 否 | |
26 | remote-control / Remote Control | 遥控 | 否 | ||
27 | try-listen / Try Listen | 试听 | 否 | ||
28 | enter-remote / Enter Remote | 进入遥控 | 否 | ||
29 | exit-remote / Exit Remote | 退出遥控模式 | 否 | ||
30 | get-system-info / Get System Info | 获得systeminfo | 否 | ||
31 | stop-mop-wash / Stop Mop Wash | 停止洗拖布 | 否 | ||
32 | stop-dry / Stop Dry | 停止烘干 | 否 | ||
33 | continue-build-map / Continue Build Map | 继续建图 | 否 | ||
34 | stop-build-map-and-gocharge / Stop Build Map And Gocharge | 结束建图并回充 | 否 | ||
35 | pause-build-map / Pause Build Map | 暂停建图 | 否 | ||
36 | back-mop-wash / Back Mop Wash | 回洗拖布 | 否 | ||
37 | start-zone-sweep / Start Zone Sweep | 开始划区清扫 | zone-ids | 否 | |
38 | add-user-sweep-setting / Add User Sweep Setting | 添加自定义清扫 | user-define-sweep-cfg | common-params | 否 |
39 | del-user-sweep-setting / Del User Sweep Setting | 删除自定义清扫 | user-define-sweep-id | common-params | 否 |
40 | modify-user-sweep-setting / Modify User Sweep Setting | 修改自定义清扫 | user-define-sweep-cfg | common-params | 否 |
41 | user-define-sweep-set / User Define Sweep Set | 设置自定义 | user-define-sweep-cfg | common-params | 否 |
42 | start-user-define-sweep / Start User Define Sweep | 开始自定义清扫清扫 | user-define-sweep-id | 否 | |
43 | start-cut-hair / Start Cut Hair | 开始割毛发 | 否 | ||
44 | stop-cut-hair / Stop Cut Hair | 结束割毛发 | 否 | ||
45 | start-water-self-check / Start Water Self Check | 开始自动上下水自检 | 否 | ||
46 | cancel-water-self-check / Cancel Water Self Check | 取消自动上下水自检 | 否 | ||
47 | set-room-name / Set Room Name | 设置地图房间名称 | vacuum-room-ids room-name |
否 | |
48 | start-room-sweep / Start Room Sweep | 打扫房间 | room-ids | 否 | |
49 | get-vacuum-route / Get Vacuum Route | 获取扫地机路径 | vacuum-route | 否 |
alarm:提示音
属性
piid | 属性名称 / 描述 | 属性备注 | 权限 | 格式 | 单位 | 值 | 必选功能 |
---|---|---|---|---|---|---|---|
1 | alarm / Alarm | 提示音 | 读写上报 | bool | 无 | - | 是 |
2 | volume / Volume | 音量 | 读写上报 | uint8 | 百分比 | 最小值: 0最大值: 100步长: 1 | 否 |
3 | auto-alarm-off / Auto Alarm Off | 自动关闭提示音 | 读写上报 | bool | 无 | - | 否 |
physical-controls-locked:物理控制锁(童锁)
属性
piid | 属性名称 / 描述 | 属性备注 | 权限 | 格式 | 单位 | 值 | 必选功能 |
---|---|---|---|---|---|---|---|
1 | physical-controls-locked / Physical Control Locked | 物理控制锁 | 读写上报 | bool | 无 | - | 否 |
2 | current-physical-control-lock / Current Physical Control Lock | 物理控制锁状态 | 读上报 | bool | 无 | - | 否 |
3 | mode / Mode | 模式 | 读写上报 | uint8 | 无 | 0: Auto | 否 |
identify:设备确认
方法
aiid | 方法名称 / 描述 | 方法备注 | 输入参数 | 输出参数 | 功能类型 | 必选功能 |
---|---|---|---|---|---|---|
1 | identify / Identify | 设备响应 | 标准 | 是 |
sterilizer-module:除菌模块
属性
piid | 属性名称 / 描述 | 属性备注 | 权限 | 格式 | 单位 | 值 | 必选功能 |
---|---|---|---|---|---|---|---|
1 | sterilizer-module-life-level / Sterilizer Module Life Level | 除菌模块剩余寿命 | 读上报 | uint8 | 百分比 | 最小值: 0 最大值: 100 步长: 1 |
否 |
2 | sterilizer-module-left-time / Sterilizer Module Left Time | 除菌模块剩余时间 | 读上报 | uint16 | 小时 | 最小值: 0 最大值: 9999 步长: 1 |
否 |
行为
aiid | 方法名称 / 描述 | 方法备注 | 输入参数 | 输出参数 | 必选功能 |
---|---|---|---|---|---|
1 | reset-sterilizer-module-life / Reset Sterilizer Module Life | 重置除菌模块寿命 | 否 |
sensor-clean-alert:清理传感器提醒
属性
piid | 属性名称 / 描述 | 属性备注 | 权限 | 格式 | 单位 | 值 | 必选功能 |
---|---|---|---|---|---|---|---|
1 | sensor-clean-alert-life-level / Sensor Clean Alert Life Level | 传感器清理提醒剩余量 | 读上报 | uint8 | 百分比 | 最小值: 0最大值: 100步长: 1 | 否 |
2 | sensor-clean-alert-left-time / Sensor Clean Alert Left Time | 传感器清理提醒剩余时间 | 读上报 | uint16 | 小时 | 最小值: 0最大值: 9999步长: 1 | 否 |
行为
aiid | 方法名称 / 描述 | 方法备注 | 输入参数 | 输出参数 | 必选功能 |
---|---|---|---|---|---|
1 | reset-sensor-clean-alert-life / Reset Sensor Clean Alert Llife | 重置传感器清理提醒时间 | 否 |
mop:拖布
属性
piid | 属性名称 / 描述 | 属性备注 | 权限 | 格式 | 单位 | 值 | 必选功能 |
---|---|---|---|---|---|---|---|
1 | mop-life-level / Mop Life Level | 拖布剩余寿命 | 读上报 | uint8 | 百分比 | 最小值: 0 最大值: 100 步长: 1 |
否 |
2 | mop-left-time / Mop Left Time | 拖布剩余时间 | 上报读 | uint16 | 小时 | 最小值: 0 最大值: 9999 步长: 1 |
否 |
行为
aiid | 方法名称 / 描述 | 方法备注 | 输入参数 | 输出参数 | 必选功能 |
---|---|---|---|---|---|
1 | reset-mop-life / Reset Mop Life | 重置拖布寿命 | 否 |
vacuum-map:清洁地图
属性
piid | 属性名称 / 描述 | 属性备注 | 权限 | 格式 | 单位 | 值 | 必选功能 |
---|---|---|---|---|---|---|---|
1 | map-obj-name / Map Obj Name | 地图文件 | 读上报 | string | 无 | - | 否 |
2 | trajectory-obj-name / Trajectory Obj Name | 轨迹文件 | 读上报 | string | 无 | - | 否 |
3 | clean-record / Clean Record | 清扫记录 | 读写上报 | string | 无 | - | 否 |
4 | vacuum-position / Vacuum Position | 机器人当前位置 | 读上报 | string | 无 | - | 否 |
5 | map-management / Map Management | 地图管理 | 读写上报 | string | 无 | - | 否 |
6 | current-map-id / Current Map Id | 当前地图id | 读上报 | uint8 | 无 | 最小值: 0 最大值: 255 步长: 1 |
否 |
7 | carpet-obj-name / Carpet Obj Name | 地毯检测文件 | 读上报 | string | 无 | - | 否 |
8 | common-params / Common Params | 共用传参属性 | string | 无 | - | 否 | |
9 | map-3d-info / Map Three Dimensional Info | 3D 地图信息 | 读写上报 | string | 无 | - | 否 |
事件
eiid | 事件名称 / 描述 | 事件备注 | 输出参数 | 必选功能 |
---|---|---|---|---|
1 | map-notify / Map Notify | 地图更新 | 否 | |
2 | trajectory-notify / Trajectory Notify | 轨迹更新 | 否 |
行为
aiid | 方法名称 / 描述 | 方法备注 | 输入参数 | 输出参数 | 必选功能 |
---|---|---|---|---|---|
1 | clear-map / Clear Map | 清空地图 | 否 | ||
2 | delete-map / Delete Map | 删除地图 | 否 | ||
3 | set-map / Set Map | 设置地图 | 否 | ||
4 | save-map / Save Map | 保存地图 | 否 | ||
5 | auto-room-partition / Auto Room Partition | 自动分区 | 否 | ||
6 | set-map-name / Set Map Name | 设置地图名字 | 否 | ||
7 | update-properties-data / Update Properties Data | 更新属性 | 否 |
no-disturb:勿扰
属性
piid | 属性名称 / 描述 | 属性备注 | 权限 | 格式 | 单位 | 值 | 必选功能 |
---|---|---|---|---|---|---|---|
1 | no-disturb / No Disturb | 勿扰 | 读写上报 | bool | 无 | - | 否 |
2 | enable-time-period / Enable Time Period | 启用时间段(格式为:’00:00:00-00:00:00’) | 读写上报 | string | 无 | - | 否 |
3 | current-no-disturb / Current No Disturb | 当前勿扰状态 | 读上报 | bool | 无 | - | 否 |
battery:电池
属性
piid | 属性名称 / 描述 | 属性备注 | 权限 | 格式 | 单位 | 值 | 必选功能 |
---|---|---|---|---|---|---|---|
1 | battery-level / Battery Level | 电池电量 | 读上报 | uint8 | 百分比 | 最小值: 0 最大值: 100 步长: 1 |
是 |
2 | charging-state / Charging State | 电池充电状态 | 读上报 | uint8 | 无 | 1: Charging 2: Not Charging 3: Not Chargeable |
否 |
3 | voltage / Voltage | 电压 | 读上报 | uint16 | 无 | 最小值: 0 最大值: 65535 步长: 1 |
否 |
4 | status / Status | 工作状态 | 读上报 | uint8 | 无 | 1: Idle 2: Busy 3: Delay |
否 |
事件
iid | 事件名称 / 描述 | 事件备注 | 输出参数 | 必选功能 |
---|---|---|---|---|
1 | low-battery / Low Battery | 电量低 | 否 | |
2 | battery-status-change / Battery Status Change | 电池状态改变 | status | 否 |
行为
aiid | 方法名称 / 描述 | 方法备注 | 输入参数 | 输出参数 | 必选功能 |
---|---|---|---|---|---|
1 | start-charge / Start Charge | 开始充电 | 否 |
voice-management:语音管理
属性
piid | 属性名称 / 描述 | 属性备注 | 权限 | 格式 | 单位 | 值 | 必选功能 |
---|---|---|---|---|---|---|---|
1 | target-voice / Target Voice | 目标语音 | 读上报写 | string | 无 | - | 否 |
2 | cur-voice / Cur Voice | 当前语音 | 读上报 | string | 无 | - | 否 |
3 | download-status / Download Status | 下载状态 | 读上报 | uint8 | 无 | 0: Not Downloaded 1: Downloading |
否 |
4 | download-progress / Download Progress | 下载进度 | 读上报 | uint8 | 百分比 | 最小值: 0 最大值: 100 步长: 1 |
否 |
5 | voice-url / Voice Url | 语音包URL | string | 无 | - | 否 | |
6 | voice-mdfive / Voice Mdfive | 语音包md5 | string | 无 | - | 否 |
行为
aiid | 方法名称 / 描述 | 方法备注 | 输入参数 | 输出参数 | 必选功能 |
---|---|---|---|---|---|
1 | download-voice / Download Voice | 下载语音包 | target-voice voice-url voice-mdfive |
否 | |
2 | get-download-status / Get Download Status | 获取下载状态 | target-voice cur-voice download-status download-progress |
否 |
TSL
{
"type":"urn:miot-spec-v2:device:vacuum:0000A006:narwal-robot2:1",
"description":"Robot Cleaner",
"services":[
{
"iid":1,
"type":"urn:miot-spec-v2:service:device-information:00007801:narwal-robot2:1",
"description":"Device Information",
"properties":[
{
"iid":1,
"type":"urn:miot-spec-v2:property:manufacturer:00000001:narwal-robot2:1",
"description":"Device Manufacturer",
"format":"string",
"access":[
"read"
]
},
{
"iid":2,
"type":"urn:miot-spec-v2:property:model:00000002:narwal-robot2:1",
"description":"Device Model",
"format":"string",
"access":[
"read"
]
},
{
"iid":3,
"type":"urn:miot-spec-v2:property:serial-number:00000003:narwal-robot2:1",
"description":"Device ID",
"format":"string",
"access":[
"read"
]
},
{
"iid":4,
"type":"urn:miot-spec-v2:property:firmware-revision:00000005:narwal-robot2:1",
"description":"Current Firmware Version",
"format":"string",
"access":[
"read"
]
},
{
"iid":5,
"type":"urn:miot-spec-v2:property:serial-no:000000FF:narwal-robot2:1",
"description":"Serial Number",
"format":"string",
"access":[
"read",
"notify"
]
}
]
},
{
"iid":2,
"type":"urn:miot-spec-v2:service:vacuum:00007810:narwal-robot2:1",
"description":"Robot Cleaner",
"properties":[
{
"iid":1,
"type":"urn:miot-spec-v2:property:vacuum-frameware-version:0000026D:narwal-robot2:1",
"description":"Vacuum Frameware Version",
"format":"string",
"access":[
"read",
"notify"
]
},
{
"iid":2,
"type":"urn:miot-spec-v2:property:status:00000007:narwal-robot2:1",
"description":"Status",
"format":"uint8",
"access":[
"read",
"notify"
],
"value-list":[
{
"value":1,
"description":"Idle"
},
{
"value":2,
"description":"Busy"
},
{
"value":3,
"description":"Delay"
}
]
},
{
"iid":3,
"type":"urn:miot-spec-v2:property:fault:00000009:narwal-robot2:1",
"description":"Device Fault",
"format":"uint8",
"access":[
"read",
"notify"
],
"value-list":[
{
"value":0,
"description":"No Faults"
}
]
},
{
"iid":4,
"type":"urn:miot-spec-v2:property:sweep-mop-type:00000135:narwal-robot2:1",
"description":"Sweep Mop Type",
"format":"uint8",
"access":[
"read",
"write",
"notify"
],
"value-list":[
{
"value":1,
"description":"Sweep"
},
{
"value":2,
"description":"Mop"
},
{
"value":3,
"description":"Sweep Mop"
},
{
"value":4,
"description":"Sweep Before Mopping"
}
]
},
{
"iid":5,
"type":"urn:miot-spec-v2:property:sweep-type:000000D3:narwal-robot2:1",
"description":"Sweep Type",
"format":"uint8",
"access":[
"read",
"write",
"notify"
],
"value-list":[
{
"value":1,
"description":"Global"
},
{
"value":2,
"description":"Zone"
},
{
"value":3,
"description":"Area"
},
{
"value":4,
"description":"Edge"
},
{
"value":5,
"description":"Costum"
},
{
"value":6,
"description":"Point"
},
{
"value":7,
"description":"Custom Area"
}
]
},
{
"iid":6,
"type":"urn:miot-spec-v2:property:cleaning-area:0000013A:narwal-robot2:1",
"description":"Cleaning Area",
"format":"uint32",
"access":[
"read",
"notify"
],
"value-range":[
0,
4294967295,
1
]
},
{
"iid":7,
"type":"urn:miot-spec-v2:property:cleaning-time:00000139:narwal-robot2:1",
"description":"Cleaning Time",
"format":"uint32",
"access":[
"read",
"notify"
],
"value-range":[
0,
4294967295,
1
],
"unit":"seconds"
},
{
"iid":8,
"type":"urn:miot-spec-v2:property:clean-times:00000136:narwal-robot2:1",
"description":"Clean Times",
"format":"uint8",
"access":[
"read",
"write",
"notify"
],
"value-list":[
{
"value":1,
"description":"One Time"
},
{
"value":2,
"description":"Two Time"
},
{
"value":3,
"description":"Three Time"
}
]
},
{
"iid":10,
"type":"urn:miot-spec-v2:property:mop-water-output-level:00000140:narwal-robot2:1",
"description":"Mop Water Output Level",
"format":"uint8",
"access":[
"read",
"write",
"notify"
],
"value-list":[
{
"value":0,
"description":"Off"
},
{
"value":1,
"description":"Level1"
},
{
"value":2,
"description":"Level2"
},
{
"value":3,
"description":"Level3"
}
]
},
{
"iid":11,
"type":"urn:miot-spec-v2:property:mop-status:0000026C:narwal-robot2:1",
"description":"Mop Status",
"format":"bool",
"access":[
"read",
"notify"
]
},
{
"iid":12,
"type":"urn:miot-spec-v2:property:zone-ids:00000137:narwal-robot2:1",
"description":"Zone IDs",
"format":"string",
"access":[
"read",
"notify"
]
},
{
"iid":13,
"type":"urn:miot-spec-v2:property:restricted-sweep-areas:0000013B:narwal-robot2:1",
"description":"Restricted Sweep Areas",
"format":"string",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":14,
"type":"urn:miot-spec-v2:property:restricted-walls:0000013D:narwal-robot2:1",
"description":"Restricted Walls",
"format":"string",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":15,
"type":"urn:miot-spec-v2:property:vacuum-room-ids:0000013E:narwal-robot2:1",
"description":"Vacuum Room IDs",
"format":"string",
"access":[
]
},
{
"iid":16,
"type":"urn:miot-spec-v2:property:room-information:0000026B:narwal-robot2:1",
"description":"Room Information",
"format":"string",
"access":[
"read",
"notify"
]
},
{
"iid":17,
"type":"urn:miot-spec-v2:property:last-clean-time:00000280:narwal-robot2:1",
"description":"Last Clean Time",
"format":"uint32",
"access":[
"notify",
"read"
],
"value-range":[
0,
4294967295,
1
]
},
{
"iid":18,
"type":"urn:miot-spec-v2:property:base-station-working-status:00000281:narwal-robot2:1",
"description":"Base Station Working Status",
"format":"string",
"access":[
"read",
"notify",
"write"
]
},
{
"iid":19,
"type":"urn:miot-spec-v2:property:order-clean:0000027C:narwal-robot2:1",
"description":"Order Clean",
"format":"string",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":20,
"type":"urn:miot-spec-v2:property:carpet-boost:0000026E:narwal-robot2:1",
"description":"Carpet Boost",
"format":"bool",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":21,
"type":"urn:miot-spec-v2:property:carpet-avoidance:0000026F:narwal-robot2:1",
"description":"Carpet Avoidance",
"format":"bool",
"access":[
"read",
"notify",
"write"
]
},
{
"iid":22,
"type":"urn:miot-spec-v2:property:carpet-display:00000270:narwal-robot2:1",
"description":"Carpet Display",
"format":"bool",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":23,
"type":"urn:miot-spec-v2:property:sweep-break-switch:00000271:narwal-robot2:1",
"description":"Sweep Break Switch",
"format":"bool",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":24,
"type":"urn:miot-spec-v2:property:common-params:00000278:narwal-robot2:1",
"description":"Common Params",
"format":"string",
"access":[
]
},
{
"iid":25,
"type":"urn:miot-spec-v2:property:sleep-status:000002BE:narwal-robot2:1",
"description":"Sleep Status",
"format":"bool",
"access":[
"read",
"notify"
]
},
{
"iid":26,
"type":"urn:miot-spec-v2:property:location-status:000002BD:narwal-robot2:1",
"description":"Location Status",
"format":"bool",
"access":[
"read",
"notify"
]
},
{
"iid":27,
"type":"urn:miot-spec-v2:property:map-complete-dialog:000002BF:narwal-robot2:1",
"description":"Map Complete Dialog",
"format":"bool",
"access":[
"read",
"notify",
"write"
]
},
{
"iid":28,
"type":"urn:miot-spec-v2:property:enable-mop-wash:000002C0:narwal-robot2:1",
"description":"Enable Mop Wash",
"format":"bool",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":29,
"type":"urn:miot-spec-v2:property:frequency-mop-wash:000002C1:narwal-robot2:1",
"description":"Frequency Mop Wash",
"format":"uint8",
"access":[
"read",
"write",
"notify"
],
"value-list":[
{
"value":0,
"description":"By Room"
},
{
"value":1,
"description":"By Area"
}
]
},
{
"iid":30,
"type":"urn:miot-spec-v2:property:water-output-for-washing-mop:000002C2:narwal-robot2:1",
"description":"Water Output For Washing Mop",
"format":"uint8",
"access":[
"read",
"write",
"notify"
],
"value-list":[
{
"value":0,
"description":"Deep"
},
{
"value":1,
"description":"Daily"
},
{
"value":2,
"description":"Save Water"
}
]
},
{
"iid":31,
"type":"urn:miot-spec-v2:property:drying-time:0000006A:narwal-robot2:1",
"description":"Drying Time",
"format":"uint8",
"access":[
"read",
"write",
"notify"
],
"value-range":[
0,
120,
30
],
"unit":"minutes"
},
{
"iid":32,
"type":"urn:miot-spec-v2:property:auto-dust-arrest:000002CB:narwal-robot2:1",
"description":"Auto Dust Arrest",
"format":"bool",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":33,
"type":"urn:miot-spec-v2:property:dust-arrest-frequency:000002CA:narwal-robot2:1",
"description":"Dust Arrest Frequency",
"format":"uint8",
"access":[
"read",
"write",
"notify"
],
"value-list":[
{
"value":0,
"description":"Once"
},
{
"value":1,
"description":"Twice"
},
{
"value":2,
"description":"Triple"
}
]
},
{
"iid":34,
"type":"urn:miot-spec-v2:property:auto-mop-dry:000002C5:narwal-robot2:1",
"description":"Auto Mop Dry",
"format":"bool",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":35,
"type":"urn:miot-spec-v2:property:auto-water-change:000002C6:narwal-robot2:1",
"description":"Auto Water Change",
"format":"bool",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":36,
"type":"urn:miot-spec-v2:property:use-detergent:000002C7:narwal-robot2:1",
"description":"Use Detergent",
"format":"bool",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":37,
"type":"urn:miot-spec-v2:property:ai-cleaning:000002C8:narwal-robot2:1",
"description":"AI Cleaning",
"format":"bool",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":38,
"type":"urn:miot-spec-v2:property:exit-remote-dialog:000002E0:narwal-robot2:1",
"description":"Exit Remote Dialog",
"format":"bool",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":39,
"type":"urn:miot-spec-v2:property:button-type:0000011F:narwal-robot2:1",
"description":"Button Type",
"format":"uint8",
"access":[
],
"value-list":[
{
"value":1,
"description":"Left Button"
},
{
"value":2,
"description":"Right Button"
},
{
"value":3,
"description":"Middle Button"
},
{
"value":4,
"description":"Left And Right Button"
}
]
},
{
"iid":40,
"type":"urn:miot-spec-v2:property:current-cleaning-config:000002ED:narwal-robot2:1",
"description":"Current Cleaning Config",
"format":"string",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":41,
"type":"urn:miot-spec-v2:property:hot-water-mop-wash:000002FC:narwal-robot2:1",
"description":"Hot Water Mop Wash",
"format":"bool",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":42,
"type":"urn:miot-spec-v2:property:user-define-sweep-cfg:000002FD:narwal-robot2:1",
"description":"User Define Sweep Cfg",
"format":"string",
"access":[
"read",
"notify"
]
},
{
"iid":43,
"type":"urn:miot-spec-v2:property:user-define-sweep-id:000002FE:narwal-robot2:1",
"description":"User Define Sweep Id",
"format":"uint16",
"access":[
"read",
"notify"
],
"value-range":[
0,
65535,
1
]
},
{
"iid":44,
"type":"urn:miot-spec-v2:property:mop-auto-lift:000002FF:narwal-robot2:1",
"description":"Mop Auto Lift",
"format":"bool",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":45,
"type":"urn:miot-spec-v2:property:sweep-ai-detection:00000304:narwal-robot2:1",
"description":"Sweep Ai Detection",
"format":"bool",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":46,
"type":"urn:miot-spec-v2:property:dirt-detection:00000305:narwal-robot2:1",
"description":"Dirt Detection",
"format":"bool",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":47,
"type":"urn:miot-spec-v2:property:object-detection:00000306:narwal-robot2:1",
"description":"Object Detection",
"format":"bool",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":48,
"type":"urn:miot-spec-v2:property:room-detection:0000030B:narwal-robot2:1",
"description":"Room Detection",
"format":"bool",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":49,
"type":"urn:miot-spec-v2:property:floor-material-detection:00000307:narwal-robot2:1",
"description":"Floor Material Detection",
"format":"bool",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":50,
"type":"urn:miot-spec-v2:property:defecation-detection:00000308:narwal-robot2:1",
"description":"Defecation Detection",
"format":"uint8",
"access":[
"read",
"write",
"notify"
],
"value-list":[
{
"value":0,
"description":"Avoid"
},
{
"value":1,
"description":"Stress Sweep"
}
]
},
{
"iid":51,
"type":"urn:miot-spec-v2:property:liquid-dirt-detection:00000309:narwal-robot2:1",
"description":"Liquid Dirt Detection",
"format":"uint8",
"access":[
"read",
"write",
"notify"
],
"value-list":[
{
"value":0,
"description":"Avoid"
},
{
"value":1,
"description":"Stress Sweep"
}
]
},
{
"iid":52,
"type":"urn:miot-spec-v2:property:solid-dirt-detection:0000030A:narwal-robot2:1",
"description":"Solid Dirt Detection",
"format":"uint8",
"access":[
"read",
"write",
"notify"
],
"value-list":[
{
"value":0,
"description":"Avoid"
},
{
"value":1,
"description":"Stress Sweep"
}
]
},
{
"iid":53,
"type":"urn:miot-spec-v2:property:water-check-list:00000320:narwal-robot2:1",
"description":"Water Check List",
"format":"string",
"access":[
"read",
"notify"
]
},
{
"iid":54,
"type":"urn:miot-spec-v2:property:water-check-status:00000321:narwal-robot2:1",
"description":"Water Check Status",
"format":"bool",
"access":[
"read",
"notify"
]
},
{
"iid":55,
"type":"urn:miot-spec-v2:property:edge-swing-tail-sweep:00000322:narwal-robot2:1",
"description":"Edge Swing Tail Sweep",
"format":"bool",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":56,
"type":"urn:miot-spec-v2:property:mop-wash-left-time:00000173:narwal-robot2:1",
"description":"Mop Wash Left Time",
"format":"uint16",
"access":[
"notify",
"read"
],
"value-range":[
0,
9999,
1
],
"unit":"seconds"
},
{
"iid":57,
"type":"urn:miot-spec-v2:property:sweep-ai-object:00000324:narwal-robot2:1",
"description":"Sweep Ai Object",
"format":"string",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":58,
"type":"urn:miot-spec-v2:property:sweep-furniture:00000325:narwal-robot2:1",
"description":"Sweep Furniture",
"format":"string",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":59,
"type":"urn:miot-spec-v2:property:carpet-object:00000326:narwal-robot2:1",
"description":"Carpet Object",
"format":"string",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":60,
"type":"urn:miot-spec-v2:property:suction-level:00000134:narwal-robot2:1",
"description":"Suction Level",
"format":"uint8",
"access":[
"read",
"write",
"notify"
],
"value-list":[
{
"value":0,
"description":"Silent"
},
{
"value":1,
"description":"Basic"
},
{
"value":2,
"description":"Strong"
},
{
"value":3,
"description":"Full Speed"
}
]
},
{
"iid":61,
"type":"urn:miot-spec-v2:property:map-ids:000001D8:narwal-robot2:1",
"description":"Map Ids",
"format":"string",
"access":[
"read",
"notify"
]
},
{
"iid":62,
"type":"urn:miot-spec-v2:property:dust-arrest-left-time:00000172:narwal-robot2:1",
"description":"Dust Arrest Left Time",
"format":"uint16",
"access":[
"read",
"notify"
],
"value-range":[
0,
9999,
1
],
"unit":"seconds"
},
{
"iid":63,
"type":"urn:miot-spec-v2:property:dry-left-time:00000174:narwal-robot2:1",
"description":"Dry Left Time",
"format":"uint16",
"access":[
"read",
"notify"
],
"value-range":[
0,
9999,
1
],
"unit":"minutes"
},
{
"iid":64,
"type":"urn:miot-spec-v2:property:room-name:0000013F:narwal-robot2:1",
"description":"Room Name",
"format":"string",
"access":[
]
},
{
"iid":65,
"type":"urn:miot-spec-v2:property:points:00000138:narwal-robot2:1",
"description":"Points",
"format":"string",
"access":[
]
},
{
"iid":66,
"type":"urn:miot-spec-v2:property:restricted-mop-areas:0000013C:narwal-robot2:1",
"description":"Restricted Mop Areas",
"format":"string",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":67,
"type":"urn:miot-spec-v2:property:room-ids:00000073:narwal-robot2:1",
"description":"Room IDs",
"format":"string",
"access":[
]
},
{
"iid":68,
"type":"urn:miot-spec-v2:property:uv:00000029:narwal-robot2:1",
"description":"UV",
"format":"bool",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":69,
"type":"urn:miot-spec-v2:property:speed-level:00000023:narwal-robot2:1",
"description":"Speed Level",
"format":"uint8",
"access":[
"read",
"write",
"notify"
],
"value-list":[
{
"value":1,
"description":"Level1"
}
]
},
{
"iid":70,
"type":"urn:miot-spec-v2:property:fan-level:00000016:narwal-robot2:1",
"description":"Fan Level",
"format":"uint8",
"access":[
"read",
"write",
"notify"
],
"value-list":[
{
"value":0,
"description":"Auto"
},
{
"value":1,
"description":"Level1"
},
{
"value":2,
"description":"Level2"
}
],
"gatt-access":[
]
},
{
"iid":71,
"type":"urn:miot-spec-v2:property:on:00000006:narwal-robot2:1",
"description":"Switch Status",
"format":"bool",
"access":[
"read",
"write",
"notify"
]
}
],
"actions":[
{
"iid":1,
"type":"urn:miot-spec-v2:action:start-sweep:00002804:narwal-robot2:1",
"description":"Start Sweep",
"in":[
],
"out":[
]
},
{
"iid":2,
"type":"urn:miot-spec-v2:action:stop-sweeping:00002805:narwal-robot2:1",
"description":"Stop Sweeping",
"in":[
],
"out":[
]
},
{
"iid":3,
"type":"urn:miot-spec-v2:action:stop-and-gocharge:000028B4:narwal-robot2:1",
"description":"Stop And Gocharge",
"in":[
],
"out":[
]
},
{
"iid":4,
"type":"urn:miot-spec-v2:action:start-only-sweep:0000283A:narwal-robot2:1",
"description":"Start Only Sweep",
"in":[
],
"out":[
]
},
{
"iid":5,
"type":"urn:miot-spec-v2:action:start-mop:00002834:narwal-robot2:1",
"description":"Start Mop",
"in":[
],
"out":[
]
},
{
"iid":6,
"type":"urn:miot-spec-v2:action:start-sweep-mop:00002835:narwal-robot2:1",
"description":"Start Sweep Mop",
"in":[
],
"out":[
]
},
{
"iid":7,
"type":"urn:miot-spec-v2:action:pause-sweeping:00002863:narwal-robot2:1",
"description":"Pause Sweeping",
"in":[
],
"out":[
]
},
{
"iid":8,
"type":"urn:miot-spec-v2:action:continue-sweep:000028AA:narwal-robot2:1",
"description":"Continue Sweep",
"in":[
],
"out":[
]
},
{
"iid":14,
"type":"urn:miot-spec-v2:action:split-room:0000285C:narwal-robot2:1",
"description":"Split Room",
"in":[
65
],
"out":[
]
},
{
"iid":15,
"type":"urn:miot-spec-v2:action:merge-rooms:0000285B:narwal-robot2:1",
"description":"Merge Rooms",
"in":[
15
],
"out":[
]
},
{
"iid":16,
"type":"urn:miot-spec-v2:action:start-vacuum-room-sweep:00002856:narwal-robot2:1",
"description":"Start Vacuum Room Sweep",
"in":[
15
],
"out":[
]
},
{
"iid":17,
"type":"urn:miot-spec-v2:action:start-build-map:00002859:narwal-robot2:1",
"description":"Start Build Map",
"in":[
],
"out":[
]
},
{
"iid":18,
"type":"urn:miot-spec-v2:action:start-dust-arrest:00002873:narwal-robot2:1",
"description":"Start Dust Arrest",
"in":[
],
"out":[
]
},
{
"iid":19,
"type":"urn:miot-spec-v2:action:start-mop-wash:00002875:narwal-robot2:1",
"description":"Start Mop Wash",
"in":[
],
"out":[
]
},
{
"iid":20,
"type":"urn:miot-spec-v2:action:start-dry:00002877:narwal-robot2:1",
"description":"Start Dry",
"in":[
],
"out":[
]
},
{
"iid":21,
"type":"urn:miot-spec-v2:action:start-eject:00002879:narwal-robot2:1",
"description":"Start Eject",
"in":[
],
"out":[
]
},
{
"iid":22,
"type":"urn:miot-spec-v2:action:start-call-clean:0000287A:narwal-robot2:1",
"description":"Start Call Clean",
"in":[
],
"out":[
]
},
{
"iid":23,
"type":"urn:miot-spec-v2:action:add-order-clean:000028AC:narwal-robot2:1",
"description":"Add Order Clean",
"in":[
24
],
"out":[
]
},
{
"iid":24,
"type":"urn:miot-spec-v2:action:modify-order-clean:000028AD:narwal-robot2:1",
"description":"Modify Order Clean",
"in":[
24
],
"out":[
]
},
{
"iid":25,
"type":"urn:miot-spec-v2:action:delete-order-clean:000028AE:narwal-robot2:1",
"description":"Delete Order Clean",
"in":[
24
],
"out":[
]
},
{
"iid":26,
"type":"urn:miot-spec-v2:action:remote-control:000028AB:narwal-robot2:1",
"description":"Remote Control",
"in":[
],
"out":[
]
},
{
"iid":27,
"type":"urn:miot-spec-v2:action:try-listen:000028B0:narwal-robot2:1",
"description":"Try Listen",
"in":[
],
"out":[
]
},
{
"iid":28,
"type":"urn:miot-spec-v2:action:enter-remote:000028B3:narwal-robot2:1",
"description":"Enter Remote",
"in":[
],
"out":[
]
},
{
"iid":29,
"type":"urn:miot-spec-v2:action:exit-remote:000028B1:narwal-robot2:1",
"description":"Exit Remote",
"in":[
],
"out":[
]
},
{
"iid":30,
"type":"urn:miot-spec-v2:action:get-system-info:000028B2:narwal-robot2:1",
"description":"Get System Info",
"in":[
],
"out":[
]
},
{
"iid":31,
"type":"urn:miot-spec-v2:action:stop-mop-wash:00002876:narwal-robot2:1",
"description":"Stop Mop Wash",
"in":[
],
"out":[
]
},
{
"iid":32,
"type":"urn:miot-spec-v2:action:stop-dry:00002878:narwal-robot2:1",
"description":"Stop Dry",
"in":[
],
"out":[
]
},
{
"iid":33,
"type":"urn:miot-spec-v2:action:continue-build-map:000028BC:narwal-robot2:1",
"description":"Continue Build Map",
"in":[
],
"out":[
]
},
{
"iid":34,
"type":"urn:miot-spec-v2:action:stop-build-map-and-gocharge:000028BD:narwal-robot2:1",
"description":"Stop Build Map And Gocharge",
"in":[
],
"out":[
]
},
{
"iid":35,
"type":"urn:miot-spec-v2:action:pause-build-map:000028BE:narwal-robot2:1",
"description":"Pause Build Map",
"in":[
],
"out":[
]
},
{
"iid":36,
"type":"urn:miot-spec-v2:action:back-mop-wash:000028BF:narwal-robot2:1",
"description":"Back Mop Wash",
"in":[
],
"out":[
]
},
{
"iid":37,
"type":"urn:miot-spec-v2:action:start-zone-sweep:00002857:narwal-robot2:1",
"description":"Start Zone Sweep",
"in":[
12
],
"out":[
]
},
{
"iid":38,
"type":"urn:miot-spec-v2:action:add-user-sweep-setting:000028CB:narwal-robot2:1",
"description":"Add User Sweep Setting",
"in":[
42
],
"out":[
24
]
},
{
"iid":39,
"type":"urn:miot-spec-v2:action:del-user-sweep-setting:000028CA:narwal-robot2:1",
"description":"Del User Sweep Setting",
"in":[
43
],
"out":[
24
]
},
{
"iid":40,
"type":"urn:miot-spec-v2:action:modify-user-sweep-setting:000028CC:narwal-robot2:1",
"description":"Modify User Sweep Setting",
"in":[
42
],
"out":[
24
]
},
{
"iid":41,
"type":"urn:miot-spec-v2:action:user-define-sweep-set:000028CD:narwal-robot2:1",
"description":"User Define Sweep Set",
"in":[
42
],
"out":[
24
]
},
{
"iid":42,
"type":"urn:miot-spec-v2:action:start-user-define-sweep:000028CE:narwal-robot2:1",
"description":"Start User Define Sweep",
"in":[
43
],
"out":[
]
},
{
"iid":43,
"type":"urn:miot-spec-v2:action:start-cut-hair:000028CF:narwal-robot2:1",
"description":"Start Cut Hair",
"in":[
],
"out":[
]
},
{
"iid":44,
"type":"urn:miot-spec-v2:action:stop-cut-hair:000028D0:narwal-robot2:1",
"description":"Stop Cut Hair",
"in":[
],
"out":[
]
},
{
"iid":45,
"type":"urn:miot-spec-v2:action:start-water-self-check:000028D2:narwal-robot2:1",
"description":"Start Water Self Check",
"in":[
],
"out":[
]
},
{
"iid":46,
"type":"urn:miot-spec-v2:action:cancel-water-self-check:000028D3:narwal-robot2:1",
"description":"Cancel Water Self Check",
"in":[
],
"out":[
]
},
{
"iid":47,
"type":"urn:miot-spec-v2:action:set-room-name:00002858:narwal-robot2:1",
"description":"Set Room Name",
"in":[
15,
64
],
"out":[
]
},
{
"iid":48,
"type":"urn:miot-spec-v2:action:start-room-sweep:00002826:narwal-robot2:1",
"description":"Start Room Sweep",
"in":[
67
],
"out":[
]
}
],
"events":[
{
"iid":1,
"type":"urn:miot-spec-v2:event:build-map-complete:0000503B:narwal-robot2:1",
"description":"Build Map Complete",
"arguments":[
]
},
{
"iid":2,
"type":"urn:miot-spec-v2:event:sweep-complete:0000503A:narwal-robot2:1",
"description":"Sweep Complete",
"arguments":[
7,
6
]
},
{
"iid":3,
"type":"urn:miot-spec-v2:event:dust-arrest-complete:0000503D:narwal-robot2:1",
"description":"Dust Arrest Complete",
"arguments":[
]
},
{
"iid":4,
"type":"urn:miot-spec-v2:event:mop-wash-complete:0000503E:narwal-robot2:1",
"description":"Mop Wash Complete",
"arguments":[
]
},
{
"iid":5,
"type":"urn:miot-spec-v2:event:dry-complete:0000503F:narwal-robot2:1",
"description":"Dry Complete",
"arguments":[
]
},
{
"iid":6,
"type":"urn:miot-spec-v2:event:eject-complete:00005040:narwal-robot2:1",
"description":"Eject Complete",
"arguments":[
]
},
{
"iid":7,
"type":"urn:miot-spec-v2:event:call-clean-complete:00005041:narwal-robot2:1",
"description":"Call Clean Complete",
"arguments":[
]
}
]
},
{
"iid":3,
"type":"urn:miot-spec-v2:service:alarm:00007804:narwal-robot2:1",
"description":"Alarm",
"properties":[
{
"iid":1,
"type":"urn:miot-spec-v2:property:alarm:00000012:narwal-robot2:1",
"description":"Alarm",
"format":"bool",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":2,
"type":"urn:miot-spec-v2:property:volume:00000013:narwal-robot2:1",
"description":"Volume",
"format":"uint8",
"access":[
"read",
"write",
"notify"
],
"value-range":[
0,
100,
1
],
"unit":"percentage"
},
{
"iid":3,
"type":"urn:miot-spec-v2:property:auto-alarm-off:0000027E:narwal-robot2:1",
"description":"Auto Alarm Off",
"format":"bool",
"access":[
"read",
"write",
"notify"
]
}
]
},
{
"iid":4,
"type":"urn:miot-spec-v2:service:physical-controls-locked:00007807:narwal-robot2:1",
"description":"Physical Control Locked",
"properties":[
{
"iid":1,
"type":"urn:miot-spec-v2:property:physical-controls-locked:0000001D:narwal-robot2:1",
"description":"Physical Control Locked",
"format":"bool",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":2,
"type":"urn:miot-spec-v2:property:current-physical-control-lock:00000099:narwal-robot2:1",
"description":"Current Physical Control Lock",
"format":"bool",
"access":[
"read",
"notify"
]
},
{
"iid":3,
"type":"urn:miot-spec-v2:property:mode:00000008:narwal-robot2:1",
"description":"Mode",
"format":"uint8",
"access":[
"read",
"write",
"notify"
],
"value-list":[
{
"value":0,
"description":"Auto"
}
]
}
]
},
{
"iid":5,
"type":"urn:miot-spec-v2:service:identify:0000782C:narwal-robot2:1",
"description":"Identify",
"actions":[
{
"iid":1,
"type":"urn:miot-spec-v2:action:identify:00002801:narwal-robot2:1",
"description":"Identify",
"in":[
],
"out":[
]
}
]
},
{
"iid":6,
"type":"urn:miot-spec-v2:service:sterilizer-module:000078C4:narwal-robot2:1",
"description":"Sterilizer Module",
"properties":[
{
"iid":1,
"type":"urn:miot-spec-v2:property:sterilizer-module-life-level:00000179:narwal-robot2:1",
"description":"Sterilizer Module Life Level",
"format":"uint8",
"access":[
"read",
"notify"
],
"value-range":[
0,
100,
1
],
"unit":"percentage"
},
{
"iid":2,
"type":"urn:miot-spec-v2:property:sterilizer-module-left-time:0000017A:narwal-robot2:1",
"description":"Sterilizer Module Left Time",
"format":"uint16",
"access":[
"read",
"notify"
],
"value-range":[
0,
9999,
1
],
"unit":"hours"
}
],
"actions":[
{
"iid":1,
"type":"urn:miot-spec-v2:action:reset-sterilizer-module-life:0000287D:narwal-robot2:1",
"description":"Reset Sterilizer Module Life",
"in":[
],
"out":[
]
}
]
},
{
"iid":7,
"type":"urn:miot-spec-v2:service:sensor-clean-alert:000078C3:narwal-robot2:1",
"description":"Sensor Clean Alert",
"properties":[
{
"iid":1,
"type":"urn:miot-spec-v2:property:sensor-clean-alert-life-level:00000177:narwal-robot2:1",
"description":"Sensor Clean Alert Life Level",
"format":"uint8",
"access":[
"read",
"notify"
],
"value-range":[
0,
100,
1
],
"unit":"percentage"
},
{
"iid":2,
"type":"urn:miot-spec-v2:property:sensor-clean-alert-left-time:00000178:narwal-robot2:1",
"description":"Sensor Clean Alert Left Time",
"format":"uint16",
"access":[
"read",
"notify"
],
"value-range":[
0,
9999,
1
],
"unit":"hours"
}
],
"actions":[
{
"iid":1,
"type":"urn:miot-spec-v2:action:reset-sensor-clean-alert-life:0000287C:narwal-robot2:1",
"description":"Reset Sensor Clean Alert Llife",
"in":[
],
"out":[
]
}
]
},
{
"iid":8,
"type":"urn:miot-spec-v2:service:mop:000078C2:narwal-robot2:1",
"description":"Mop",
"properties":[
{
"iid":1,
"type":"urn:miot-spec-v2:property:mop-life-level:00000175:narwal-robot2:1",
"description":"Mop Life Level",
"format":"uint8",
"access":[
"read",
"notify"
],
"value-range":[
0,
100,
1
],
"unit":"percentage"
},
{
"iid":2,
"type":"urn:miot-spec-v2:property:mop-left-time:00000176:narwal-robot2:1",
"description":"Mop Left Time",
"format":"uint16",
"access":[
"notify",
"read"
],
"value-range":[
0,
9999,
1
],
"unit":"hours"
}
],
"actions":[
{
"iid":1,
"type":"urn:miot-spec-v2:action:reset-mop-life:0000287B:narwal-robot2:1",
"description":"Reset Mop Life",
"in":[
],
"out":[
]
}
]
},
{
"iid":9,
"type":"urn:miot-spec-v2:service:vacuum-map:000078E2:narwal-robot2:1",
"description":"Vacuum Map",
"properties":[
{
"iid":1,
"type":"urn:miot-spec-v2:property:map-obj-name:00000272:narwal-robot2:1",
"description":"Map Obj Name",
"format":"string",
"access":[
"read",
"notify"
]
},
{
"iid":2,
"type":"urn:miot-spec-v2:property:trajectory-obj-name:00000273:narwal-robot2:1",
"description":"Trajectory Obj Name",
"format":"string",
"access":[
"read",
"notify"
]
},
{
"iid":3,
"type":"urn:miot-spec-v2:property:clean-record:00000274:narwal-robot2:1",
"description":"Clean Record",
"format":"string",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":4,
"type":"urn:miot-spec-v2:property:vacuum-position:00000275:narwal-robot2:1",
"description":"Vacuum Position",
"format":"string",
"access":[
"read",
"notify"
]
},
{
"iid":5,
"type":"urn:miot-spec-v2:property:map-management:00000279:narwal-robot2:1",
"description":"Map Management",
"format":"string",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":6,
"type":"urn:miot-spec-v2:property:current-map-id:0000027A:narwal-robot2:1",
"description":"Current Map Id",
"format":"uint8",
"access":[
"read",
"notify"
],
"value-range":[
0,
255,
1
]
},
{
"iid":7,
"type":"urn:miot-spec-v2:property:carpet-obj-name:0000027B:narwal-robot2:1",
"description":"Carpet Obj Name",
"format":"string",
"access":[
"read",
"notify"
]
},
{
"iid":8,
"type":"urn:miot-spec-v2:property:common-params:00000278:narwal-robot2:1",
"description":"Common Params",
"format":"string",
"access":[
]
}
],
"actions":[
{
"iid":1,
"type":"urn:miot-spec-v2:action:clear-map:000028A5:narwal-robot2:1",
"description":"Clear Map",
"in":[
],
"out":[
]
},
{
"iid":2,
"type":"urn:miot-spec-v2:action:delete-map:0000285A:narwal-robot2:1",
"description":"Delete Map",
"in":[
],
"out":[
]
},
{
"iid":3,
"type":"urn:miot-spec-v2:action:set-map:000028A6:narwal-robot2:1",
"description":"Set Map",
"in":[
],
"out":[
]
},
{
"iid":4,
"type":"urn:miot-spec-v2:action:save-map:000028A7:narwal-robot2:1",
"description":"Save Map",
"in":[
],
"out":[
]
},
{
"iid":5,
"type":"urn:miot-spec-v2:action:auto-room-partition:000028A8:narwal-robot2:1",
"description":"Auto Room Partition",
"in":[
],
"out":[
]
},
{
"iid":6,
"type":"urn:miot-spec-v2:action:set-map-name:000028A9:narwal-robot2:1",
"description":"Set Map Name",
"in":[
],
"out":[
]
}
],
"events":[
{
"iid":1,
"type":"urn:miot-spec-v2:event:map-notify:0000506B:narwal-robot2:1",
"description":"Map Notify",
"arguments":[
]
},
{
"iid":2,
"type":"urn:miot-spec-v2:event:trajectory-notify:0000506C:narwal-robot2:1",
"description":"Trajectory Notify",
"arguments":[
]
}
]
},
{
"iid":10,
"type":"urn:miot-spec-v2:service:no-disturb:000078BC:narwal-robot2:1",
"description":"No Disturb",
"properties":[
{
"iid":1,
"type":"urn:miot-spec-v2:property:no-disturb:00000152:narwal-robot2:1",
"description":"No Disturb",
"format":"bool",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":2,
"type":"urn:miot-spec-v2:property:enable-time-period:00000153:narwal-robot2:1",
"description":"Enable Time Period",
"format":"string",
"access":[
"read",
"write",
"notify"
]
},
{
"iid":3,
"type":"urn:miot-spec-v2:property:current-no-disturb:00000300:narwal-robot2:1",
"description":"Current No Disturb",
"format":"bool",
"access":[
"read",
"notify"
]
}
]
}
]
}
创建时间:2023-09-05 17:30
最后编辑:陈勇琦 更新时间:2024-10-18 16:29
最后编辑:陈勇琦 更新时间:2024-10-18 16:29