MIOT HomeMIOT Home
Xiaomi Sound
#xiaomi.wifispeaker.l16a

Xiaomi Sound

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

Properties

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

Properties

播放状态
#1 · playing-state
格式
uint8
读写
R / N
1播放中
0Stop
2Pause
播放控制时间
#2 · seek-time
格式
int16
读写
-30000 ~ 30000,步长 10
播放循环模式
#3 · play-loop-mode
格式
uint8
读写
R / W / N
1单曲循环

Actions

播放控制
#1 · seek
入参
#2播放控制时间int16
播放
#2 · play
暂停
#3 · pause
结束播放
#4 · stop
上一首
#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
1闲置
2繁忙
故障
#3 · fault
格式
uint8
读写
R / N
0设备状态正常
铃声
#4 · ringtone
格式
uint8
读写
R / W / N
1 ~ 5,步长 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
声音识别
#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 · sound-detection
格式
bool
读写
R / W / N
分贝检测功能开关
#4 · noise-detection
格式
bool
读写
R / W / N

Events

识别到声音
#1 · sound-recognition
触发参数
#1声音类型uint8
电视开关
#8 · tv-switch
动作 1

Actions

打开电视
#1 · tv-switchon