
#xiaomi.btspker.oh3s
Xiaomi 随身蓝牙音箱
urn:miot-spec-v2:device:ble-speaker:0000A0E4:xiaomi-oh3s:2
Language
Service tree
Speaker#2 · speaker1 properties
Speaker
#2 · speaker
Properties
volume
#1 · volume
- Format
- uint8
- Access
- Value
- 0 ~ 100, step 1
Battery Status#3 · battery2 properties
Battery Status
#3 · battery
Properties
Battery level
#1 · battery-level
- Format
- uint8
- Access
- Value
- 0 ~ 100, step 1 percentage
Charging
#2 · charging-state
- Format
- bool
- Access
- Value
- —
Play status#4 · play-control7 properties4 actions
Play status
#4 · play-control
Properties
Playing status
#1 · playing-state
- Format
- uint8
- Access
- Value
- 1Playing2Pause
Playback Mode
#2 · playing-mode
- Format
- uint8
- Access
- Value
- 1BT-mode2LOCAL-mode3USB-mode
Loop Mode
#3 · cycle-mode
- Format
- uint8
- Access
- Value
- 1List-cycle2Random-cycle3One-cycle
Total music playback time
#4 · music-total-time
- Format
- string
- Access
- Value
- —
Current music playing time
#5 · music-cur-time
- Format
- string
- Access
- Value
- —
Local mode disabled
#6 · local-mode-disabled
- Format
- bool
- Access
- Value
- —
#7 · playing-mode-error
- Format
- bool
- Access
- Value
- —
Actions
Play
#1 · play
Pause
#2 · pause
Previous
#3 · previous
Next
#4 · next
light#5 · light3 properties
light
#5 · light
Properties
light switch
#1 · on
- Format
- bool
- Access
- Value
- —
Ambient light color
#2 · color
- Format
- uint32
- Access
- Value
- 0 ~ 16777215, step 1
Ambient light mode
#3 · mode
- Format
- uint8
- Access
- Value
- 21Flow22Flare1Color23Breath
Speaker settings#6 · setting5 properties
Speaker settings
#6 · setting
Properties
Automatic shutdown
#1 · auto-shutdown
- Format
- bool
- Access
- Value
- —
Automatic shutdown time
#2 · auto-shutdown-time
- Format
- uint16
- Access
- Value
- 1 ~ 300, step 1 minutes
Prompt tone broadcast
#4 · prompt-broadcast
- Format
- bool
- Access
- Value
- —
indicator light
#5 · indicator-light
- Format
- bool
- Access
- Value
- —
Power on broadcast switch
#6 · power-broadcast
- Format
- bool
- Access
- Value
- —
Sound Effects#7 · sound-effect11 properties5 actions
Sound Effects
#7 · sound-effect
Properties
Sound Effect Mode
#1 · mode
- Format
- uint8
- Access
- Value
- 1Balance2Indoor3Outdoor4Custom0Null
high notes
#2 · treble
- Format
- int8
- Access
- Value
- -6 ~ 6, step 1 dB
bass
#3 · bass
- Format
- int8
- Access
- Value
- -6 ~ 6, step 1 dB
Number of steps in the hearing test
#4 · st-step
- Format
- uint8
- Access
- Value
- 1 ~ 255, step 1
Playback Options
#5 · st-play-option
- Format
- uint8
- Access
- Value
- 1A Sound Effect2B Sound Effect
User-selected options
#6 · st-user-option
- Format
- uint8
- Access
- Value
- 1A Better2B Better3Both Well4None Well
Personalized hearing mode ID
#7 · st-custom-mode-id
- Format
- uint8
- Access
- Value
- 1 ~ 255, step 1
Gain array string in listening test
#8 · st-gain
- Format
- string
- Access
- Value
- —
Personalized hearing mode mapping coefficient
#9 · st-ratio
- Format
- string
- Access
- Value
- —
midrange
#10 · mid
- Format
- int8
- Access
- Value
- -6 ~ 6, step 1 dB
The device actively requests to stop the hearing test
#11 · st-device-cancel
- Format
- uint8
- Access
- Value
- 0NotCancel1StateChanged2Timeout
Actions
Listening Test - Adjust Sound Effects/Start/Cancel/Complete
#1 · st-adjust-effect
Input
#4Number of steps in the hearing testuint8#5Playback Optionsuint8
Output
#7Personalized hearing mode IDuint8#8Gain array string in listening teststring#9Personalized hearing mode mapping coefficientstring
Listening test - the user selects an option to proceed to the next step
#2 · st-select-effect
Input
#4Number of steps in the hearing testuint8#6User-selected optionsuint8
Set up personalized listening mode
#3 · st-set-custom-mode
Input
#7Personalized hearing mode IDuint8#8Gain array string in listening teststring
Listening Test-Audio Test Function
#4 · st-audition
Input
#8Gain array string in listening teststring
Delete personalized listening mode
#5 · st-del-custom-mode
Input
#7Personalized hearing mode IDuint8#8Gain array string in listening teststring
Combination Playback#8 · combine-playback4 properties1 actions
Combination Playback
#8 · combine-playback
Properties
Combination play switch
#1 · on
- Format
- bool
- Access
- Value
- —
Combined playback mode
#2 · mode
- Format
- uint8
- Access
- Value
- 1Stereo2Part
Combination equipment
#3 · combine-equip
- Format
- string
- Access
- Value
- —
Speaker status
#4 · combine-state
- Format
- uint8
- Access
- Value
- 0None1TWSMaster2TWSSlave3BISMaster4BISSlave
Actions
Combination equipment
#1 · combine-equip
Input
#3Combination equipmentstring
Other custom functions#9 · custom1 properties1 actions
Other custom functions
#9 · custom
Properties
Xiaomi Bluetooth Speaker
#1 · default-device-name
- Format
- string
- Access
- Value
- —
Actions
Exit the firmware upgrade page
#1 · exit-fw-upgrade-page
Bluetooth speaker body#10 · bluetooth-speaker1 properties
Bluetooth speaker body
#10 · bluetooth-speaker
Properties
Connection Status
#1 · connect-state
- Format
- uint8
- Access
- Value
- 1NotConnected2Connected
WiFi#11 · wifi7 properties6 actions
WiFi
#11 · wifi
Properties
Wi-Fi status
#1 · wifi-state
- Format
- uint8
- Access
- Value
- 1NotConnected2Connecting3Connected
WiFi SSID
#2 · wifi-ssid
- Format
- string
- Access
- Value
- —
WiFi password
#3 · wifi-password
- Format
- string
- Access
- Value
- —
Connection exception error code
#4 · error-code
- Format
- uint8
- Access
- Value
- 0Success1Failed-Password2Failed-No-Wifi3Failed-Timeout4Failed-IP5Failed-Protocol
WiFi list members (two-dimensional array)
#5 · scan-wifi-member
- Format
- string
- Access
- Value
- —
Heartbeat interval
#6 · keep-alive-interval
- Format
- uint8
- Access
- Value
- 0 ~ 100, step 1
Maximum number of lost heartbeats
#7 · keep-alive-max-miss
- Format
- uint8
- Access
- Value
- 0 ~ 100, step 1
Actions
Connect to Wi-Fi
#1 · connect
Input
#2WiFi SSIDstring#3WiFi passwordstring
Connect to Wi-Fi without a password
#2 · connect-only-ssid
Input
#2WiFi SSIDstring
Start WiFi Scan
#3 · wifi-scan-open
Input
#6Heartbeat intervaluint8#7Maximum number of lost heartbeatsuint8
Turn off WiFi scanning
#4 · wifi-scan-close
wifi-keep-alive
#5 · wifi-keep-alive
keep-alive-close
#6 · keep-alive-close
SD card#12 · sd4 properties1 actions
SD card
#12 · sd
Properties
SD card status
#1 · sd-state
- Format
- uint8
- Access
- Value
- 1Normal2Abnormal
Total storage
#2 · sd-storage-total
- Format
- string
- Access
- Value
- —
Used storage space
#3 · sd-storage-used
- Format
- string
- Access
- Value
- —
Insufficient storage space
#4 · sd-storage-full
- Format
- bool
- Access
- Value
- —
Actions
format
#1 · sd-format
Playlist#13 · playing-list18 properties13 actions
Playlist
#13 · playing-list
Properties
Song ID
#1 · music-id
- Format
- string
- Access
- Value
- —
Song ID List
#2 · music-ids
- Format
- string
- Access
- Value
- —
Read the starting value of the ids partition
#3 · music-ids-offset
- Format
- uint16
- Access
- Value
- 0 ~ 65535, step 1
Read the number of ids
#4 · music-ids-count
- Format
- uint8
- Access
- Value
- 0 ~ 100, step 1
Song information
#5 · music-info
- Format
- string
- Access
- Value
- —
refresh-token
#6 · refresh-token
- Format
- string
- Access
- Value
- —
User ID
#7 · user-id
- Format
- string
- Access
- Value
- —
Third-party music sources
#8 · cp-name
- Format
- uint8
- Access
- Value
- 1QQ2WY
Synchronization Status
#9 · sync-state
- Format
- uint8
- Access
- Value
- 1Synchronizing2Idle3Finish4Error
Synchronize favorites switch
#10 · sync-favorite-switch
- Format
- bool
- Access
- Value
- —
Number of songs downloaded from NetEase Cloud Music
#11 · music-downloaded-wy
- Format
- uint16
- Access
- Value
- 0 ~ 65535, step 1
Number of songs downloaded by Qyin
#12 · music-downloaded-qq
- Format
- uint16
- Access
- Value
- 0 ~ 65535, step 1
Total number of synchronizations
#13 · sync-total
- Format
- uint16
- Access
- Value
- 0 ~ 65535, step 1
Number of completed synchronizations
#14 · sync-completed
- Format
- uint16
- Access
- Value
- 0 ~ 65535, step 1
Number of songs with abnormal synchronization
#15 · sync-error
- Format
- uint16
- Access
- Value
- 0 ~ 65535, step 1
Synchronous error codes
#16 · error-code
- Format
- uint8
- Access
- Value
- 0Not-error1Network-error2Insufficient-storage3Download-prohibited4Download-limit-exceeded
Local song information synchronization key
#17 · music-data-key
- Format
- int64
- Access
- Value
- 0 ~ 999999999999999, step 1
#18 · local-muisc-enable
- Format
- bool
- Access
- Value
- —
Actions
Delete local music
#1 · delete-music-by-ids
Input
#2Song ID Liststring#8Third-party music sourcesuint8
Set synchronization information
#2 · set-sync-info
Input
#6refresh-tokenstring#7User IDstring
Synchronized Music
#3 · sync-music
Input
#2Song ID Liststring#8Third-party music sourcesuint8
Get song ID list
#4 · get-music-ids
Input
#3Read the starting value of the ids partitionuint16#4Read the number of idsuint8#8Third-party music sourcesuint8
Output
#2Song ID Liststring
Get song information based on song ID
#5 · get-music-info
Input
#1Song IDstring#8Third-party music sourcesuint8
Output
#5Song informationstring
Play songs by song ID
#6 · play-music-id
Input
#1Song IDstring#8Third-party music sourcesuint8
Reset song synchronization status (used to cancel completed and abnormal)
#7 · reset-sync-state
Get song exception list information based on partition
#8 · get-sync-error-info
Input
#3Read the starting value of the ids partitionuint16#4Read the number of idsuint8
Output
#2Song ID Liststring
Force abort download
#9 · sync-forced-end
get-music-ids-nocp
#10 · get-music-ids-nocp
Input
#3Read the starting value of the ids partitionuint16#4Read the number of idsuint8
Output
#2Song ID Liststring
cp-unbind
#11 · cp-unbind
Input
#8Third-party music sourcesuint8
cp-clear-data
#12 · cp-clear-data
Input
#8Third-party music sourcesuint8
local-mode-reset
#13 · local-mode-reset
CP account status#14 · cp-account-status5 properties1 actions
CP account status
#14 · cp-account-status
Properties
QQ Music account binding status
#1 · qq-account-binding
- Format
- uint8
- Access
- Value
- 0Not-binding1Not-VIP2VIP
NetEase Cloud Music account binding status
#2 · wy-account-binding
- Format
- uint8
- Access
- Value
- 0Not-binding1Not-VIP2VIP
QQ Music VIP expiration date
#3 · qq-vip-expired-time
- Format
- uint32
- Access
- Value
- 0 ~ 4294967295, step 1
NetEase Cloud Music VIP expiration timestamp
#4 · wy-vip-expired-time
- Format
- uint32
- Access
- Value
- 0 ~ 4294967295, step 1
#5 · get-qq-account-state
- Format
- bool
- Access
- Value
- —
Actions
CP party account status
#1 · cp-account-status
Input
#1QQ Music account binding statusuint8#2NetEase Cloud Music account binding statusuint8#3QQ Music VIP expiration dateuint32#4NetEase Cloud Music VIP expiration timestampuint32
Authentication quick test#15 · demo-test2 properties
Authentication quick test
#15 · demo-test
Properties
Binding period authentication control switch
#1 · binding-life-ctrl
- Format
- bool
- Access
- Value
- —
VIP authentication control switch
#2 · vip-life-ctrl
- Format
- bool
- Access
- Value
- —