MIOT HomeMIOT Home
小米人在传感器Pro
#xiaomi.sensor_occupy.p1

小米人在传感器Pro

urn:miot-spec-v2:device:occupancy-sensor:0000A0BF:xiaomi-p1:1
版本 v2 v1
语言
Service tree
传感器整体状态
#2 · occupancy-sensor
属性 4事件 1

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
光照度
#5 · illumination
格式
float
读写
R / N
0 ~ 1000,步长 1

Events

设备被重置
#1 · device-be-reset
A-1
#4 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
A-2
#5 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
A-3
#6 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
A-4
#7 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
A-5
#8 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
A-6
#9 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
A-7
#10 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
A-8
#11 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
A-9
#12 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
A-10
#13 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint16
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
A-11
#14 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
A-12
#15 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
A-13
#16 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
A-14
#17 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
A-15
#18 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
A-16
#19 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
B-1
#20 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
B-2
#21 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
B-3
#22 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
B-4
#23 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
B-5
#24 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
B-6
#25 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
B-7
#26 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
B-8
#27 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
B-9
#28 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
B-10
#29 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
B-11
#30 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
B-12
#31 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
B-13
#32 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
B-14
#33 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
B-15
#34 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
B-16
#35 · occupancy-sensor
属性 3

Properties

有人无人状态
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
有人持续时长【不支持,请使用极客版计时器】
#3 · has-someone-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
无人持续时长【不支持,请使用极客版计时器】
#4 · no-one-duration
格式
uint16
读写
R / N
0 ~ 36000,步长 1
指示灯
#36 · indicator-light
属性 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N
传感器配置
#3 · config-sensor
属性 11动作 6事件 1

Properties

安装方位
#1 · installation-method
格式
uint8
读写
R / W / N
0水平安装
1左45度
2右45度
3吸顶安装
生物侦测灵敏度
#2 · bio-sensitive
格式
uint8
读写
R / W / N
0 ~ 100,步长 1
当前使用的地图编号
#3 · use-map-number
格式
uint8
读写
R / W / N
1Map1
2Map2
是否镜像安装
#4 · installation-image
格式
bool
读写
R / W / N
跨区域响应速度
#5 · response-speed
格式
uint8
读写
R / W / N
0急速
1标准
2稳健
区域信息
#6 · zone-info
格式
string
读写
人体追踪信息
#7 · tracking-info
格式
string
读写
触发时间信息
#8 · trigger-timer-info
格式
string
读写
地图1名字
#9 · one-map-name
格式
string
读写
R / N / W
地图2名字
#10 · two-map-name
格式
string
读写
R / N / W
错误码
#11 · error-code
格式
uint8
读写
0 ~ 255,步长 1

Actions

重置无人状态
#1 · reset-occupy-state
获取区域列表
#2 · get-zone-list
入参
#6区域信息string
出参
#6区域信息string
区域地图操作
#3 · zone-opt
入参
#6区域信息string
出参
#6区域信息string
获取人体追踪信息
#4 · get-tracking-info
出参
#7人体追踪信息string
触发时间操作
#5 · trigger-timer-exec
入参
#8触发时间信息string
出参
#8触发时间信息string
删除地图
#6 · del-map
入参
#3当前使用的地图编号uint8

Events

错误码事件
#1 · error-code-event
触发参数
#11错误码uint8