MIOT HomeMIOT Home
MG人体存在传感器V2(BLE)
#ms2021.sensor_occupy.mg

MG人体存在传感器V2(BLE)

urn:miot-spec-v2:device:occupancy-sensor:0000A0BF:ms2021-mg:1
语言
Service tree
存在传感器
#2 · occupancy-sensor
属性 4

Properties

触发有人有效距离
#1 · detection-distance
格式
uint8
读写
1 ~ 5,步长 1
无人判定时长
#2 · no-one-determine-time
格式
uint16
读写
0 ~ 10000,步长 1
光照度
#1005 · illumination
格式
float
读写
N / R
0 ~ 12000,步长 1
有人无人状态(0为无人,非0为有人)
#1096 · occupancy-status
格式
uint32
读写
N / R
0无人
1有人
BLE专用自定义服务(ble专用,事件参数总长度不能超过9字节)
#4 · customized-service-for-ble
属性 3事件 1

Properties

保持有人灵敏度
#1 · customized-argument-1
格式
uint32
读写
0 ~ 2,步长 1
触发有人灵敏度
#2 · customized-argument-2
格式
uint32
读写
0 ~ 2,步长 1
自定义属性2
#1019 · customized-property-2
格式
uint8
读写
N / R
0有人存在2分钟
1有人存在5分钟
2有人存在10分钟
3无人存在2分钟
4无人存在5分钟
5无人存在10分钟
6有人存在30分钟
7无人存在30分钟

Events

有人无人存在情况
#1096 · customized-event-4
触发参数
#1019自定义属性2uint8
设置
#6 · set
属性 1动作 1事件 1

Properties

光照阈值设置
#1 · light-threshold
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1

Actions

恢复出厂设置
#2 · reset

Events

恢复出厂成功
#1 · reset-success
自学习
#7 · learn
属性 4事件 1

Properties

底噪数据
#1 · noise
格式
string
读写
阈值数据
#2 · threshold
格式
string
读写
命令控制
#3 · ctrl
格式
uint32
读写
0 ~ 4294967295,步长 1
自学习参数上报
#4 · data
格式
uint32
读写
0 ~ 4294967295,步长 1

Events

自学习状态
#1 · ok
触发参数
#4自学习参数上报uint32