MIOT HomeMIOT Home
领普墙壁开关(单键)
#linp.switch.q31

领普墙壁开关(单键)

urn:miot-spec-v2:device:switch:0000A003:linp-q31:2:0000C808
版本 v2 v1
語言
Service tree
开关
#2 · switch
屬性 3動作 1事件 3

Properties

开关
#1 · on
格式
bool
讀寫
R / W / N
值
—
模式
#2 · mode
格式
uint8
讀寫
R / W / N
值
0自动
模式
#3 · mode
格式
uint8
讀寫
R / W / N
值
0有线和无线开关
1无线开关
2Reserved

Actions

开关状态切换
#1 · toggle
入參
#2模式uint8

Events

开
#1 · open
关
#2 · close
单击
#3 · click
指示灯
#5 · indicator-light
屬性 2

Properties

开关
#1 · on
格式
bool
讀寫
R / W / N
值
—
亮度
#3 · brightness
格式
uint8
讀寫
R / W / N
值
1 ~ 100,步長 1 percentage
网关
#6 · gateway
屬性 4動作 3事件 5

Properties

最大绑定按键数量
#1 · max-key-count
格式
uint8
讀寫
R / N
值
0 ~ 255,步長 1 none
当前绑定的按键序列
#2 · bound-keys
格式
string
讀寫
R / N
值
—
当前操作按键
#3 · current-key
格式
uint8
讀寫
N / R
值
0 ~ 255,步長 1 none
被按下的按键
#4 · pressed-key
格式
uint8
讀寫
R / N
值
0 ~ 255,步長 1 none

Actions

进入学习模式
#1 · enter-learn-mode
入參
#3当前操作按键uint8
退出学习模式
#2 · exit-learn-mode
入參
#3当前操作按键uint8
删除指定按键
#3 · delete-key
入參
#3当前操作按键uint8
出參
#2当前绑定的按键序列string

Events

按键被按下
#1 · key-pressed
觸發參數
#4被按下的按键uint8
实体按钮操作进入学习状态
#2 · key-enter-learn-mode
学习模式退出
#3 · exit-learn-mode
觸發參數
#2当前绑定的按键序列string
开关列表有变化
#4 · bound-keys-changed
觸發參數
#2当前绑定的按键序列string
学习成功
#5 · learn-success
觸發參數
#2当前绑定的按键序列string