MIOT HomeMIOT Home
Xiaomi 蓝牙音箱
#xiaomi.wifispeaker.m02a

Xiaomi 蓝牙音箱

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

Properties

音量
#1 · volume
格式
uint8
读写
0 ~ 16,步长 1
电池状态
#3 · battery
属性 2

Properties

电池电量
#1 · battery-level
格式
uint8
读写
0 ~ 100,步长 1
充电状态
#2 · charging-state
格式
bool
读写
播放控制
#4 · play-control
属性 1动作 4

Properties

播放状态
#2 · playing-state
格式
uint8
读写
1Playing
2Pause

Actions

播放
#2 · play
暂停
#3 · pause
上一首
#5 · previous
下一首
#6 · next
灯光
#5 · light
属性 3

Properties

灯光开关
#1 · on
格式
bool
读写
氛围灯的颜色
#3 · color
格式
uint32
读写
0 ~ 16777215,步长 1
氛围灯的模式
#4 · mode
格式
uint8
读写
21流光溢彩
22炫彩闪烁
1纯色常亮
23纯色呼吸
音箱设置项
#6 · setting
属性 6

Properties

自动关机
#1 · auto-shutdown
格式
bool
读写
自动关机时长
#2 · auto-shutdown-time
格式
uint16
读写
1 ~ 300,步长 1
提示音播报
#4 · prompt-broadcast
格式
bool
读写
指示灯
#5 · indicator-light
格式
bool
读写
开机电量广播开关
#6 · power-broadcast
格式
bool
读写
USB声卡
#7 · usb-sound-card
格式
bool
读写
音效
#7 · sound-effect
属性 11动作 5

Properties

音效模式
#1 · mode
格式
uint8
读写
1均衡
2室内
3室外
4自定义
0Null
高音
#2 · treble
格式
int8
读写
-6 ~ 6,步长 1
低音
#3 · bass
格式
int8
读写
-6 ~ 6,步长 1
听感测试的步数
#4 · st-step
格式
uint8
读写
1 ~ 255,步长 1
播放选项
#5 · st-play-option
格式
uint8
读写
1A Sound Effect
2B Sound Effect
用户选择的选项
#6 · st-user-option
格式
uint8
读写
1A Better
2B Better
3Both Well
4None Well
个性化听感模式id
#7 · st-custom-mode-id
格式
uint8
读写
1 ~ 255,步长 1
听感测试中增益数组字符串
#8 · st-gain
格式
string
读写
个性化听感模式绘图系数
#9 · st-ratio
格式
string
读写
中音
#10 · mid
格式
int8
读写
-6 ~ 6,步长 1
设备主动请求停止听感测试
#11 · st-device-cancel
格式
uint8
读写
0NotCancel
1StateChanged
2Timeout

Actions

听感测试-调整音效/开始/取消/完成
#1 · st-adjust-effect
入参
#4听感测试的步数uint8#5播放选项uint8
出参
#7个性化听感模式iduint8#8听感测试中增益数组字符串string#9个性化听感模式绘图系数string
听感测试-用户选中选项进入下一步的动作
#2 · st-select-effect
入参
#4听感测试的步数uint8#6用户选择的选项uint8
设置个性化听感模式
#3 · st-set-custom-mode
入参
#7个性化听感模式iduint8#8听感测试中增益数组字符串string
听感测试-试听功能
#4 · st-audition
入参
#8听感测试中增益数组字符串string
删除个性化听感模式
#5 · st-del-custom-mode
入参
#7个性化听感模式iduint8#8听感测试中增益数组字符串string
组合播放
#8 · combine-playback
属性 4动作 1

Properties

组合播放开关
#1 · on
格式
bool
读写
组合播放模式
#2 · mode
格式
uint8
读写
1Stereo
2Part
组合设备
#3 · combine-equip
格式
string
读写
音箱状态
#4 · combine-state
格式
uint8
读写
0None
1TWSMaster
2TWSSlave
3BISMaster
4BISSlave

Actions

组合设备
#1 · combine-equip
入参
#3组合设备string
其它自定义功能
#9 · custom
属性 1动作 1

Properties

Xiaomi 蓝牙音箱
#1 · default-device-name
格式
string
读写

Actions

退出固件升级页面
#1 · exit-fw-upgrade-page
蓝牙音箱本体
#10 · bluetooth-speaker
属性 1

Properties

连接状态
#1 · connect-state
格式
uint8
读写
1NotConnected
2Connected