
#miot.plug.021
服务单更新验证1
urn:miot-spec-v2:device:outlet:0000A002:miot-021:2
Language
Service tree
Switch1#2 · switch10 properties1 actions
Switch1
#2 · switch
Properties
Switch Status
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Service Name
#2 · name
- Format
- string
- Access
- R / W / N
- Value
- —
Status
#3 · status
- Format
- uint8
- Access
- R / N
- Value
- 1Idle2Busy3Delay
Mode
#4 · mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Auto
Device Fault
#5 · fault
- Format
- uint8
- Access
- R / N
- Value
- 0No Faults
Temperature
#6 · temperature
- Format
- float
- Access
- R / N
- Value
- -30 ~ 100, step 1 celsius
Working Time
#7 · working-time
- Format
- uint32
- Access
- R / N
- Value
- 0 ~ 300, step 1 minutes
Default Power On State
#8 · default-power-on-state
- Format
- uint8
- Access
- R / W / N
- Value
- 1Off
Anti Flicker
#9 · anti-flicker
- Format
- bool
- Access
- R / W / N
- Value
- —
Wiring Method
#10 · wiring-method
- Format
- uint8
- Access
- R / N
- Value
- 0No Neutral1Neutral Wire
Actions
Toggle
#1 · toggle
Indicator Light#3 · indicator-light8 properties
Indicator Light
#3 · indicator-light
Properties
Switch Status
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Mode
#2 · mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Auto
Brightness
#3 · brightness
- Format
- uint8
- Access
- R / W / N
- Value
- 1 ~ 100, step 1 percentage
Color
#4 · color
- Format
- uint32
- Access
- R / W / N
- Value
- 0 ~ 16777215, step 1 rgb
Color Temperature
#5 · color-temperature
- Format
- uint32
- Access
- R / W / N
- Value
- 1000 ~ 10000, step 1 kelvin
Flow
#6 · flow
- Format
- bool
- Access
- R / W / N
- Value
- —
Saturability
#7 · saturability
- Format
- uint8
- Access
- R / W / N
- Value
- 0 ~ 100, step 1 percentage
Auto Lights Off
#8 · auto-lights-off
- Format
- bool
- Access
- R / W / N
- Value
- —
Power Consumption#4 · power-consumption8 properties
Power Consumption
#4 · power-consumption
Properties
Power Consumption
#1 · power-consumption
- Format
- uint16
- Access
- R / N
- Value
- 0 ~ 65535, step 1
Electric Current
#2 · electric-current
- Format
- uint16
- Access
- R / N
- Value
- 0 ~ 65535, step 1
Voltage
#3 · voltage
- Format
- uint16
- Access
- R / N
- Value
- 0 ~ 65535, step 1
Leakage Current
#4 · leakage-current
- Format
- uint16
- Access
- R / N
- Value
- 0 ~ 65535, step 1
Surge power
#5 · surge-power
- Format
- uint16
- Access
- R / N
- Value
- 0 ~ 65535, step 1
Electric Power
#6 · electric-power
- Format
- float
- Access
- R / N
- Value
- 0 ~ 1000, step 1 watt
Power Consumption Accumulation Way
#7 · power-consumption-accumulation-way
- Format
- bool
- Access
- R / N
- Value
- —
Long Endurance Mode On
#8 · long-endurance-mode-on
- Format
- bool
- Access
- R / W / N
- Value
- —
Physical Control Locked#5 · physical-controls-locked3 properties
Physical Control Locked
#5 · physical-controls-locked
Properties
Physical Control Locked
#1 · physical-controls-locked
- Format
- bool
- Access
- R / W / N
- Value
- —
Current Physical Control Lock
#2 · current-physical-control-lock
- Format
- bool
- Access
- R / N
- Value
- —
Mode
#3 · mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Auto