MIOT HomeMIOT Home
标准插件HOOK设备(删除会影响线上所有插件运行,千万勿删,非常重要)
#miot.doorbell.spec

标准插件HOOK设备(删除会影响线上所有插件运行,千万勿删,非常重要)

urn:miot-spec-v2:device:doorbell:0000A03B:miot-spec:1
语言
Service tree
门铃
#2 · doorbell
属性 6事件 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N
工作状态
#2 · status
格式
uint8
读写
R / N
1Idle
2Busy
故障
#3 · fault
格式
uint8
读写
R / N
0No Faults
铃声
#4 · ringtone
格式
uint8
读写
R / W / N
1 ~ 5,步长 1
音量
#5 · volume
格式
uint8
读写
R / W / N
1 ~ 100,步长 1
当前时间(unix timestamp)
#6 · current-time
格式
uint32
读写
0 ~ 4294967295,步长 1

Events

门铃响了
#1 · doorbell-ring
触发参数
#6当前时间(unix timestamp)uint32
指示灯
#3 · indicator-light
属性 8

Properties

开关
#1 · on
格式
bool
读写
R / W / N
模式
#2 · mode
格式
uint8
读写
R / W / N
0Auto
亮度
#3 · brightness
格式
uint8
读写
R / W / N
1 ~ 100,步长 1
颜色
#4 · color
格式
uint32
读写
R / W / N
0 ~ 16777215,步长 1
色温
#5 · color-temperature
格式
uint32
读写
R / W / N
1000 ~ 10000,步长 1
流光功能
#6 · flow
格式
uint8
读写
R / W / N
0Auto
饱和度
#7 · saturability
格式
uint8
读写
R / W / N
0 ~ 100,步长 1
自动熄灯
#8 · auto-lights-off
格式
bool
读写
R / W / N