MIOT HomeMIOT Home
小米智能多模网关2
#lumi.gateway.mcn001

小米智能多模网关2

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

Properties

接入方式
#1 · access-mode
格式
uint8
读写
R / W / N
值
0有线
12.4G 无线
25G 无线
IP地址
#2 · ip-address
格式
string
读写
R / N
值
—
WiFi网络名称(写权限无效)
#3 · wifi-ssid
格式
string
读写
R / W / N
值
—
当前时间:Unix 时间戳,单位:秒
#4 · current-time
格式
string
读写
值
—
网络变化状态string_fmt:{access-mode:{last:0,now:1],ip:{last:xx,now:xx},wifi-ssid:{last:xx,now:xx},time:12345678}}}
#5 · access-mode
格式
string
读写
R / W / N
值
—

Events

网络发生变化
#1 · network-changed
触发参数
#1接入方式uint8#2IP地址string#4当前时间:Unix 时间戳,单位:秒string
网关按键
#4 · switch-sensor
事件 3

Events

单击
#1 · click
双击
#2 · double-click
长按
#3 · long-press
设备确认
#20 · identify
动作 1

Actions

Identify
#1 · identify
指示灯与勿扰模式配置
#6 · do-not-disturb-mode
属性 3

Properties

勿扰模式状态(开/关)
#1 · status
格式
uint8
读写
W / R / N
值
0Close
1Open
生效时间段(格式:21:00-09:00)
#2 · effective-time
格式
string
读写
R / N / W
值
—
指示灯亮度
#3 · indicator-brightness
格式
uint8
读写
R / N / W
值
1 ~ 100,步长 1 percentage
网关防误删功能
#7 · accidental-deletion
属性 1事件 1

Properties

网关防误删状态
#1 · status
格式
uint8
读写
R / N / W
值
0Close
1Open

Events

网关防误删功能开启后,尝试长按10s重置键上报该事件
#1 · event-unbind