语言
Service tree
电机控制#2 · curtain属性 7动作 2事件 2
电机控制
#2 · curtain
Properties
窗帘控制
#1 · motor-control
- 格式
- uint8
- 读写
- W
- 值
- 0停止窗帘1打开窗帘2关闭窗帘
设定位置
#2 · target-position
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0 ~ 100,步长 1
当前位置
#3 · current-position
- 格式
- uint8
- 读写
- R / N
- 值
- 0 ~ 100,步长 1
电机反向
#4 · motor-reverse
- 格式
- bool
- 读写
- R / W / N
- 值
- —
模式
#5 · mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0默认模式1双开模式2左开模式3右开模式
当前状态
#6 · status
- 格式
- uint8
- 读写
- R / N
- 值
- 0停止1打开中2关闭中
故障
#7 · fault
- 格式
- uint8
- 读写
- R / N
- 值
- 0正常1故障
Actions
电机校准
#1 · motor-calibrate
运动状态切换
#2 · motion-state-toggle
Events
窗帘被手动关闭
#1 · curtain-manually-closed
窗帘被手动打开
#2 · curtain-manually-opened
