
#yeelink.magnet.ycs02
Yeelight Pro 门窗传感器
urn:miot-spec-v2:device:magnet-sensor:0000A016:yeelink-ycs02:1
Language
Service tree
Magnet Sensor#2 · magnet-sensor5 properties2 events
Magnet Sensor
#2 · magnet-sensor
Properties
Switch Status
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Device Fault
#2 · fault
- Format
- uint8
- Access
- R / N
- Value
- 0No Faults
Mode
#3 · mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Auto
Status
#4 · status
- Format
- uint8
- Access
- R / N
- Value
- 1Idle2Busy
Contact State
#5 · contact-state
- Format
- bool
- Access
- R / N
- Value
- —
Events
Close
#1 · close
Open
#2 · open
Battery#3 · battery3 properties1 actions1 events
Battery
#3 · battery
Properties
Battery Level
#1 · battery-level
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 100, step 1 percentage
Charging State
#2 · charging-state
- Format
- uint8
- Access
- R / N
- Value
- 1Charging2Not Charging3Not Chargeable
Voltage
#3 · voltage
- Format
- uint16
- Access
- R / N
- Value
- 0 ~ 65535, step 1
Actions
Start Charge
#1 · start-charge
Events
Low Battery
#1 · low-battery