MIOT HomeMIOT Home
MIOT
#miot.gateway.101313

miot.gateway.101313

urn:miot-spec-v2:device:gateway:0000A019:miot-101313:1
语言
Service tree
网关
#2 · gateway
属性 9事件 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N
工作状态
#2 · status
格式
uint8
读写
R / N
1Idle
2Busy
3Delay
故障
#3 · fault
格式
uint8
读写
R / N
0No Faults
警戒模式
#4 · guard-mode
格式
bool
读写
R / W / N
接入方式
#5 · access-mode
格式
uint8
读写
R / N
0LAN
12 Point 4 GHz Wireless
25 GHz Wireless
WiFi网络名称
#6 · wifi-ssid
格式
string
读写
R / W / N
IP地址
#7 · ip-address
格式
string
读写
R / N
当前时间(unix timestamp)
#8 · current-time
格式
uint32
读写
0 ~ 4294967295,步长 1
DHCP服务器mac地址
#9 · dhcp-server-mac-adress
格式
string
读写
R / N

Events

网络发生变化
#1 · network-changed
#3 · light
属性 25动作 13

Properties

开关
#1 · on
格式
bool
读写
R / W / N
模式
#2 · mode
格式
uint8
读写
R / W / N
0Auto
亮度
#3 · brightness
格式
uint8
读写
R / W / N
1 ~ 100,步长 1
颜色
#4 · color
格式
uint32
读写
R / W / N
0 ~ 16777215,步长 1
色温
#5 · color-temperature
格式
uint32
读写
R / W / N
1000 ~ 10000,步长 1
流光功能
#6 · flow
格式
bool
读写
R / W / N
饱和度
#7 · saturability
格式
uint8
读写
R / W / N
0 ~ 100,步长 1
凌动开关
#8 · flex-switch
格式
bool
读写
R / W / N
默认上电状态
#9 · default-power-on-state
格式
uint8
读写
R / W / N
1Off
唤醒模式
#10 · wake-up-mode
格式
bool
读写
R / W / N
助眠模式
#11 · sleep-aid-mode
格式
bool
读写
R / W / N
渐变持续时长
#12 · gradual-duration
格式
uint8
读写
1 ~ 30,步长 1
渐变终点亮度
#13 · gradual-end-point-brightness
格式
uint8
读写
0 ~ 100,步长 1
渐变起点亮度
#14 · gradual-start-point-brightness
格式
uint8
读写
0 ~ 100,步长 1
当前颜色模式
#15 · current-color-mode
格式
uint8
读写
R / N
1RGB
2ColorTemperature
多灯工作模式
#16 · multi-light-work-mode
格式
uint8
读写
R / W / N
1Multi Lighting
2Atmosphere
开灯渐变时长
#17 · light-on-gradient-time
格式
float
读写
R / W / N
0 ~ 10,步长 0.5
关灯渐变时长
#18 · light-off-gradient-time
格式
float
读写
R / W / N
0 ~ 10,步长 0.5
流光速度档位
#19 · flow-speed-level
格式
uint8
读写
R / W / N
0Low
1Medium
2High
夜灯开关
#20 · night-light-switch
格式
bool
读写
R / W
启用时间段(格式为:'00:00:00-00:00:00')
#21 · enable-time-period
格式
string
读写
R / W / N
声光律动
#22 · sound-light-rhythm
格式
bool
读写
R / W / N
夜间亮度
#23 · night-brightness
格式
uint8
读写
R / W / N
0 ~ 100,步长 1
色温调节值
#24 · color-temperature-delta
格式
uint16
读写
100 ~ 500,步长 100
亮度调节值
#25 · brightness-delta
格式
uint8
读写
1 ~ 20,步长 1

Actions

开关状态切换
#1 · toggle
查询唤醒模式配置
#2 · get-awake-config
出参
#12渐变持续时长uint8#13渐变终点亮度uint8#14渐变起点亮度uint8
设置唤醒模式配置
#3 · set-awake-config
入参
#12渐变持续时长uint8#13渐变终点亮度uint8#14渐变起点亮度uint8
查询助眠模式配置
#4 · get-asleep-config
出参
#12渐变持续时长uint8#13渐变终点亮度uint8#14渐变起点亮度uint8
设置助眠模式配置
#5 · set-asleep-config
入参
#12渐变持续时长uint8#13渐变终点亮度uint8#14渐变起点亮度uint8
切换灯光模式
#6 · toggle-light-mode
亮度+
#7 · brightness-up
亮度-
#8 · brightness-down
设置夜灯
#9 · set-night-light
入参
#1开关bool#3亮度uint8
设置色温
#10 · set-color-temperature
入参
#5色温uint32#12渐变持续时长uint8
设置亮度
#11 · set-brightness
入参
#3亮度uint8#12渐变持续时长uint8
色温-
#12 · color-temperature-down
入参
#5色温uint32
色温+
#13 · color-temperature-up
入参
#5色温uint32
移动检测传感器
#4 · motion-sensor
属性 10事件 2

Properties

开关
#1 · on
格式
bool
读写
R / W / N
故障
#2 · fault
格式
uint8
读写
R / N
0No Faults
模式
#3 · mode
格式
uint8
读写
R / W / N
0Auto
工作状态
#4 · status
格式
uint8
读写
R / N
1Idle
2Busy
3Delay
光照度
#5 · illumination
格式
float
读写
R / N
0 ~ 10000,步长 1
无移动状态持续时间
#6 · no-motion-duration
格式
uint16
读写
R / N
0 ~ 600,步长 60
移动检测情况
#7 · motion-state
格式
bool
读写
R / N
自定义检测间隔
#8 · custom-detect-interval
格式
uint16
读写
R / W / N
0 ~ 65535,步长 1
自定义超时无人移动时间
#9 · custom-no-motion-time
格式
uint16
读写
R / W / N
0 ~ 65535,步长 1
侦测灵敏度
#10 · detection-sensitivity
格式
uint8
读写
R / W / N
1Low

Events

检测到移动
#1 · motion-detected
设备被重置
#2 · device-be-reset