MIOT HomeMIOT Home
Xiaomi Bluetooth Speaker
#xiaomi.wifispeaker.m02g

Xiaomi Bluetooth Speaker

urn:miot-spec-v2:device:speaker:0000A015:xiaomi-m02g:1
語言
Service tree
/
#2 · speaker
屬性 1

Properties

/
#1 · volume
格式
uint8
讀寫
值
0 ~ 16,步長 1
Battery Status
#3 · battery
屬性 2

Properties

Battery level
#1 · battery-level
格式
uint8
讀寫
值
0 ~ 100,步長 1 percentage
Charging
#2 · charging-state
格式
bool
讀寫
值
—
Play status
#4 · play-control
屬性 1動作 4

Properties

Playing status
#2 · playing-state
格式
uint8
讀寫
值
1Playing
2Pause

Actions

Play
#2 · play
Pause
#3 · pause
Previous
#5 · previous
Next
#6 · next
Light
#5 · light
屬性 3

Properties

Light switch
#1 · on
格式
bool
讀寫
值
—
/
#3 · color
格式
uint32
讀寫
值
0 ~ 16777215,步長 1
/
#4 · mode
格式
uint8
讀寫
值
21Flowing
22Blinking
1Solid
23Breathing
Speaker setting
#6 · setting
屬性 5

Properties

Auto shutdown
#1 · auto-shutdown
格式
bool
讀寫
值
—
Standby time
#2 · auto-shutdown-time
格式
uint16
讀寫
值
1 ~ 300,步長 1 minutes
Prompt broadcast
#4 · prompt-broadcast
格式
bool
讀寫
值
—
Indicator light
#5 · indicator-light
格式
bool
讀寫
值
—
Auto battery prompt switch
#6 · power-broadcast
格式
bool
讀寫
值
—
Sound effects
#7 · sound-effect
屬性 11動作 5

Properties

Sound effects
#1 · mode
格式
uint8
讀寫
值
1Balanced
2Indoor
3Outdoor
4Custom
0Null
Treble
#2 · treble
格式
int8
讀寫
值
-6 ~ 6,步長 1 dB
Bass
#3 · bass
格式
int8
讀寫
值
-6 ~ 6,步長 1 dB
SoundID steps
#4 · st-step
格式
uint8
讀寫
值
1 ~ 255,步長 1
Play option
#5 · st-play-option
格式
uint8
讀寫
值
1A Sound Effect
2B Sound Effect
User choice
#6 · st-user-option
格式
uint8
讀寫
值
1A Better
2B Better
3Both Well
4None Well
SoundID effect ID
#7 · st-custom-mode-id
格式
uint8
讀寫
值
1 ~ 255,步長 1
SoundID gain
#8 · st-gain
格式
string
讀寫
值
—
SoundID charter ratio
#9 · st-ratio
格式
string
讀寫
值
—
Alto
#10 · mid
格式
int8
讀寫
值
-6 ~ 6,步長 1 dB
/
#11 · st-device-cancel
格式
uint8
讀寫
值
0/
1/
2/

Actions

SoundID test - adjust sound effect/start/cancel/finish
#1 · st-adjust-effect
入參
#4SoundID stepsuint8#5Play optionuint8
出參
#7SoundID effect IDuint8#8SoundID gainstring#9SoundID charter ratiostring
SoundID test - next
#2 · st-select-effect
入參
#4SoundID stepsuint8#6User choiceuint8
Set SoundID effect
#3 · st-set-custom-mode
入參
#7SoundID effect IDuint8#8SoundID gainstring
SoundID - Audition
#4 · st-audition
入參
#8SoundID gainstring
Delete SoundID effect
#5 · st-del-custom-mode
入參
#7SoundID effect IDuint8#8SoundID gainstring
Combo play
#8 · combine-playback
屬性 4動作 1

Properties

Combo play switch
#1 · on
格式
bool
讀寫
值
—
Combo play mode
#2 · mode
格式
uint8
讀寫
值
1Stereo
2Part
Combo speaker
#3 · combine-equip
格式
string
讀寫
值
—
Speaker status
#4 · combine-state
格式
uint8
讀寫
值
0None
1TWSMaster
2TWSSlave
3BISMaster
4BISSlave

Actions

Combo speaker
#1 · combine-equip
入參
#3Combo speakerstring
Additional customize settings
#9 · custom
屬性 1動作 1

Properties

Xiaomi Bluetooth Speaker
#1 · default-device-name
格式
string
讀寫
值
—

Actions

Exit upgrade
#1 · exit-fw-upgrade-page
Speaker
#10 · bluetooth-speaker
屬性 1

Properties

Connect status
#1 · connect-state
格式
uint8
讀寫
值
1NotConnected
2Connected