MIOT HomeMIOT Home
Xiaomi 智能家庭屏 11
#xiaomi.wifispeaker.oh11

Xiaomi 智能家庭屏 11

urn:miot-spec-v2:device:speaker:0000A015:xiaomi-oh11:1
语言
Service tree
扬声器
#2 · speaker
属性 1

Properties

音量
#1 · volume
格式
uint8
读写
R / W / N
值
0 ~ 100,步长 1
播放控制
#3 · play-control
属性 3动作 5

Properties

播放状态
#1 · playing-state
格式
uint8
读写
R / N
值
1播放中
0已停止
2已暂停
播放控制时间
#2 · seek-time
格式
int16
读写
值
-30000 ~ 30000,步长 10
播放循环模式
#3 · play-loop-mode
格式
uint8
读写
R / W / N
值
1Single Cycle

Actions

播放控制
#1 · seek
播放
#2 · play
暂停
#3 · pause
上一首
#5 · previous
下一首
#6 · next
麦克风
#4 · microphone
属性 1

Properties

静音
#1 · mute
格式
bool
读写
R / W / N
值
—
闹钟
#6 · clock
属性 4动作 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N
值
—
工作状态
#2 · status
格式
uint8
读写
R / N
值
1Idle
2Busy
故障
#3 · fault
格式
uint8
读写
R / N
值
0No Faults
铃声
#4 · ringtone
格式
uint8
读写
R / W / N
值
1 ~ 5,步长 1

Actions

停止闹钟
#1 · stop-alarm
智能音箱
#7 · intelligent-speaker
属性 4动作 6事件 2

Properties

文本内容
#1 · text-content
格式
string
读写
值
—
指令静默执行
#2 · silent-execution
格式
bool
读写
值
—
睡眠模式
#3 · sleep-mode
格式
bool
读写
R / W / N
值
—
音频ID
#4 · audio-id
格式
string
读写
R / N
值
—

Actions

唤醒
#1 · wake-up
播放电台
#2 · play-radio
播放文本
#3 · play-text
入参
#1文本内容string
执行文本指令
#4 · execute-text-directive
入参
#1文本内容string#2指令静默执行bool
播放音乐
#5 · play-music
中止TTS
#6 · stop-tts

Events

对话结束
#1 · dialogue-end
语音唤醒
#2 · wake-up-by-voice
勿扰
#9 · no-disturb
属性 2

Properties

勿扰
#1 · no-disturb
格式
bool
读写
R / W / N
值
—
启用时间段(格式为:'00:00:00-00:00:00')
#2 · enable-time-period
格式
string
读写
R / W / N
值
—
声音识别
#10 · sound-recognition
属性 4事件 1

Properties

声音类型
#1 · voice-type
格式
uint8
读写
值
7打响指
6家用报警器
1婴儿啼哭
5火警
4流水
2猫叫
3狗叫
噪音分贝
#2 · noise-decibel
格式
uint8
读写
R / N
值
0 ~ 200,步长 1
分贝检测功能开关
#3 · noise-detection
格式
bool
读写
R / W / N
值
—
环境音检测功能开关
#4 · sound-detection
格式
bool
读写
R / W / N
值
—

Events

识别到声音
#1 · sound-recognition
触发参数
#1声音类型uint8
虚拟服务
#11 · virtual-service
属性 1动作 1事件 1

Properties

虚拟参数
#1 · virtual-param
格式
string
读写
值
—

Actions

触发虚拟事件
#1 · emit-virtual-event
入参
#1虚拟参数string

Events

虚拟事件
#1 · virtual-event
触发参数
#1虚拟参数string
闹钟
#12 · clock
属性 5动作 1事件 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N
值
—
工作状态
#2 · status
格式
uint8
读写
R / N
值
1Idle
2Busy
3Delay
故障
#3 · fault
格式
uint8
读写
R / N
值
0No Faults
铃声类型
#4 · ringtone
格式
uint8
读写
R / W / N
值
1 ~ 5,步长 1
标识
#5 · identity
格式
string
读写
值
—

Actions

停止闹钟
#1 · stop-alarm

Events

闹钟通用事件
#1 · alarm-event
触发参数
#5标识string
打开电视
#8 · tv-switch
动作 1

Actions

打开电视
#1 · tv-switchon