MIOT HomeMIOT Home
MIOT
#legui.switch.yw2a02

legui.switch.yw2a02

urn:miot-spec-v2:device:switch:0000A003:legui-yw2a02:1:0000C809
语言
Service tree
开关左键
#2 · switch
属性 2动作 1

Properties

左键
#1 · on
格式
bool
读写
R / W / N
模式
#2 · mode
格式
uint8
读写
R / N / W
0有线和无线开关
1无线开关

Actions

开关状态切换
#1 · toggle
开关右键
#3 · switch
属性 2动作 1

Properties

右键
#1 · on
格式
bool
读写
R / W / N
模式
#2 · mode
格式
uint8
读写
R / N / W
0有线和无线开关
1无线开关

Actions

开关状态切换
#1 · toggle
左键开关传感器
#4 · switch-sensor
属性 1事件 3

Properties

模式
#1 · mode
格式
uint8
读写
R / W / N
0多功能模式
1极速单击模式

Events

单击
#1 · click
双击
#2 · double-click
长按
#3 · long-press
右键开关传感器
#5 · switch-sensor
属性 1事件 3

Properties

模式
#1 · mode
格式
uint8
读写
R / W / N
0多功能模式
1极速单击模式

Events

单击
#1 · click
双击
#2 · double-click
长按
#3 · long-press
按键进入在线点动模式
#8 · flexible-mode
属性 2

Properties

按键1进入在线点动模式
#1 · flexible-mode-a
格式
bool
读写
R / W / N
按键2进入在线点动模式
#2 · flexible-mode-b
格式
bool
读写
R / W / N
按键1点动毫秒数
#9 · jog-delay-time
属性 1

Properties

按键点动延时毫秒数
#1 · jog-delay-time
格式
uint16
读写
R / W / N
0 ~ 65535,步长 1
按键2点动毫秒数
#10 · jog-delay-time
属性 1

Properties

按键点动延时毫秒数
#1 · jog-delay-time
格式
uint16
读写
R / W / N
0 ~ 65535,步长 1
左键对应负载映射
#11 · switch-relay
属性 1

Properties

按键对应负载映射
#1 · switch-relay
格式
uint8
读写
R / W / N
0 ~ 3,步长 1
右键对应负载映射
#12 · switch-relay
属性 1

Properties

按键对应负载映射
#1 · switch-relay
格式
uint8
读写
R / W / N
0 ~ 3,步长 1
左键通电后默认状态
#13 · default-state
属性 1

Properties

通电后默认状态
#1 · default-state
格式
uint8
读写
R / W / N
0On
1Off
2Restore
右键通电后默认状态
#14 · default-state
属性 1

Properties

通电后默认状态
#1 · default-state
格式
uint8
读写
R / W / N
0On
1Off
2Restore
翻页按键背光灯模式
#15 · backlight-mode
属性 1

Properties

翻页背光灯模式
#1 · backlight-mode-i
格式
uint8
读写
R / W / N
0Off
1On
2Blink
本地互控解控
#16 · mutual-control
属性 2

Properties

一键互控允许,解控允许
#1 · mutual-control-i
格式
bool
读写
R / W / N
二键互控允许,解控允许
#2 · mutual-control-ii
格式
bool
读写
R / W / N
左键遥控器绑定表
#17 · switch-panel
属性 11

Properties

遥控器1 MAC地址低4字节
#1 · a
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
遥控器2 MAC地址低4字节
#2 · b
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
遥控器3 MAC地址低4字节
#3 · c
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
遥控器4 MAC地址低4字节
#4 · d
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
遥控器5 MAC地址低4字节
#5 · e
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
遥控器6 MAC地址低4字节
#6 · f
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
遥控器7 MAC地址低4字节
#7 · g
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
遥控器8 MAC地址低4字节
#8 · h
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
遥控器9 MAC地址低4字节
#9 · i
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
遥控器10 MAC地址低4字节
#10 · j
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
遥控器11 MAC地址低4字节
#11 · k
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
右键遥控器绑定表
#18 · switch-panel
属性 11

Properties

遥控器1 MAC地址低4字节
#1 · a
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
遥控器2 MAC地址低4字节
#2 · b
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
遥控器3 MAC地址低4字节
#3 · c
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
遥控器4 MAC地址低4字节
#4 · d
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
遥控器5 MAC地址低4字节
#5 · e
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
遥控器6 MAC地址低4字节
#6 · f
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
遥控器7 MAC地址低4字节
#7 · g
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
遥控器8 MAC地址低4字节
#8 · h
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
遥控器9 MAC地址低4字节
#9 · i
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
遥控器10 MAC地址低4字节
#10 · j
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
遥控器11 MAC地址低4字节
#11 · k
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
按键进入点动模式
#20 · jog-enable
属性 2

Properties

按键1进入点动模式
#1 · jog-enable-a
格式
bool
读写
R / W / N
按键2进入点动模式
#2 · jog-enable-b
格式
bool
读写
R / W / N
左键在线点动延时
#21 · flexible-time
属性 1

Properties

按键在线点动延时毫秒数
#1 · flexible-time
格式
uint16
读写
R / W / N
0 ~ 65535,步长 1
右键在线点动延时
#22 · flexible-time
属性 1

Properties

按键在线点动延时毫秒数
#1 · flexible-time
格式
uint16
读写
R / W / N
0 ~ 65535,步长 1
按键进入遥控器绑定状态
#23 · panel-add-enable
属性 3动作 2

Properties

按键1进入遥控器绑定状态
#1 · panel-add-enable-a
格式
bool
读写
R / W / N
按键2进入遥控器绑定状态
#2 · panel-add-enable-b
格式
bool
读写
R / W / N
无线开关配对开关
#3 · wireless-en
格式
bool
读写
R / W / N

Actions

按键1无线开关绑定一键清除
#1 · keya
按键2无线开关绑定一键清除
#2 · keyb
2路按键文字设置
#24 · text-set
属性 8

Properties

a
#1 · a
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
a
#2 · a
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
a
#3 · a
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
a
#4 · a
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
b
#5 · b
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
b
#6 · b
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
b
#7 · b
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
b
#8 · b
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
2路米家场景文字设置
#25 · text-set-misence
属性 8

Properties

a
#1 · a
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
a
#2 · a
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
a
#3 · a
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
a
#4 · a
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
b
#5 · b
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
b
#6 · b
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
b
#7 · b
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
b
#8 · b
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
2路本地场景文字设置
#26 · text-set-localsence
属性 8

Properties

a
#1 · a
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
a
#2 · a
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
a
#3 · a
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
a
#4 · a
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
b
#5 · b
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
b
#6 · b
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
b
#7 · b
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
b
#8 · b
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
1路窗帘文字设置
#27 · text-set-curtain
属性 5

Properties

a
#1 · a
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
a
#2 · a
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
a
#3 · a
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
a
#4 · a
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
窗帘1开合度设置
#5 · opening-fit-a
格式
uint8
读写
N
0 ~ 100,步长 1
页面切换
#28 · page-switch
属性 1

Properties

页面切换
#1 · page-switch
格式
uint8
读写
W
0SWITCH
1MISENCE
2LOCALSENCE
3CURTAIN
场景及设备绑定和解绑
#29 · bind-unbind
属性 2

Properties

本地场景绑定&解绑
#1 · localsence
格式
bool
读写
W
窗帘绑定&解绑
#2 · curtain-a
格式
bool
读写
W
待机屏保设置
#30 · theme-setting
属性 2

Properties

待机屏保设置
#1 · theme-setting
格式
uint8
读写
R / W / N
0TIME
1CAT
2ZHIGAN
3CAIYUAN
待机界面开关
#2 · sleeppage-en
格式
bool
读写
N / R / W
主界面设置
#31 · interface-seting
属性 1

Properties

主界面设置
#1 · interface-seting
格式
uint8
读写
R / W / N
0SWITCH
1MISENCE
2LOCALSENCE
3CURTAIN
4LIGHT
屏幕背光亮度及感应设置
#32 · backlight-mode-ii
属性 7事件 2

Properties

屏幕背光亮度设置
#1 · backlight-set
格式
uint8
读写
R / W / N
0OFF
1SLEEP
2SOFT
3LIGHTNESS
自动息屏开关
#2 · proximity-induction
格式
bool
读写
R / W / N
感应息屏时间
#3 · pause-time
格式
uint16
读写
R / W / N
5 ~ 300,步长 1
雷达感应距离设置
#4 · radar-set
格式
uint8
读写
R / W / N
0Close
1Mid
2Far
靠近亮屏
#5 · close-bright
格式
bool
读写
R / W / N
靠进亮屏并解锁
#6 · close-bright-unlock
格式
bool
读写
R / W / N
靠近解锁
#7 · close-unlock
格式
bool
读写
R / W / N

Events

红外感应-有人移动
#1 · ir-reaction
红外感应-延时无人移动
#2 · ir-noninduction
米家触发自动化事件
#33 · automated-event
事件 4

Events

窗帘-开
#1 · curtain-on
窗帘-关
#2 · curtain-off
米家场景1
#3 · mi-sence-i
米家场景2
#4 · mi-sence-ii
页面显示或关闭
#35 · page-on-off
属性 3

Properties

米家场景页面开启/关闭
#1 · mi-sence
格式
bool
读写
R / W / N
本地场景页面开启/关闭
#2 · local-sence
格式
bool
读写
R / W / N
窗帘控制页面开启/关闭
#3 · curtain
格式
bool
读写
R / W / N
留言板
#36 · massage-board
属性 6动作 1

Properties

文字输入
#1 · text
格式
uint32
读写
R / N / W
0 ~ 4294967295,步长 1
显示状态
#2 · status
格式
uint8
读写
R / N
0Display
1Feedback
留言状态
#3 · message-status
格式
uint8
读写
R / W / N
0Normal
1Romantic
2Urgent
3Come-on
4Warm-cozy
显示方式
#4 · display-method
格式
uint8
读写
R / W / N
0Now
1Time
2Link
定时显示时间设置
#5 · timed-display
格式
uint16
读写
R / W / N
0 ~ 65535,步长 1
显示开关
#6 · display-on-off
格式
bool
读写
R / W / N

Actions

留言板显示触发(需先设置留言)
#1 · message-board
时间天气校准
#37 · calibration
属性 1动作 1

Properties

手机时间下发
#1 · utc
格式
uint32
读写
W
0 ~ 4294967295,步长 1

Actions

天气时间网关端校准
#1 · calibration
开关按键提示音设置
#38 · prompt-tone
属性 4

Properties

按键一声音开关
#1 · switcha-on-off
格式
bool
读写
R / W / N
按键一按键音乐选择
#2 · swticha-chose
格式
uint8
读写
N / R / W
0Default
11
22
33
44
55
66
77
88
99
1010
按键二声音开关
#3 · switchb-on-off
格式
bool
读写
R / W / N
按键二按键音乐选择
#4 · switchb-chose
格式
uint8
读写
R / W / N
0Default
11
22
33
44
55
66
77
88
99
1010
操作日志
#39 · operation-log
属性 2

Properties

按键1操作log-高4位代表类型,低4位代表状态
#1 · key-a
格式
uint8
读写
N
0 ~ 255,步长 1
按键2操作log-高4位代表类型,低4位代表状态
#2 · key-b
格式
uint8
读写
N
0 ~ 255,步长 1
期待日设置
#40 · countdown-date
属性 4

Properties

期待日屏保开关
#1 · countdown-on-off
格式
bool
读写
R / W / N
背景图片设置
#2 · bakpicture-set
格式
uint8
读写
R / W / N
0General
1Party
2Marry
3Birthday
4Travel
5Festive
发生日期
#3 · date
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
文字输入
#4 · text-sync
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
激活时间
#41 · activation-time
属性 1

Properties

激活时间
#1 · activation-time
格式
uint32
读写
R / N
0 ~ 4294967295,步长 1
按键音自动化
#42 · automation
属性 1

Properties

自动化播放音乐
#1 · automation
格式
uint8
读写
W
0Default
11
22
33
44
55
66
77
88
99
1010