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 percentage
颜色
#4 · color
格式
uint32
讀寫
R / W / N
值
0 ~ 16777215,步長 1 rgb
色温
#5 · color-temperature
格式
uint32
讀寫
R / W / N
值
1200 ~ 6500,步長 1 kelvin
用于支持于情景相关的特殊操作
#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 none
数据长
#6 · max-fragment-number
格式
uint16
讀寫
W
值
0 ~ 65535,步長 1 none
用户ID
#7 · user-id
格式
string
讀寫
W
值
—
布局旋转角
#8 · global-rotation
格式
uint16
讀寫
N / R / W
值
0 ~ 360,步長 1 none
警告
#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 percentage
色温增量控制
#15 · increment-cct
格式
int16
讀寫
W
值
-5300 ~ 5300,步長 1 kelvin
于场景相关的便捷操作
#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