语言
Service tree
窗帘#2 · curtain属性 9动作 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
- 值
- 0停止1打开中2关闭中3设置中4遇阻停止
模式
#5 · mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0窗帘种类未设置1双开窗帘2左开窗帘3右开窗帘
当前位置
#6 · current-position
- 格式
- uint8
- 读写
- R / N
- 值
- 0 ~ 100,步长 1
设定位置
#7 · target-position
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0 ~ 100,步长 1
电机反向
#8 · motor-reverse
- 格式
- bool
- 读写
- R / W / N
- 值
- —
关机延时时间
#10 · off-delay-time
- 格式
- uint32
- 读写
- R / W / N
- 值
- 0 ~ 120,步长 1
Actions
开关状态切换
#1 · toggle
yeelight私有服务#3 · yl-curtain属性 8
yeelight私有服务
#3 · yl-curtain
Properties
完整行程是否已设置
#1 · route-setted
- 格式
- bool
- 读写
- R / W / N
- 值
- —
行程起点是否已设置
#2 · route-start-setted
- 格式
- bool
- 读写
- R / W / N
- 值
- —
行程终点是否已设置
#3 · route-end-setted
- 格式
- bool
- 读写
- R / W / N
- 值
- —
是否使能手拉触发开关功能
#4 · hand-operate-en
- 格式
- bool
- 读写
- R / W / N
- 值
- —
已配对的遥控器列表
#5 · rc-list
- 格式
- string
- 读写
- R / N
- 值
- —
要删除的遥控器列表
#6 · rc-list-for-del
- 格式
- string
- 读写
- W
- 值
- —
行程走完需要的时间(秒)
#7 · route-time
- 格式
- uint8
- 读写
- R / N
- 值
- 0 ~ 255,步长 1
遥控器控制类型(单击&正常旋转、双击&按下旋转)
#8 · rc-ctrl-type
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Click And Spin1Double Click And Pushed-Spin
