语言
Service tree
灯#2 · light属性 4动作 1
灯
#2 · light
Properties
开关
#1 · on
- 格式
- bool
- 读写
- R / W / N
- 值
- —
模式
#2 · mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 4夜灯3温馨1电脑模式2办公模式255娱乐模式0无特殊设定模式
亮度
#3 · brightness
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1 ~ 100,步长 1 percentage
色温
#5 · color-temperature
- 格式
- uint32
- 读写
- R / W / N
- 值
- 2700 ~ 5700,步长 1 kelvin
Actions
开关状态切换
#1 · toggle
性格#3 · character属性 3
性格
#3 · character
Properties
情绪
#1 · mood
- 格式
- uint8
- 读写
- R / N
- 值
- 0 ~ 255,步长 1
生日
#2 · birthday
- 格式
- string
- 读写
- R / N / W
- 值
- —
性格
#3 · personality
- 格式
- int8
- 读写
- R / N / W
- 值
- 1Sticky2Noble
灯光模式#4 · light-mode属性 2动作 10
灯光模式
#4 · light-mode
Properties
灯光模式信息
#1 · light-mode-info
- 格式
- string
- 读写
- W
- 值
- —
灯光模式ID
#2 · light-mode-id
- 格式
- string
- 读写
- 值
- —
Actions
删除灯光模式
#1 · delete-mode
入参
#2灯光模式IDstring
使能灯光模式
#3 · enable-mode
入参
#2灯光模式IDstring
亮度+
#4 · beightness-add
亮度-
#5 · brightness-minus
亮度切换
#6 · brightness-switch
色温+
#7 · colortmp-add
亮度-
#8 · colortmp-minus
色温切换
#9 · colortmp-switch
开或切换亮度
#10 · enable-or-switch-br
开或切换色温
#11 · enable-or-switch-co
灯光动作#5 · light-motion属性 3动作 3
灯光动作
#5 · light-motion
Properties
动作信息
#1 · ligth-motion-info
- 格式
- string
- 读写
- W
- 值
- —
动作id
#2 · light-motion-id
- 格式
- int32
- 读写
- 值
- 0 ~ 99,步长 1
动作列表
#3 · light-motion-list
- 格式
- string
- 读写
- R / N
- 值
- —
Actions
删除动作
#1 · delete-motion
入参
#2动作idint32
使能动作
#2 · enable-motion
入参
#2动作idint32
获取动作详细信息
#3 · get-motion-detail
入参
#2动作idint32
出参
#1动作信息string
定时#6 · timer属性 6动作 1
定时
#6 · timer
Properties
时区
#1 · timer-zone
- 格式
- string
- 读写
- R / N
- 值
- —
定时开关列表
#2 · timer-info
- 格式
- string
- 读写
- R / N / W
- 值
- —
定时任务id
#3 · timer-id
- 格式
- string
- 读写
- 值
- —
延时开关
#4 · timer-delay-switch
- 格式
- uint8
- 读写
- R / N / W
- 值
- 0Closed1Opened
设置的延时时长
#5 · timer-delay-value
- 格式
- uint16
- 读写
- W / R / N
- 值
- 0 ~ 1440,步长 1
延时剩余时间
#6 · delay-left-value
- 格式
- uint16
- 读写
- R / N
- 值
- 0 ~ 1440,步长 1
Actions
删除定时任务
#1 · delete-timer
入参
#3定时任务idstring
互动#7 · interaction属性 3
互动
#7 · interaction
Properties
互动开关
#1 · interaction-switch
- 格式
- uint8
- 读写
- R / N / W
- 值
- 0Closed1Opend
互动手势
#2 · interaction-gesture
- 格式
- uint8
- 读写
- R / N
- 值
- 1Five2Four3Three4Love5Rock6Yeah7Gun8Six9One10Pink11Thumbup12Ok13Fist14Heart16Shoot21Stretch-hand22Make-fist23Pinch-finger0None
跟随开关
#3 · flow-switch
- 格式
- uint8
- 读写
- W / R / N
- 值
- 0Closed1Opened
遥控#8 · remote-control属性 1动作 3
遥控
#8 · remote-control
Properties
遥控数据
#1 · info
- 格式
- string
- 读写
- W
- 值
- —
Actions
开始遥控
#1 · remote-start
结束遥控
#2 · remote-end
重置
#3 · reset
机器相关状态#9 · robot-related属性 3动作 1
机器相关状态
#9 · robot-related
Properties
告警
#1 · faluts
- 格式
- string
- 读写
- R / N
- 值
- —
照明开关
#2 · lighting-switch
- 格式
- uint8
- 读写
- R / N / W
- 值
- 0Closed1Opend
工作状态
#3 · work-mode
- 格式
- uint8
- 读写
- R / N
- 值
- 0 ~ 255,步长 1
Actions
开或关闭灯光
#1 · lighting-toggle
