MIOT
#evecca.magnet.179430
evecca.magnet.179430
urn:miot-spec-v2:device:magnet-sensor:0000A016:evecca-179430:1
语言
Service tree
门窗传感器#2 · magnet-sensor属性 9事件 5
门窗传感器
#2 · magnet-sensor
Properties
开关
#1 · on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
故障
#2 · fault
- 格式
- uint8
- 读写
- R / N
- 值
- 0No Faults
模式
#3 · mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Auto
工作状态
#4 · status
- 格式
- uint8
- 读写
- R / N
- 值
- 1Idle2Busy3Delay
接触状态
#5 · contact-state
- 格式
- bool
- 读写
- R / N
- 值
- —
门窗未关闭持续时长
#6 · not-closed-duration
- 格式
- uint8
- 读写
- R / N
- 值
- 0 ~ 180,步长 1
光照检测开关
#7 · light-detection-switch
- 格式
- bool
- 读写
- R / W / N
- 值
- —
光照检测阈值
#8 · light-detection-threshold
- 格式
- uint8
- 读写
- R / W / N
- 值
- 010150
光照度
#9 · illumination
- 格式
- float
- 读写
- R / N
- 值
- 0 ~ 10000,步长 1
Events
关
#1 · close
开
#2 · open
一段时间门未关
#3 · door-not-closed
设备被强行拆除
#4 · device-forcibly-removed
设备被重置
#5 · device-be-reset
电池#3 · battery属性 8动作 1事件 4
电池
#3 · 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