MIOT
语言
Service tree
门锁#2 · lock属性 21动作 3事件 2
门锁
#2 · lock
Properties
异常情况
#1 · abnormal-condition
- 格式
- uint8
- 读写
- 值
- 0
操作方式
#2 · operation-method
- 格式
- uint8
- 读写
- 值
- 1BLE
操作ID
#3 · operation-id
- 格式
- uint16
- 读写
- 值
- 0 ~ 65535,步长 1
当前时间(unix timestamp)
#4 · current-time
- 格式
- uint32
- 读写
- 值
- 0 ~ 4294967295,步长 1
操作位置
#5 · operation-position
- 格式
- uint8
- 读写
- 值
- 1Indoor2Outdoor
锁动作
#6 · lock-action
- 格式
- uint8
- 读写
- 值
- 1Lock
反锁
#7 · anti-lock
- 格式
- bool
- 读写
- R / N / W
- 值
- —
配置物理按键功能
#8 · button-function
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Anti Lock1Child Lock2Anti Lock And Child Lock
双重验证
#9 · two-step-verification
- 格式
- bool
- 读写
- R / W / N
- 值
- —
离家模式
#10 · away-home-mode
- 格式
- bool
- 读写
- R / W / N
- 值
- —
童锁
#11 · child-lock
- 格式
- bool
- 读写
- R / W / N
- 值
- —
人脸开锁灵敏度
#12 · face-unlock-sensitivity
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Low1Middle2High
人脸开锁休眠时长
#13 · face-unlock-sleep-time
- 格式
- uint8
- 读写
- R / W / N
- 值
- 00 Seconds15 Seconds215 Seconds330 Seconds460 Seconds
门锁本地设置开关
#14 · door-lock-local-settings
- 格式
- bool
- 读写
- R / W / N
- 值
- —
管理员开反锁开关
#15 · turn-on-the-anti-lock-setting
- 格式
- bool
- 读写
- R / W / N
- 值
- —
重置验证开关
#16 · reset-with-verification-required-setting
- 格式
- bool
- 读写
- R / W / N
- 值
- —
人脸识别开锁开关
#17 · face-recognition-unlocking-switch
- 格式
- bool
- 读写
- R / W / N
- 值
- —
掌静脉识别开锁开关
#18 · palm-vein-recognition-unlocking-switch
- 格式
- bool
- 读写
- R / W / N
- 值
- —
触发方式
#19 · triggering-method
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Manual1Auto
门锁本地设置状态
#20 · door-lock-local-setting-status
- 格式
- bool
- 读写
- R / W / N
- 值
- —
低功耗设备Wi-Fi状态
#21 · low-power-device-wifi-status
- 格式
- uint8
- 读写
- R / N
- 值
- 0Unknown1Online2Sleep3Offline
Actions
蓝牙开锁
#1 · ble-unlock
蓝牙唤醒设备
#2 · ble-awake-dev
远程开锁
#3 · remote-unlocking
Events
发生异常
#1 · exception-occurred
触发参数
#1异常情况uint8#4当前时间(unix timestamp)uint32
锁事件
#2 · lock-event
触发参数
#6锁动作uint8#5操作位置uint8#2操作方式uint8#3操作IDuint16#4当前时间(unix timestamp)uint32
门#3 · door属性 4动作 1事件 2
门
#3 · door
Properties
门状态
#1 · door-state
- 格式
- uint8
- 读写
- R / N
- 值
- 1Open2Closed
当前时间(unix timestamp)
#2 · current-time
- 格式
- uint32
- 读写
- 值
- 0 ~ 4294967295,步长 1
电源供电方式
#3 · power-supply-mode
- 格式
- uint8
- 读写
- R / N
- 值
- 1Battery Powered2Mains Powered
障碍物状态
#4 · barrier-state
- 格式
- uint8
- 读写
- R / N
- 值
- 0None1Hit Barrier2Detect Barrier
Actions
远程关门
#1 · remote-close-door
Events
门事件
#1 · door-event
触发参数
#1门状态uint8
适配器电源事件
#2 · power-supply-event
触发参数
#3电源供电方式uint8#2当前时间(unix timestamp)uint32
电池#4 · battery属性 8动作 1事件 4
电池
#4 · battery
Properties
电池电量
#1 · battery-level
- 格式
- uint8
- 读写
- R / N
- 值
- 0 ~ 100,步长 1
电池充电状态
#2 · charging-state
- 格式
- uint8
- 读写
- R / N
- 值
- 1Charging2Not Charging3Not Chargeable
电压
#3 · voltage
- 格式
- uint16
- 读写
- R / N
- 值
- 0 ~ 65535,步长 1
工作状态
#4 · status
- 格式
- uint8
- 读写
- R / N
- 值
- 1Idle2Busy3Delay
充至指定电量
#5 · charge-progress
- 格式
- uint8
- 读写
- R / N
- 值
- 1 ~ 100,步长 1
降至指定电量
#6 · usage-progress
- 格式
- uint8
- 读写
- R / N
- 值
- 1 ~ 100,步长 1
ECO节能模式
#7 · eco
- 格式
- bool
- 读写
- R / W / N
- 值
- —
当前时间(unix timestamp)
#8 · current-time
- 格式
- uint32
- 读写
- 值
- 0 ~ 4294967295,步长 1
Actions
开始充电
#1 · start-charge
Events
电量低
#1 · low-battery
电池状态改变
#2 · battery-status-change
触发参数
#4工作状态uint8
电池耗尽
#3 · battery-run-out
充电通知
#4 · charging-notification
门铃#5 · doorbell属性 7事件 1
门铃
#5 · doorbell
Properties
开关
#1 · on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
工作状态
#2 · status
- 格式
- uint8
- 读写
- R / N
- 值
- 1Idle2Busy3Delay
故障
#3 · fault
- 格式
- uint8
- 读写
- R / N
- 值
- 0No Faults
铃声类型
#4 · ringtone
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1 ~ 5,步长 1
音量
#5 · volume
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0 ~ 100,步长 1
当前时间(unix timestamp)
#6 · current-time
- 格式
- uint32
- 读写
- 值
- 0 ~ 4294967295,步长 1
门铃灯开关
#7 · doorbell-light-on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
Events
门铃响了
#1 · doorbell-ring
触发参数
#6当前时间(unix timestamp)uint32
BLE专用自定义服务(ble专用,事件参数总长度不能超过9字节)#6 · customized-service-for-ble属性 12事件 6
BLE专用自定义服务(ble专用,事件参数总长度不能超过9字节)
#6 · customized-service-for-ble
Properties
自定义属性2
#1 · customized-property-2
- 格式
- uint8
- 读写
- R / N
- 值
- 1Default
自定义属性1
#2 · customized-property-1
- 格式
- uint8
- 读写
- R / N
- 值
- 0 ~ 255,步长 1
自定义参数1
#3 · customized-argument-1
- 格式
- uint8
- 读写
- 值
- 0 ~ 255,步长 1
自定义参数2
#4 · customized-argument-2
- 格式
- uint8
- 读写
- 值
- 1Default
自定义参数6(ble专用,事件参数总长度不能超过9字节)
#5 · customized-argument-6
- 格式
- uint8
- 读写
- 值
- 0 ~ 1,步长 1
自定义参数5(ble专用,事件参数总长度不能超过9字节)
#6 · customized-argument-5
- 格式
- uint8
- 读写
- 值
- 0 ~ 1,步长 1
自定义参数4(ble专用,事件参数总长度不能超过9字节)
#7 · customized-argument-4
- 格式
- uint8
- 读写
- 值
- 0 ~ 1,步长 1
自定义参数3(ble专用,事件参数总长度不能超过9字节)
#8 · customized-argument-3
- 格式
- uint8
- 读写
- 值
- 0 ~ 1,步长 1
自定义属性3
#9 · customized-property-3
- 格式
- int32
- 读写
- R / N
- 值
- -2147483647 ~ 2147483647,步长 1
自定义属性4
#10 · customized-property-4
- 格式
- int32
- 读写
- R / N
- 值
- 1 ~ 10,步长 1
自定义属性5
#11 · customized-property-5
- 格式
- int32
- 读写
- R / N
- 值
- 1 ~ 10,步长 1
自定义属性6
#12 · customized-property-6
- 格式
- int32
- 读写
- R / N
- 值
- 1 ~ 10,步长 1
Events
自定义事件1(ble专用,参数长度不能超过9字节)
#1 · customized-event-1
自定义事件2(ble专用,参数长度不能超过9字节)
#2 · customized-event-2
自定义事件3(ble专用,参数长度不能超过9字节)
#3 · customized-event-3
自定义事件4(ble专用,参数长度不能超过9字节)
#4 · customized-event-4
自定义事件5(ble专用,参数长度不能超过9字节)
#5 · customized-event-5
自定义事件6(ble专用,参数长度不能超过9字节)
#6 · customized-event-6
门锁历史记录#7 · lock-history属性 18动作 1事件 1
门锁历史记录
#7 · lock-history
Properties
锁事件历史数据上报
#1 · lock-history-data
- 格式
- int64
- 读写
- 值
- 0 ~ 1,步长 1
异常事件历史数据上报
#2 · abnormal-data
- 格式
- int64
- 读写
- 值
- 0 ~ 1,步长 1
门状态历史数据上报
#3 · door-data
- 格式
- int64
- 读写
- 值
- 0 ~ 1,步长 1
门铃事件历史数据上报
#4 · doorbell-data
- 格式
- int64
- 读写
- 值
- 0 ~ 1,步长 1
历史数据时间戳
#5 · history-time
- 格式
- uint32
- 读写
- 值
- 0 ~ 4294967295,步长 1
历史数据最新时间戳
#6 · last-history-time
- 格式
- uint32
- 读写
- 值
- 0 ~ 4294967295,步长 1
钥匙添加
#7 · user-key-add
- 格式
- int64
- 读写
- 值
- 0 ~ 4294967295,步长 1
钥匙删除
#8 · user-key-delete
- 格式
- int64
- 读写
- 值
- 0 ~ 4294967295,步长 1
用户添加
#9 · user-add
- 格式
- int64
- 读写
- 值
- 0 ~ 4294967295,步长 1
用户删除
#10 · user-delete
- 格式
- int64
- 读写
- 值
- 0 ~ 4294967295,步长 1
锁事件历史数据上报
#11 · lock-history-string
- 格式
- string
- 读写
- 值
- —
异常事件历史数据上报
#12 · abnormal-data-string
- 格式
- string
- 读写
- 值
- —
门状态历史数据上报
#13 · door-data-string
- 格式
- string
- 读写
- 值
- —
门铃事件历史数据上报
#14 · doorbell-data-string
- 格式
- string
- 读写
- 值
- —
钥匙添加
#15 · user-key-add-string
- 格式
- string
- 读写
- 值
- —
钥匙删除
#16 · user-key-delete-string
- 格式
- string
- 读写
- 值
- —
用户添加
#17 · user-add-string
- 格式
- string
- 读写
- 值
- —
用户删除
#18 · user-delete-string
- 格式
- string
- 读写
- 值
- —
Actions
触发历史记录上报操作
#1 · history-notify-action
Events
历史记录上报完成
#1 · history-notify-complete
触发参数
#6历史数据最新时间戳uint32
门锁管理#8 · lock-manage属性 10动作 8事件 9
门锁管理
#8 · lock-manage
Properties
用户id
#1 · user-ids
- 格式
- uint16
- 读写
- 值
- 0 ~ 65535,步长 1
用户类型
#2 · user-type
- 格式
- uint8
- 读写
- 值
- 0Owner1Manager2Normal User3Frequent Visitors4All Users5All Normal Users
错误码
#3 · error-code
- 格式
- uint16
- 读写
- 值
- 0Success1Received Command Successfully Executing2Internal Error3Not Found4Memory Full5Parameter Error6Timeout7Device Busy8Duplicate Parameter9Duplicate Credentials
当前时间(unix timestamp)
#4 · current-time
- 格式
- uint32
- 读写
- 值
- 0 ~ 4294967295,步长 1
凭据内容
#5 · credential
- 格式
- string
- 读写
- 值
- —
操作方式
#6 · operation-method
- 格式
- uint8
- 读写
- 值
- 1BLE
操作ID
#7 · operation-id
- 格式
- uint16
- 读写
- 值
- 0 ~ 65535,步长 1
凭据状态
#8 · credential-state
- 格式
- uint8
- 读写
- 值
- 0Success1Fail
当前要添加的凭据序号
#9 · credential-step-current
- 格式
- uint8
- 读写
- 值
- 0 ~ 255,步长 1
总凭据数量
#10 · credential-step-all
- 格式
- uint8
- 读写
- 值
- 0 ~ 255,步长 1
Actions
配置用户 (支持覆盖)
#1 · add-lock-user
删除用户
#2 · delete-lock-user
同步用户信息
#3 · sync-lock-user
添加开锁方式
#4 · add-unlock-method
入参
#1用户iduint16#6操作方式uint8#7操作IDuint16#5凭据内容string
取消添加
#5 · cancel-unlock-method
删除开锁方式
#6 · delete-unlock-method
入参
#1用户iduint16#7操作IDuint16
同步开锁方式
#7 · sync-unlock-method
分配用户信息
#8 · alloc-lock-user
Events
更新用户组
#1 · update-lock-user
更新开锁方式
#2 · update-unlock-method
触发参数
#3错误码uint16#1用户iduint16#6操作方式uint8#7操作IDuint16#4当前时间(unix timestamp)uint32
添加凭据事件
#3 · add-credential-event
触发参数
#8凭据状态uint8#9当前要添加的凭据序号uint8#10总凭据数量uint8
添加用户完成
#4 · add-user-complete
触发参数
#1用户iduint16#4当前时间(unix timestamp)uint32
删除用户完成
#5 · delete-user-complete
触发参数
#1用户iduint16#4当前时间(unix timestamp)uint32
添加开锁方式完成
#6 · add-user-key-complete
触发参数
#1用户iduint16#7操作IDuint16#4当前时间(unix timestamp)uint32
删除开锁方式完成
#7 · delete-user-key-complete
触发参数
#1用户iduint16#7操作IDuint16#4当前时间(unix timestamp)uint32
同步开锁方式完成
#8 · sync-user-key-complete
同步用户完成
#9 · sync-user-complete
勿扰#9 · no-disturb属性 3
勿扰
#9 · no-disturb
Properties
勿扰
#1 · no-disturb
- 格式
- bool
- 读写
- R / W / N
- 值
- —
启用时间段(格式为:00:00:00-00:00:00)
#2 · enable-time-period
- 格式
- string
- 读写
- R / W / N
- 值
- —
当前勿扰状态
#3 · current-no-disturb
- 格式
- bool
- 读写
- R / N
- 值
- —
提示音#10 · alarm属性 3
提示音
#10 · alarm
Properties
提示音
#1 · alarm
- 格式
- bool
- 读写
- R / W / N
- 值
- —
音量
#2 · volume
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0 ~ 100,步长 1
自动关闭提示音
#3 · auto-alarm-off
- 格式
- bool
- 读写
- R / W / N
- 值
- —
时间管理#11 · time-management属性 3动作 1
时间管理
#11 · time-management
Properties
时区偏移量
#1 · time-zone-offset
- 格式
- float
- 读写
- 值
- -20 ~ 20,步长 0.25
小时制(12/24)
#2 · hour-system
- 格式
- uint8
- 读写
- R / W / N
- 值
- 112224
当前时间(unix timestamp)
#3 · current-time
- 格式
- uint32
- 读写
- 值
- 0 ~ 4294967295,步长 1
Actions
时间校准(校时)
#1 · time-correction
入参
#1时区偏移量float#3当前时间(unix timestamp)uint32
门锁详细版本#12 · lock-version属性 8
门锁详细版本
#12 · lock-version
Properties
前面板版本
#1 · front-panel-version
- 格式
- string
- 读写
- R / N
- 值
- —
后面板版本
#2 · rear-panel-version
- 格式
- string
- 读写
- R / N
- 值
- —
指纹板版本
#3 · fingerprint-board-version
- 格式
- string
- 读写
- R / N
- 值
- —
摄像头版本
#4 · camera-version
- 格式
- string
- 读写
- R / N
- 值
- —
Wi-Fi版本
#5 · wifi-version
- 格式
- string
- 读写
- R / N
- 值
- —
语音版本
#6 · voice-version
- 格式
- string
- 读写
- R / N
- 值
- —
硬件版本
#7 · hardware-version
- 格式
- string
- 读写
- R / N
- 值
- —
人脸掌静脉版本
#8 · face-palm-vein-version
- 格式
- string
- 读写
- R / N
- 值
- —
门锁音量管理#13 · lock-volume-management属性 10
门锁音量管理
#13 · lock-volume-management
Properties
门未关提示时间
#1 · door-open-reminder-time
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0No Reminder15 Seconds210 Seconds320 Seconds430 Seconds5120 Seconds6180 Seconds
门未关告警音量
#2 · door-open-reminder-volume
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Low1Middle2High3Silent
门虚掩提示时间
#3 · door-ajar-reminder-time
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0No Reminder15 Seconds210 Seconds320 Seconds430 Seconds5120 Seconds6180 Seconds
门虚掩告警音量
#4 · door-ajar-reminder-volume
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Low1Middle2High3Silent
门锁被破坏提示时间
#5 · door-lock-broken-reminder-time
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Immediately15 Seconds210 Seconds320 Seconds
门锁被破坏告警音量
#6 · door-lock-broken-reminder-volume
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Low1Middle2High3Silent
语言
#7 · language
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Chinese1English
门锁操作提示音
#8 · door-operation-volume
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Low1Middle2High3Silent
告警音量
#9 · reminder-volume
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Low1Middle2High3Silent
关门提示音
#10 · door-closing-reminder-volume
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Silent
门锁猫眼#14 · door-lock-camera属性 25动作 4事件 3
门锁猫眼
#14 · door-lock-camera
Properties
开关
#1 · on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
夜视功能
#2 · night-shot
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Off1On2Auto3Auto Full Color4On Full Color5Auto Smart Full Color
时间水印
#3 · time-watermark
- 格式
- bool
- 读写
- R / W / N
- 值
- —
宽动态范围模式
#4 · wdr-mode
- 格式
- bool
- 读写
- R / W / N
- 值
- —
ECO节能模式
#5 · eco
- 格式
- bool
- 读写
- R / W / N
- 值
- —
铃声类型
#6 · ringtone
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1 ~ 5,步长 1
图像畸变矫正
#7 · image-distortion-correction
- 格式
- bool
- 读写
- R / W / N
- 值
- —
当前时间(unix timestamp)
#8 · current-time
- 格式
- uint32
- 读写
- 值
- 0 ~ 4294967295,步长 1
自动亮屏
#9 · auto-screen-on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
实时视频流
#10 · live-video-streaming
- 格式
- bool
- 读写
- R / N / W
- 值
- —
实时视频有效时间
#11 · live-video-valid-time
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1122334455
实时视频开启时间段
#12 · live-video-enable-time-period
- 格式
- string
- 读写
- R / W / N
- 值
- —
侦测灵敏度
#13 · detection-sensitivity
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1Low
自动亮屏时间
#14 · auto-screen-on-time
- 格式
- uint8
- 读写
- R / W / N
- 值
- 010 Seconds115 Seconds220 Seconds
微光全彩
#15 · glimmer-full-color
- 格式
- bool
- 读写
- R / W / N
- 值
- —
模式
#16 · mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Auto
有人经过开关
#17 · pass-by-activated-switch
- 格式
- bool
- 读写
- R / W / N
- 值
- —
有人停留开关
#18 · someone-staying-activated-switch
- 格式
- bool
- 读写
- R / W / N
- 值
- —
停留时长
#19 · staying-time
- 格式
- uint8
- 读写
- R / W / N
- 值
- 06 Seconds110 Seconds215 Seconds320 Seconds430 Seconds
人脸标记开关
#20 · face-marking-switch
- 格式
- bool
- 读写
- R / W / N
- 值
- —
屏幕展示区域
#21 · screen-display-area
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Left1Middle2Right
录像开始时间
#22 · video-recording-start-time
- 格式
- string
- 读写
- R / W / N
- 值
- —
录像结束时间
#23 · video-recording-end-time
- 格式
- string
- 读写
- R / W / N
- 值
- —
录像时间段
#24 · video-recording-time-period
- 格式
- string
- 读写
- R / W / N
- 值
- —
微信音视频信息
#25 · wechat-info
- 格式
- string
- 读写
- R / W / N
- 值
- —
Actions
远程呼叫
#1 · remote-call
点亮屏幕
#2 · light-up-screen
唤醒
#3 · wake-up
视频录制
#4 · video-recording
Events
有人经过
#1 · someone-passed-by
有人停留
#2 · someone-at-the-door
微信未授权通知
#3 · wechat-unauth-notify
触发参数
#8当前时间(unix timestamp)uint32