MIOT HomeMIOT Home
MIOT
#ptx.switch.ptxfx1

ptx.switch.ptxfx1

urn:miot-spec-v2:device:switch:0000A003:ptx-ptxfx1:1:0000C808
语言
Service tree
开关
#2 · switch
属性 3动作 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N
模式
#2 · mode
格式
uint8
读写
R / W / N
0有线和无线开关
1无线开关
默认上电状态
#5 · default-power-on-state
格式
uint8
读写
R / W / N
0上电关闭
1上电打开
2断电记忆

Actions

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

Events

单击
#1 · click
长按
#2 · long-press
双击
#3 · double-click
指示灯
#11 · indicator-light
属性 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N
扩展功能
#12 · switch-ext
属性 11动作 1

Properties

按键模式
#1 · keymode
格式
uint8
读写
R / W / N
0Default
1Wireless
2Diandong
3Localscene
遥控地址1
#2 · remoteadra
格式
uint32
读写
R / N
0 ~ 4294967295,步长 1
遥控地址2
#3 · remoteadrb
格式
uint32
读写
R / N
0 ~ 4294967295,步长 1
遥控地址3
#4 · remoteadrc
格式
uint32
读写
R / N
0 ~ 4294967295,步长 1
遥控地址4
#5 · remoteadrd
格式
uint32
读写
R / N
0 ~ 4294967295,步长 1
遥控地址5
#6 · remoteadre
格式
uint32
读写
R / N
0 ~ 4294967295,步长 1
删除遥控
#7 · del-remote
格式
uint8
读写
W
0 ~ 255,步长 1
点动时间(单位:ms)
#8 · diandong-time
格式
uint8
读写
R / W / N
20 ~ 200,步长 20
指示灯模式
#9 · indicator-light-mode
格式
uint8
读写
R / W / N
0Off
1Follow
2Invert
3Blink Const On
4Blink Const Off
指示灯状态
#10 · indicator-light-stat
格式
bool
读写
R / W / N
转无线开关继电器状态
#11 · wires-jdq-status
格式
bool
读写
R / W / N

Actions

添加遥控
#1 · add-remote
其他功能服务
#16 · other
属性 1

Properties

按键模式
#1 · key-mode
格式
uint8
读写
R / W / N
0Standard Mode
1High Speed Mode