
#xiaomi.plug.04
小米智能插座4
urn:miot-spec-v2:device:outlet:0000A002:xiaomi-04:1:0000D032
Language
Service tree
Switch#2 · switch3 properties1 actions
Switch
#2 · switch
Properties
Switch Status
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Default Power On State
#2 · default-power-on-state
- Format
- uint8
- Access
- R / W / N
- Value
- 0Default1Off2On
Device Fault
#3 · fault
- Format
- uint8
- Access
- R / N
- Value
- 0No Fault1Over Temperature2Overload
Actions
Toggle
#1 · toggle
Power Consumption#11 · power-consumption3 properties
Power Consumption
#11 · power-consumption
Properties
Power Consumption
#1 · power-consumption
- Format
- float
- Access
- R / N
- Value
- 0 ~ 65535, step 0.01 kWh
Electric Power
#2 · electric-power
- Format
- uint16
- Access
- R / N
- Value
- 0 ~ 10000, step 1 watt
Power Consumption Accumulate Way
#3 · power-consumption-accumulation-way
- Format
- bool
- Access
- R / N
- Value
- —
Physical Controls Locked#7 · physical-controls-locked1 properties
Physical Controls Locked
#7 · physical-controls-locked
Properties
Physical Controls Locked
#1 · physical-controls-locked
- Format
- bool
- Access
- R / W / N
- Value
- —
Indicator Light#13 · indicator-light1 properties
Indicator Light
#13 · indicator-light
Properties
Switch Status
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
indicator-light#3 · indicator-light3 properties
indicator-light
#3 · indicator-light
Properties
#1 · mode
- Format
- bool
- Access
- R / N / W
- Value
- —
#2 · start-time
- Format
- uint16
- Access
- R / W / N
- Value
- 0 ~ 1440, step 1 minutes
#3 · end-time
- Format
- uint16
- Access
- R / N / W
- Value
- 0 ~ 1440, step 1 minutes
charging-protection#4 · charging-protection6 properties
charging-protection
#4 · charging-protection
Properties
protection-time
#3 · protection-time
- Format
- uint16
- Access
- R / N / W
- Value
- 0 ~ 1439, step 1 minutes
#4 · power-power
- Format
- uint16
- Access
- R / N / W
- Value
- 1 ~ 600, step 1 watt
protect-start-time
#5 · protect-start-time
- Format
- uint16
- Access
- R / N / W
- Value
- 0 ~ 1439, step 1 minutes
protect-end-time
#6 · protect-end-time
- Format
- uint16
- Access
- W / N / R
- Value
- 0 ~ 1439, step 1 minutes
#7 · period
- Format
- bool
- Access
- R / N / W
- Value
- —
#8 · on-off
- Format
- bool
- Access
- R / N / W
- Value
- —
cycle-cycle#5 · cycle-cycle2 properties
cycle-cycle
#5 · cycle-cycle
Properties
status
#1 · status
- Format
- bool
- Access
- R / N / W
- Value
- —
#2 · data-value
- Format
- string
- Access
- N / W / R
- Value
- —
quick-countdown#8 · quick-countdown9 properties1 events
quick-countdown
#8 · quick-countdown
Properties
#1 · on-off
- Format
- bool
- Access
- R / N / W
- Value
- —
duration
#2 · duration
- Format
- uint16
- Access
- R / N / W
- Value
- 0 ~ 1439, step 1 minutes
#3 · left
- Format
- uint32
- Access
- R / N
- Value
- 0 ~ 1439, step 1 minutes
#4 · delay-on
- Format
- bool
- Access
- W / R / N
- Value
- —
#5 · delay-on-timer
- Format
- uint16
- Access
- R / N / W
- Value
- 1 ~ 1439, step 1 minutes
#6 · delay-off
- Format
- bool
- Access
- R / N / W
- Value
- —
#7 · delay-off-timer
- Format
- uint16
- Access
- R / N / W
- Value
- 1 ~ 1439, step 1 minutes
#8 · delay-on-left-timer
- Format
- uint16
- Access
- R / N
- Value
- 0 ~ 1439, step 1 minutes
#9 · delay-off-left-timer
- Format
- uint16
- Access
- R / N
- Value
- 0 ~ 1439, step 1 minutes
Events
open-event
#1 · open-event
max-power-limit#9 · max-power-limit2 properties
max-power-limit
#9 · max-power-limit
Properties
#4 · power
- Format
- uint16
- Access
- R / N / W
- Value
- 100 ~ 2500, step 1 watt
#5 · switch
- Format
- bool
- Access
- Value
- —
over-use-ele-alert#10 · over-use-ele-alert3 properties2 events
over-use-ele-alert
#10 · over-use-ele-alert
Properties
#1 · on-off
- Format
- bool
- Access
- R / N / W
- Value
- —
#2 · over-ele-day
- Format
- uint16
- Access
- R / N / W
- Value
- 1 ~ 60, step 1 kWh
over-ele-month
#3 · over-ele-month
- Format
- uint16
- Access
- R / N / W
- Value
- 20 ~ 1800, step 1 minutes
Events
over-day-push
#1 · over-day-push
over-month-push
#2 · over-month-push
switch-operation-log#15 · switch-operation-log1 properties
switch-operation-log
#15 · switch-operation-log
Properties
#1 · switch-log
- Format
- string
- Access
- N / R
- Value
- —