MIOT HomeMIOT Home
米家窗帘伴侣
#lumi.curtain.hmcn02

米家窗帘伴侣

urn:miot-spec-v2:device:curtain:0000A00C:lumi-hmcn02:1:0000C817
版本 v2 v1
語言
Service tree
Curtain
#2 · curtain
屬性 7動作 1事件 2

Properties

Motor Control
#1 · motor-control
格式
uint8
讀寫
W
值
0暂停
1打开
2关闭
3自动
设定位置(窗帘备注:0全遮住,100全拉开)
#2 · target-position
格式
uint8
讀寫
R / W / N
值
0 ~ 100,步長 1 percentage
工作状态
#3 · status
格式
uint8
讀寫
R / N
值
0停止
1打开中
2关闭中
故障
#4 · fault
格式
uint8
讀寫
R / N
值
0No Faults
1电池温度过高
2电池温度过低
3充电中电池温度过高
4充电中电池温度过低
电机反向
#5 · motor-reverse
格式
uint8
讀寫
R / W / N
值
0正向(默认)
1反向
当前位置(窗帘备注:0全遮住,100全拉开)
#6 · current-position
格式
uint8
讀寫
R / N
值
0 ~ 100,步長 1 percentage
唤醒模式
#7 · wake-up-mode
格式
bool
讀寫
R / W / N
值
—

Actions

电机校准
#1 · motor-calibrate

Events

窗帘被手动打开
#1 · curtain-manually-opened
窗帘被手动关闭
#2 · curtain-manually-closed
设备确认
#4 · identify
動作 1

Actions

Identify
#1 · identify
电池
#5 · battery
屬性 2事件 1

Properties

电池电量
#1 · battery-level
格式
uint8
讀寫
R / N
值
0 ~ 100,步長 1 percentage
电池充电状态
#2 · charging-state
格式
uint8
讀寫
R / N
值
1Charging
2Not Charging
3Not Chargeable

Events

电量低
#1 · low-battery
电机配置
#3 · curtain-cfg
屬性 18動作 3事件 9

Properties

设置行程限位点
#2 · set-limit-point
格式
uint8
讀寫
W / N
值
0ClearPoint
1SetPointOpen
2SetPointClose
限位点个数
#3 · limit-point-num
格式
uint8
讀寫
R / N
值
0 ~ 2,步長 1 none
是否开启手拉启动
#4 · curtain-manual
格式
uint8
讀寫
R / N / W
值
1Disable
0Enable
是否具有完整的行程
#5 · curtain-range-flag
格式
uint8
讀寫
R / N
值
0None
1HaveIt
窗帘运行时间
#8 · run-time
格式
uint8
讀寫
R / N
值
0 ~ 255,步長 1 seconds
抱紧设置
#9 · lock-unlock-cmd
格式
uint8
讀寫
W
值
0Unlock
1Lock
抱紧状态
#10 · lock-unlock-status
格式
uint8
讀寫
R / N
值
0Unlocked
1Locked
2Lock-seting
3Unlock-seting
环境光强弱
#11 · bright-status
格式
uint8
讀寫
R / N
值
0Dark
1Bright
2Critical
远程关机
#15 · remote-power-off
格式
uint8
讀寫
W
值
1PowerOff
电池表面温度(除以100 = 实际温度℃)
#16 · battery-temp-warning
格式
int16
讀寫
R / N
值
-5000 ~ 10000,步長 1
长续航模式
#17 · long-batt-life-mode
格式
uint8
讀寫
W / R / N
值
0ON
1OFF
老化测试
#18 · aging-test
格式
uint8
讀寫
W
值
0Enable
1Disable
设置窗帘导轨类型
#19 · set-rail-type
格式
uint8
讀寫
R / N / W
值
1I Rail
2U Rail
3Rome Pole
主动向设备端同步UTC时间
#20 · sync-utc
格式
uint32
讀寫
W
值
0 ~ 4294967295,步長 1 seconds
光感联动时间区间,时分-时分。如0x01020304则代表01点02分开始,03点04分结束。 如0x0A00121E则代表10点00分开始,18点30分结束。
#21 · light-auto-timezone
格式
uint32
讀寫
R / N / W
值
0 ~ 4294967295,步長 1
光照度联动功能开启、重复周期及联动控制目标百分比。 U32变量的bit0-bit7(bitmap)用于指示重复周期,全0则为关闭该功能。 如0x0000007F代表每天执行;0x00000001代表每逢周日执行;0x00000003代表每逢周日周一执行;0x00000007代表每逢周日周一周二执行,如此类推。 U32变量的bit8-bit15用于指示联动控制目标,如0x0000647F代表每天执行,控制目标百分比为100%.
#22 · light-auto-param
格式
uint32
讀寫
R / N / W
值
0 ~ 4294967295,步長 1
曾经松开过抱紧状态
#23 · unlocked-ever
格式
uint8
讀寫
R / N / W
值
0Never Unlock
1Unlock Ever
遇阻打点屏蔽时间(秒)
#24 · pointset-block-time
格式
uint8
讀寫
R / N / W
值
10 ~ 255,步長 1 seconds

Actions

同步上报所有可读属性
#1 · sync-all-rd-attr
一段时间内屏蔽遇阻自动打点
#2 · block-auto-pointset
恢复遇阻自动打点功能
#3 · resume-auto-pointset

Events

设备恢复出厂设置事件
#3 · dev-factory-reset
极度低电量
#4 · extreme-batt-low
为支持低电自动化做的接口
#5 · batt-low-autp
异常状态上报
#6 · error-occurred
进入电池放电温度正常状态
#7 · batt-output-normal
未充电时进入电池放电温度过高状态
#8 · batt-output-overtmp
未充电时进入电池放电温度过低状态
#9 · batt-output-undertmp
充电时进入电池放电温度过高状态
#10 · batt-overtmp-char
充电时进入电池放电温度过低状态
#11 · batt-undertmp-char