MIOT HomeMIOT Home
MIOT
#miot.switch.2342

miot.switch.2342

urn:miot-spec-v2:device:switch:0000A003:miot-2342:1:0000C809
语言
Service tree
Left Switch Service
#2 · switch
属性 2动作 1

Properties

Switch Status
#1 · on
格式
bool
读写
R / W / N
false有线模式 true无线模式
#2 · mode
格式
bool
读写
R / W / N

Actions

开关状态切换
#1 · toggle
Right Switch Service
#3 · switch
属性 1

Properties

Switch Status
#1 · on
格式
bool
读写
R / W / N
开关一键
#4 · switch
属性 7动作 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N
Service Name
#2 · name
格式
string
读写
R / W / N
工作状态
#3 · status
格式
uint8
读写
R / N
1Idle
2Busy
模式
#4 · mode
格式
uint8
读写
R / W / N
0Auto
故障
#5 · fault
格式
uint8
读写
R / N
0No Faults
温度
#6 · temperature
格式
float
读写
R / N
-30 ~ 100,步长 1
已工作时间
#7 · working-time
格式
uint32
读写
R / N
0 ~ 300,步长 1

Actions

开关状态切换
#1 · toggle
开关二键
#5 · switch
属性 7动作 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N
Service Name
#2 · name
格式
string
读写
R / W / N
工作状态
#3 · status
格式
uint8
读写
R / N
1Idle
2Busy
模式
#4 · mode
格式
uint8
读写
R / W / N
0Auto
故障
#5 · fault
格式
uint8
读写
R / N
0No Faults
温度
#6 · temperature
格式
float
读写
R / N
-30 ~ 100,步长 1
已工作时间
#7 · working-time
格式
uint32
读写
R / N
0 ~ 300,步长 1

Actions

开关状态切换
#1 · toggle
开关三键
#6 · switch
属性 7动作 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N
Service Name
#2 · name
格式
string
读写
R / W / N
工作状态
#3 · status
格式
uint8
读写
R / N
1Idle
2Busy
模式
#4 · mode
格式
uint8
读写
R / W / N
0Auto
故障
#5 · fault
格式
uint8
读写
R / N
0No Faults
温度
#6 · temperature
格式
float
读写
R / N
-30 ~ 100,步长 1
已工作时间
#7 · working-time
格式
uint32
读写
R / N
0 ~ 300,步长 1

Actions

开关状态切换
#1 · toggle
开关四键
#7 · switch
属性 7动作 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N
Service Name
#2 · name
格式
string
读写
R / W / N
工作状态
#3 · status
格式
uint8
读写
R / N
1Idle
2Busy
模式
#4 · mode
格式
uint8
读写
R / W / N
0Auto
故障
#5 · fault
格式
uint8
读写
R / N
0No Faults
温度
#6 · temperature
格式
float
读写
R / N
-30 ~ 100,步长 1
已工作时间
#7 · working-time
格式
uint32
读写
R / N
0 ~ 300,步长 1

Actions

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

Properties

故障
#1 · fault
格式
uint8
读写
R / N
0No Faults
模式
#2 · mode
格式
uint8
读写
R / W / N
0Auto
工作状态
#3 · status
格式
uint8
读写
R / N
1Idle
2Busy
开关
#4 · on
格式
bool
读写
R / W / N

Events

单击
#1 · click
双击
#2 · double-click
长按
#3 · long-press
气象传感器
#9 · weather-sensor
属性 8

Properties

温度
#1 · temperature
格式
float
读写
R / N
-30 ~ 100,步长 1
相对湿度
#2 · relative-humidity
格式
uint8
读写
R / N
0 ~ 100,步长 1
大气压强
#3 · atmospheric-pressure
格式
float
读写
R / N
0 ~ 100000,步长 1
紫外线指数
#4 · uv-index
格式
uint8
读写
R / N
0 ~ 11,步长 1
开关
#5 · on
格式
bool
读写
R / W / N
工作状态
#6 · status
格式
uint8
读写
R / N
1Idle
2Busy
模式
#7 · mode
格式
uint8
读写
R / W / N
0Auto
故障
#8 · fault
格式
uint8
读写
R / N
0No Faults
空调插座
#10 · air-condition-outlet
属性 4

Properties

开关
#1 · on
格式
bool
读写
R / W / N
工作状态
#2 · status
格式
uint8
读写
R / N
1Idle
2Busy
模式
#3 · mode
格式
uint8
读写
R / W / N
0Auto
故障
#4 · fault
格式
uint8
读写
R / N
0No Faults
开窗器
#11 · window-opener
属性 8

Properties

故障
#1 · fault
格式
uint8
读写
R / N
0No Faults
电机控制
#2 · motor-control
格式
uint8
读写
W
0Pause
开关
#3 · on
格式
bool
读写
R / W / N
工作状态
#4 · status
格式
uint8
读写
R / N
1Idle
2Busy
模式
#5 · mode
格式
uint8
读写
R / W / N
0Auto
设定位置(窗帘备注:0全遮住,100全拉开)
#6 · target-position
格式
uint8
读写
R / W / N
0 ~ 100,步长 1
当前位置(窗帘备注:0全遮住,100全拉开)
#7 · current-position
格式
uint8
读写
R / N
0 ~ 100,步长 1
速度
#8 · speed-level
格式
uint8
读写
R / W / N
1Level1
动静传感器
#12 · vibration-sensor
属性 5事件 3

Properties

开关
#1 · on
格式
bool
读写
R / W / N
工作状态
#2 · status
格式
uint8
读写
R / N
1Idle
2Busy
模式
#3 · mode
格式
uint8
读写
R / W / N
0Auto
故障
#4 · fault
格式
uint8
读写
R / N
0No Faults
侦测灵敏度
#5 · detection-sensitivity
格式
uint8
读写
R / W / N
1Low
2High

Events

倾斜
#1 · tilt
掉落
#2 · fall
振动
#3 · vibration
光照度传感器
#13 · illumination-sensor
属性 3

Properties

光照度
#1 · illumination
格式
float
读写
R / N
0 ~ 10000,步长 1
故障
#2 · fault
格式
uint8
读写
R / N
0No Faults
工作状态
#3 · status
格式
uint8
读写
R / N
1Idle
2Busy
移动检测传感器
#14 · motion-sensor
属性 7事件 2

Properties

移动检测情况
#1 · motion-state
格式
bool
读写
R / N
开关
#2 · on
格式
bool
读写
R / W / N
故障
#3 · fault
格式
uint8
读写
R / N
0No Faults
模式
#4 · mode
格式
uint8
读写
R / W / N
0Auto
工作状态
#5 · status
格式
uint8
读写
R / N
1Idle
2Busy
光照度
#6 · illumination
格式
float
读写
R / N
0 ~ 10000,步长 1
无移动状态持续时间
#7 · no-motion-duration
格式
uint16
读写
R / N
0 ~ 600,步长 60

Events

检测到移动
#1 · motion-detected
无人移动
#2 · no-motion