MIOT HomeMIOT Home
MIOT
#ptx.switch.f1gq4

ptx.switch.f1gq4

urn:miot-spec-v2:device:switch:0000A003:ptx-f1gq4:1:0000D010
语言
Service tree
开关一键
#2 · switch
属性 4动作 1

Properties

按键1
#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断电记忆
按键名称
#6 · name
格式
string
读写

Actions

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

Properties

按键2
#1 · on
格式
bool
读写
R / W / N
模式
#2 · mode
格式
uint8
读写
R / W / N
0有线和无线开关
1无线开关
按键名称
#3 · name
格式
string
读写

Actions

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

Properties

按键3
#1 · on
格式
bool
读写
R / W / N
模式
#2 · mode
格式
uint8
读写
R / W / N
0有线和无线开关
1无线开关
按键名称
#3 · name
格式
string
读写

Actions

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

Properties

按键4
#1 · on
格式
bool
读写
R / W / N
模式
#2 · mode
格式
uint8
读写
R / W / N
0有线和无线开关
1无线开关
按键名称
#3 · name
格式
string
读写

Actions

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

Properties

按键类型
#1 · button-type
格式
uint8
读写
1按键1
2按键2
3按键3
4按键4

Events

单击
#1 · click
触发参数
#1按键类型uint8
长按
#2 · long-press
触发参数
#1按键类型uint8
双击
#3 · double-click
触发参数
#1按键类型uint8
存在传感器
#19 · occupancy-sensor
属性 3

Properties

有人无人状态(0为无人,非0为有人)
#1 · occupancy-status
格式
uint8
读写
R / N
0无人
1有人
触发有人有效距离
#3 · detection-distance
格式
uint8
读写
R / W / N
1
2
3
使能开关
#4 · enable-switch
格式
bool
读写
R / W / N
开关一拓展
#12 · switch-ext
属性 9动作 1

Properties

点动
#1 · diandong
格式
uint8
读写
R / W / N
0None
1Wireless
2Diandong
3Localscene
4Interlock
遥控地址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
点动时间(单位:10ms)
#8 · diandong-time
格式
uint8
读写
R / W / N
20 ~ 200,步长 20
开关1图标
#11 · sw-icon
格式
uint8
读写
R / W / N
0 ~ 20,步长 1

Actions

添加遥控
#1 · add-remote
开关二拓展
#13 · switch-ext
属性 9动作 1

Properties

点动
#1 · diandong
格式
uint8
读写
R / W / N
0None
1Wireless
2Diandong
3Localscene
4Interlock
遥控地址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
点动时间(单位:10ms)
#8 · diandong-time
格式
uint8
读写
R / W / N
20 ~ 200,步长 20
开关2图标
#11 · sw-icon
格式
uint8
读写
R / W / N
0 ~ 20,步长 1

Actions

添加遥控
#1 · add-remote
开关三拓展
#14 · switch-ext
属性 9动作 1

Properties

点动
#1 · diandong
格式
uint8
读写
R / W / N
0None
1Wireless
2Diandong
3Localscene
4Interlock
遥控地址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
点动时间(单位:10ms)
#8 · diandong-time
格式
uint8
读写
R / W / N
20 ~ 200,步长 20
开关3图标
#11 · sw-icon
格式
uint8
读写
R / W / N
0 ~ 20,步长 1

Actions

添加遥控
#1 · add-remote
开关拓展四
#15 · switch-ext
属性 9动作 1

Properties

点动
#1 · diandong
格式
uint8
读写
R / W / N
0None
1Wireless
2Diandong
3Localscene
4Interlock
遥控地址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
点动时间(单位:10ms)
#8 · diandong-time
格式
uint8
读写
R / W / N
20 ~ 200,步长 20
开关4图标
#11 · sw-icon
格式
uint8
读写
R / W / N
0 ~ 20,步长 1

Actions

添加遥控
#1 · add-remote
其他
#16 · other
属性 9动作 3事件 1

Properties

按键模式
#1 · key-mode
格式
uint8
读写
R / W / N
0Standard Mode
1High Speed Mode
继电器位置
#2 · relay-idx
格式
uint16
读写
R / W / N
0 ~ 65535,步长 1
RadarParam
#3 · radar-param
格式
uint32
读写
R / W / N
0 ~ 4294967295,步长 1
SwConstPowerOn
#4 · sw-const-power-on
格式
bool
读写
R / W / N
按键字体颜色
#6 · key-colour
格式
uint32
读写
R / W / N
0 ~ 16777215,步长 1
场景选择
#7 · panel-manage-map
格式
uint8
读写
R / W / N
0Forsence
1Eightsence
窗帘界面开关
#8 · curtain-interface-sw
格式
uint8
读写
R / W / N
0Off
1On
动画类型
#9 · anim-type
格式
uint8
读写
R / W / N
0起始动画
1结束动画
动画开关
#10 · anim-sw
格式
bool
读写
R / W / N

Actions

开关全开
#1 · allon
开关全关
#2 · alloff
播放动画
#3 · play-anim
入参
#9动画类型uint8

Events

动画结束
#3 · anim-end
显示设置
#17 · backlight
属性 7

Properties

开关
#1 · on-off
格式
bool
读写
R / W / N
亮度
#2 · brightness
格式
uint8
读写
R / W / N
1 ~ 100,步长 1
自动进入待机时间
#3 · auto-into-standby-t
格式
uint8
读写
R / W / N
015秒
130秒
21分钟
32分钟
45分钟
510分钟
255永不
勿扰模式
#4 · not-disturb-mode
格式
bool
读写
R / W / N
勿扰时间段
#5 · not-disturb-time
格式
uint32
读写
R / W / N
1 ~ 4294967295,步长 1
屏幕选择
#7 · screen-saver
格式
uint8
读写
R / W / N
0房间
1地球
2星空向日葵
3城市街道
4鸢尾花时
5商务雅黑金
6太极鱼
7星空
8陀飞轮
9日出
10灯塔
11木星
12星环
13海豚
14
15狐狸
16气球飞熊
17红运熊猫
18居家萌熊
19雪厂萌将
255自定义
自定义屏保显示开关
#8 · user-defined-sw
格式
bool
读写
R / N
场景名称
#18 · scene-name
属性 16事件 8

Properties

场景一
#1 · scene-name
格式
string
读写
场景二
#2 · scene-name
格式
string
读写
场景三
#3 · scene-name
格式
string
读写
场景四
#4 · scene-name
格式
string
读写
场景五
#5 · scene-name
格式
string
读写
场景六
#6 · scene-name
格式
string
读写
场景七
#7 · scene-name
格式
string
读写
场景八
#8 · scene-name
格式
string
读写
场景一图标
#21 · scene-icon
格式
uint8
读写
0 ~ 255,步长 1
场景二图标
#22 · scene-icon
格式
uint8
读写
0 ~ 255,步长 1
场景三图标
#23 · scene-icon
格式
uint8
读写
0 ~ 255,步长 1
场景四图标
#24 · scene-icon
格式
uint8
读写
0 ~ 255,步长 1
场景五图标
#25 · scene-icon
格式
uint8
读写
0 ~ 255,步长 1
场景六图标
#26 · scene-icon
格式
uint8
读写
0 ~ 255,步长 1
场景七图标
#27 · scene-icon
格式
uint8
读写
0 ~ 255,步长 1
场景八图标
#28 · scene-icon
格式
uint8
读写
0 ~ 255,步长 1

Events

场景一事件
#1 · scene-one
场景二事件
#2 · scene-two
场景三事件
#3 · scene-three
场景四事件
#4 · scene-four
场景五事件
#5 · scene-five
场景六事件
#6 · scene-six
场景七事件
#7 · scene-seven
场景八事件
#8 · scene-eight