MIOT HomeMIOT Home
Nanoleaf Shapes
#nnleaf.light.ulp

Nanoleaf Shapes

urn:miot-spec-v2:device:light:0000A001:nnleaf-ulp:2
版本 v2 v1
语言
Service tree
#2 · light
属性 5动作 1事件 2

Properties

开关
#1 · on
格式
bool
读写
R / W / N
亮度
#3 · brightness
格式
uint8
读写
R / W / N
1 ~ 100,步长 1
颜色
#4 · color
格式
uint32
读写
R / W / N
0 ~ 16777215,步长 1
色温
#5 · color-temperature
格式
uint32
读写
R / W / N
1200 ~ 6500,步长 1
用于支持于情景相关的特殊操作
#6 · mode
格式
uint8
读写
R / W / N
0上一个场景
1下一个场景
2随机场景
3切换音乐场景
4切换互动场景
5切换动态场景

Actions

开关状态切换
#1 · toggle

Events

#1 · open
触发参数
#1开关bool
#2 · close
触发参数
#1开关bool
用于控制非标准功能
#3 · nanoleaf-private
属性 15动作 2

Properties

灯板布局
#2 · layout
格式
string
读写
R / N
情景名
#3 · effect
格式
string
读写
R / N / W
情景数据
#4 · scene-command-data
格式
string
读写
W
数据段
#5 · fragment-index
格式
uint16
读写
W
0 ~ 65535,步长 1
数据长
#6 · max-fragment-number
格式
uint16
读写
W
0 ~ 65535,步长 1
用户ID
#7 · user-id
格式
string
读写
W
布局旋转角
#8 · global-rotation
格式
uint16
读写
N / R / W
0 ~ 360,步长 1
警告
#9 · product-warnings
格式
string
读写
R / N
UUID
#10 · playlist-uuid
格式
string
读写
R / N / W
通知
#11 · custom-notifications
格式
string
读写
R / N
Trigger ld
#12 · trigger-ld
格式
bool
读写
W
用于切换开关状态
#13 · toggle-power
格式
bool
读写
W
亮度增量控制
#14 · increment-brightness
格式
int8
读写
W
-100 ~ 100,步长 1
色温增量控制
#15 · increment-cct
格式
int16
读写
W
-5300 ~ 5300,步长 1
于场景相关的便捷操作
#16 · scene-operation
格式
uint8
读写
W
0PreviousScene
1NextScene
2RandomScene
3NextRhythm
4PreviousRhythm
5NextDynamic
6PreviousDynamic
7NextInteractive
8PreviousInteractive

Actions

接口写
#1 · command-interface-tx
入参
#6数据长uint16#5数据段uint16#4情景数据string#7用户IDstring
出参
#5数据段uint16
接口读
#2 · command-interface-rx
入参
#5数据段uint16#7用户IDstring
出参
#4情景数据string#6数据长uint16