
#xiaomi.scales.400pgj
Mijia Body Composition Scale S400 Pro
urn:miot-spec-v2:device:scale:0000A07D:xiaomi-400pgj:1
Language
Service tree
Scale#2 · scale3 properties
Scale
#2 · scale
Properties
Unit
#1 · unit
- Format
- uint8
- Access
- Value
- 0Kilogram3Half Kilogram2Pound
Heart Rate Detection
#2 · heart-rate-detection
- Format
- bool
- Access
- Value
- —
Current Time
#3 · current-time
- Format
- uint32
- Access
- Value
- 0 ~ 4294967295, step 1 seconds
Customized Service For Ble#11 · customized-service-for-ble3 properties1 events
Customized Service For Ble
#11 · customized-service-for-ble
Properties
Customized Argument 5
#1 · customized-argument-5
- Format
- uint8
- Access
- Value
- 0 ~ 1, step 1
Customized Argument 4
#2 · customized-argument-4
- Format
- uint32
- Access
- Value
- 0 ~ 4294967295, step 1
Customized Argument 3
#3 · customized-argument-3
- Format
- uint32
- Access
- Value
- 0 ~ 4294967295, step 1
Events
Customized Event-1
#1022 · customized-event-1
Arguments
#1Customized Argument 5uint8#2Customized Argument 4uint32#3Customized Argument 3uint32
Battery#12 · battery1 properties1 events
Battery
#12 · battery
Properties
Battery Level
#1 · battery-level
- Format
- uint8
- Access
- Value
- 0Normal1Low2UltraLow
Events
Low Battery
#1001 · low-battery
Arguments
#1Battery Leveluint8
user management#6 · user-management12 properties6 actions
user management
#6 · user-management
Properties
Xiaomi ID
#1 · miid
- Format
- int64
- Access
- Value
- 0 ~ 999999999999999, step 1
age
#2 · user-age
- Format
- uint8
- Access
- Value
- 1 ~ 130, step 1
Gender
#3 · user-sex
- Format
- uint8
- Access
- Value
- 1Men2Women
user type
#4 · user-type
- Format
- uint8
- Access
- Value
- 1Main User2Virtual User3Vistor User
user height
#5 · user-height
- Format
- uint8
- Access
- Value
- 20 ~ 250, step 1
user weight
#6 · user-weight
- Format
- uint16
- Access
- Value
- 1 ~ 3000, step 1
user-id
#8 · user-id
- Format
- uint8
- Access
- Value
- 0 ~ 255, step 1
owner
#13 · is-owner
- Format
- bool
- Access
- Value
- —
avatar-idx
#16 · avatar-idx
- Format
- uint8
- Access
- Value
- 1 ~ 10, step 1
user-name
#17 · user-name
- Format
- string
- Access
- Value
- —
user-name-list
#19 · user-name-list
- Format
- string
- Access
- Value
- —
user-name-md
#20 · user-name-md
- Format
- string
- Access
- Value
- —
Actions
Update users
#1 · update-user
Input
#1Xiaomi IDint64#8user-iduint8#13ownerbool#4user typeuint8#2ageuint8#3Genderuint8#5user heightuint8#6user weightuint16#16avatar-idxuint8
Delete user
#2 · del-user
Input
#1Xiaomi IDint64#8user-iduint8
update weight
#3 · updata-weight
Input
#1Xiaomi IDint64#8user-iduint8#6user weightuint16
Switch user
#4 · switch-current-user
Input
#1Xiaomi IDint64#8user-iduint8
update name
#5 · update-name
Input
#1Xiaomi IDint64#8user-iduint8#17user-namestring#20user-name-mdstring
request name list
#6 · request-name-list
Input
#1Xiaomi IDint64
Output
#19user-name-liststring
online-data#8 · online-data
online-data
#8 · online-data
offline-data#9 · offline-data3 properties2 actions1 events
offline-data
#9 · offline-data
Properties
offline-data
#1 · offline-data
- Format
- string
- Access
- Value
- —
idx-string
#2 · idx-string
- Format
- string
- Access
- Value
- —
data-num
#3 · data-num
- Format
- uint8
- Access
- Value
- 0 ~ 255, step 1
Actions
request-offline-data
#1 · request-offline-data
Output
#3data-numuint8
request-offline-data
#2 · comfirm-offline-data
Output
#2idx-string string
Events
report-offline-data
#1 · report-offline-data
Arguments
#1offline-datastring
work-mode#10 · work-mode4 properties4 events
work-mode
#10 · work-mode
Properties
work-mode
#1 · work-mode
- Format
- uint8
- Access
- Value
- 0Normal Mode1Baby Mode2Balance Mode3Vistor Mode4Fisrt Mode
work-status
#2 · work-status
- Format
- uint8
- Access
- Value
- 0 ~ 255, step 1
work-data
#3 · work-data
- Format
- uint16
- Access
- Value
- 0 ~ 65535, step 1
weight-result
#4 · weight-result
- Format
- string
- Access
- Value
- —
Events
baby-data-report
#1 · baby-data-report
Arguments
#2work-statusuint8#3work-datauint16
balance-data-report
#2 · balance-data-report
Arguments
#2work-statusuint8#3work-datauint16
raw-weight-report
#3 · raw-weight-report
Arguments
#2work-statusuint8#3work-datauint16
weight-result-report
#4 · weight-result-report
Arguments
#4weight-resultstring
sync#13 · syncinfo6 properties1 actions
sync
#13 · syncinfo
Properties
string
#1 · json-string
- Format
- string
- Access
- Value
- —
offline-msg-cnt
#6 · offline-msg-cnt
- Format
- uint16
- Access
- Value
- 065535
SN
#7 · sn
- Format
- string
- Access
- Value
- —
MAC
#8 · mac
- Format
- string
- Access
- Value
- —
firmwareversion
#9 · firmwareversion
- Format
- string
- Access
- Value
- —
battery-status
#10 · battery-status
- Format
- uint8
- Access
- Value
- 0Normal1Low2UltraLow
Actions
sync
#1 · sync
Input
#1stringstring
Output
#6offline-msg-cntuint16#7SNstring#8MACstring#9firmwareversionstring#10battery-statusuint8
unshare#14 · share-cancel1 properties1 actions
unshare
#14 · share-cancel
Properties
share-user-list
#1 · share-user-list
- Format
- string
- Access
- Value
- —
Actions
del-share-users
#1 · del-share-users
Input
#1share-user-liststring
system Settings#15 · system-setting2 properties1 actions
system Settings
#15 · system-setting
Properties
screen-luminance
#2 · screen-luminance
- Format
- uint8
- Access
- Value
- 0 ~ 100, step 1 percentage
trend-card
#4 · trend-card
- Format
- string
- Access
- Value
- —
Actions
update
#1 · update
Input
#2screen-luminanceuint8#4trend-cardstring