MIOT
语言
Service tree
窗帘#2 · curtain属性 10动作 1
窗帘
#2 · curtain
Properties
故障
#1 · fault
- 格式
- uint8
- 读写
- R / N
- 值
- 0No Faults
电机控制
#2 · motor-control
- 格式
- uint8
- 读写
- W
- 值
- 0暂停1打开2关闭
开关
#3 · on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
工作状态
#4 · status
- 格式
- uint8
- 读写
- R / N
- 值
- 1Idle2Busy
模式
#5 · mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Auto
当前位置(窗帘备注:0全遮住,100全拉开)
#6 · current-position
- 格式
- uint8
- 读写
- R / N
- 值
- 0 ~ 100,步长 1
设定位置(窗帘备注:0全遮住,100全拉开)
#7 · target-position
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0 ~ 100,步长 1
电机反向
#8 · motor-reverse
- 格式
- bool
- 读写
- R / W / N
- 值
- —
默认开启位置
#9 · default-open-position
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0 ~ 100,步长 1
默认关闭位置
#10 · default-close-position
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0 ~ 100,步长 1
Actions
电机校准
#1 · motor-calibrate