MIOT HomeMIOT Home
背景音乐
#xfocus.wifispeaker.xfos

背景音乐

urn:miot-spec-v2:device:speaker:0000A015:xfocus-xfos:2
版本 v2 v1
語言
Service tree
扬声器
#2 · speaker
屬性 2

Properties

音量
#1 · volume
格式
uint8
讀寫
R / W / N
值
0 ~ 100,步長 1 percentage
静音
#2 · mute
格式
bool
讀寫
R / W / N
值
—
播放控制
#3 · play-control
屬性 2動作 6

Properties

播放状态
#1 · playing-state
格式
uint8
讀寫
R / N
值
1Playing
2Paused
播放控制时间
#2 · seek-time
格式
int16
讀寫
值
-30000 ~ 30000,步長 10 seconds

Actions

播放控制
#1 · seek
入參
#2播放控制时间int16
播放
#2 · play
暂停
#3 · pause
结束播放
#4 · stop
上一首
#5 · previous
下一首
#6 · next
智能音箱
#5 · intelligent-speaker
屬性 1動作 1

Properties

文本内容
#1 · text-content
格式
string
讀寫
值
—

Actions

播放文本
#3 · play-text
入參
#1文本内容string
音乐其它功能
#6 · music-other
屬性 6動作 6

Properties

歌手
#1 · singer
格式
string
讀寫
值
—
歌曲名
#2 · song-name
格式
string
讀寫
值
—
歌曲总时长
#3 · duration
格式
int32
讀寫
值
0 ~ 10000,步長 1 seconds
音源
#4 · audio-source
格式
string
讀寫
值
—
歌曲图片
#5 · song-pic
格式
string
讀寫
值
—
控制自动化关联的场景
#6 · control-scene
格式
uint16
讀寫
N / W / R
值
0 ~ 255,步長 1

Actions

切换音源
#1 · set-audio-source
设置播放模式, 点击切换到下一个模式
#2 · set-play-mode
根据滑动条,设置音量
#3 · set-volume
入參
#3歌曲总时长int32
通知背景音乐,上传最新的设备状态
#4 · update-all-status
下发场景配置信息
#5 · download-scene-info
入參
#2歌曲名string
play-tts
#6 · play-tts