MIOT HomeMIOT Home
小米智能插座4
#xiaomi.plug.04

小米智能插座4

urn:miot-spec-v2:device:outlet:0000A002:xiaomi-04:1:0000D032
语言
Service tree
开关
#2 · switch
属性 3动作 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N
值
—
默认上电状态
#2 · default-power-on-state
格式
uint8
读写
R / W / N
值
0断电记忆
1上电关闭
2上电打开
设备故障
#3 · fault
格式
uint8
读写
R / N
值
0无故障
1过温
2过载

Actions

开关状态切换
#1 · toggle
功耗参数
#11 · power-consumption
属性 3

Properties

耗电量
#1 · power-consumption
格式
float
读写
R / N
值
0 ~ 65535,步长 0.01 kWh
电功率
#2 · electric-power
格式
uint16
读写
R / N
值
0 ~ 10000,步长 1 watt
耗电量使用累加形式
#3 · power-consumption-accumulation-way
格式
bool
读写
R / N
值
—
物理控制锁
#7 · physical-controls-locked
属性 1

Properties

物理控制锁
#1 · physical-controls-locked
格式
bool
读写
R / W / N
值
—
指示灯
#13 · indicator-light
属性 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N
值
—
指示灯与勿扰模式
#3 · indicator-light
属性 3

Properties

勿扰模式
#1 · mode
格式
bool
读写
R / N / W
值
—
开启时间
#2 · start-time
格式
uint16
读写
R / W / N
值
0 ~ 1440,步长 1 minutes
结束时间
#3 · end-time
格式
uint16
读写
R / N / W
值
0 ~ 1440,步长 1 minutes
充电保护
#4 · charging-protection
属性 6

Properties

保护时长
#3 · protection-time
格式
uint16
读写
R / N / W
值
0 ~ 1439,步长 1 minutes
功率阈值
#4 · power-power
格式
uint16
读写
R / N / W
值
1 ~ 600,步长 1 watt
设置生效起始时间
#5 · protect-start-time
格式
uint16
读写
R / N / W
值
0 ~ 1439,步长 1 minutes
设置生效结束时间
#6 · protect-end-time
格式
uint16
读写
W / N / R
值
0 ~ 1439,步长 1 minutes
保护生效时间开关
#7 · period
格式
bool
读写
R / N / W
值
—
设置有效期开关
#8 · on-off
格式
bool
读写
R / N / W
值
—
循环任务
#5 · cycle-cycle
属性 2

Properties

状态,true:启用中;false:未启用
#1 · status
格式
bool
读写
R / N / W
值
—
开启时长;关闭时长;日期;开始时间;结束时间
#2 · data-value
格式
string
读写
N / W / R
值
—
快捷倒计时关闭
#8 · quick-countdown
属性 9事件 1

Properties

状态;开启:ture;关闭;false
#1 · on-off
格式
bool
读写
R / N / W
值
—
时长
#2 · duration
格式
uint16
读写
R / N / W
值
0 ~ 1439,步长 1 minutes
倒计时剩余时间
#3 · left
格式
uint32
读写
R / N
值
0 ~ 1439,步长 1 minutes
延时开启
#4 · delay-on
格式
bool
读写
W / R / N
值
—
延时开时长
#5 · delay-on-timer
格式
uint16
读写
R / N / W
值
1 ~ 1439,步长 1 minutes
延时关
#6 · delay-off
格式
bool
读写
R / N / W
值
—
延时关闭时长
#7 · delay-off-timer
格式
uint16
读写
R / N / W
值
1 ~ 1439,步长 1 minutes
延时开启 剩余时间
#8 · delay-on-left-timer
格式
uint16
读写
R / N
值
0 ~ 1439,步长 1 minutes
延时关闭 剩余时间
#9 · delay-off-left-timer
格式
uint16
读写
R / N
值
0 ~ 1439,步长 1 minutes

Events

快捷倒计时开启通知
#1 · open-event
最大功率限制
#9 · max-power-limit
属性 2

Properties

功率阈值
#4 · power
格式
uint16
读写
R / N / W
值
100 ~ 2500,步长 1 watt
阈值开关
#5 · switch
格式
bool
读写
值
—
过度用电提醒
#10 · over-use-ele-alert
属性 3事件 2

Properties

开关
#1 · on-off
格式
bool
读写
R / N / W
值
—
过度用电提醒-日 默认3
#2 · over-ele-day
格式
uint16
读写
R / N / W
值
1 ~ 60,步长 1 kWh
过度用电提醒-月 默认80
#3 · over-ele-month
格式
uint16
读写
R / N / W
值
20 ~ 1800,步长 1 minutes

Events

过度用电(日)推送事件
#1 · over-day-push
过度用电(月)推送事件
#2 · over-month-push
开关操作日志
#15 · switch-operation-log
属性 1

Properties

开关日志
#1 · switch-log
格式
string
读写
N / R
值
—