MIOT HomeMIOT Home
Xiaomi 智能音箱 Pro
#xiaomi.wifispeaker.oh2p

Xiaomi 智能音箱 Pro

urn:miot-spec-v2:device:speaker:0000A015:xiaomi-oh2p:2
版本 v2 v1
语言
Service tree
扬声器
#2 · speaker
属性 2

Properties

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

Properties

播放状态
#1 · playing-state
格式
uint8
读写
R / N
1播放中
0Stop
2Pause

Actions

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

Properties

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

Actions

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

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
勿扰
#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
电视开关
#8 · tv-switch
动作 1

Actions

打开电视
#1 · tv-switchon