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

领普墙壁开关(单键)

urn:miot-spec-v2:device:switch:0000A003:linp-q31:2:0000C808
Version v2 v1
Language
Service tree
Switch
#2 · switch
3 properties1 actions3 events

Properties

Switch Status
#1 · on
Format
bool
Access
R / W / N
Value
—
Mode
#2 · mode
Format
uint8
Access
R / W / N
Value
0Auto
Mode
#3 · mode
Format
uint8
Access
R / W / N
Value
0Wired And Wireless
1Wireless
2Reserved

Actions

Toggle
#1 · toggle
Input
#2Modeuint8

Events

Open
#1 · open
Close
#2 · close
Click
#3 · click
Indicator Light
#5 · indicator-light
2 properties

Properties

Switch Status
#1 · on
Format
bool
Access
R / W / N
Value
—
Brightness
#3 · brightness
Format
uint8
Access
R / W / N
Value
1 ~ 100, step 1 percentage
Gateway
#6 · gateway
4 properties3 actions5 events

Properties

max-key-count
#1 · max-key-count
Format
uint8
Access
R / N
Value
0 ~ 255, step 1 none
bound-keys
#2 · bound-keys
Format
string
Access
R / N
Value
—
current-key
#3 · current-key
Format
uint8
Access
N / R
Value
0 ~ 255, step 1 none
pressed-key
#4 · pressed-key
Format
uint8
Access
R / N
Value
0 ~ 255, step 1 none

Actions

enter-learn-mode
#1 · enter-learn-mode
Input
#3current-keyuint8
exit-learn-mode
#2 · exit-learn-mode
Input
#3current-keyuint8
delete-key
#3 · delete-key
Input
#3current-keyuint8
Output
#2bound-keysstring

Events

key-pressed
#1 · key-pressed
Arguments
#4pressed-keyuint8
key-enter-learn-mode
#2 · key-enter-learn-mode
exit-learn-mode
#3 · exit-learn-mode
Arguments
#2bound-keysstring
bound-keys-changed
#4 · bound-keys-changed
Arguments
#2bound-keysstring
learn-success
#5 · learn-success
Arguments
#2bound-keysstring