MIOT HomeMIOT Home
米家儿童电动牙刷 Pro
#xiaomi.toothbrush.m04

米家儿童电动牙刷 Pro

urn:miot-spec-v2:device:toothbrush:0000A07E:xiaomi-m04:1
版本 v2 v1
語言
Service tree
Toothbrush
#2 · toothbrush
屬性 3事件 1

Properties

当前时间(unix timestamp)
#1 · current-time
格式
uint32
讀寫
值
0 ~ 4294967295,步長 1 seconds
刷牙模式
#2 · mode
格式
uint8
讀寫
值
0柔和模式
1清洁模式
2分龄模式
异常情况
#3 · abnormal-condition
格式
uint8
讀寫
值
0刷牙完成
1刷牙间隔过长
2刷牙时长不足
3过压次数过多
4清洁效果不佳

Events

发生异常
#1007 · exception-occurred
觸發參數
#3异常情况uint8
Brush Head
#4 · brush-head
屬性 1動作 1

Properties

刷头剩余量
#1041 · brush-head-left-level
格式
uint8
讀寫
N / R
值
0 ~ 100,步長 1 percentage

Actions

重置刷头
#1 · reset-brush-head-life
入參
#1041刷头剩余量uint8
Battery
#3 · battery
屬性 2事件 1

Properties

电池电量
#1003 · battery-level
格式
uint8
讀寫
N / R
值
0 ~ 100,步長 1 percentage
电池充电状态
#1034 · charging-state
格式
uint8
讀寫
N / R
值
0未充电
1充电中
2充满电
3充电潮湿

Events

电量低
#1001 · low-battery
刷牙记录同步
#5 · customized-service-for-ble
屬性 5事件 1

Properties

模式(2位)+得分(7位)+菌斑(7位)+时长(10位)+覆盖不足区(6位)
#1 · customized-argument-1
格式
uint32
讀寫
值
0 ~ 4294967295,步長 1
总覆盖率(8位)
#2 · customized-argument-2
格式
uint8
讀寫
值
0 ~ 255,步長 1
总过压数(10位)+过压触发区(6位)+总过快数(10位)+过快触发区(6位)
#3 · customized-argument-3
格式
uint32
讀寫
值
0 ~ 4294967295,步長 1
刷牙记录时间戳
#4 · customized-argument-4
格式
uint32
讀寫
值
0 ~ 4294967295,步長 1
刷头剩余次数
#1018 · customized-property-1
格式
uint8
讀寫
N / R
值
0 ~ 180,步長 1

Events

刷牙结束数据上报(ble专用,参数长度不能超过9字节)
#1022 · customized-event-1
觸發參數
#1模式(2位)+得分(7位)+菌斑(7位)+时长(10位)+覆盖不足区(6位)uint32#2总覆盖率(8位)uint8#3总过压数(10位)+过压触发区(6位)+总过快数(10位)+过快触发区(6位)uint32
刷牙过程数据
#6 · brushing-data
屬性 5事件 1

Properties

模式(2位)+得分(7位)+菌斑(7位)+时长(10位)+覆盖不足区(6位)
#1 · brushing-data-a
格式
uint32
讀寫
值
0 ~ 4294967295,步長 1
总覆盖率(8位)
#2 · brushing-data-b
格式
uint8
讀寫
值
0 ~ 255,步長 1
总过压数(10位)+过压触发区(6位)+总过快数(10位)+过快触发区(6位)
#3 · brushing-data-c
格式
uint32
讀寫
值
0 ~ 4294967295,步長 1
过压位(1位)+过快位(1位)+当前刷牙区域(6位)
#4 · brushing-data-d
格式
uint8
讀寫
值
0 ~ 255,步長 1
刷牙状态
#5 · brushing-state
格式
uint8
讀寫
值
0Brushing
1Pause
2TimingStop
3BrushEnd

Events

刷牙过程数据上报
#1 · brushing-data
觸發參數
#1模式(2位)+得分(7位)+菌斑(7位)+时长(10位)+覆盖不足区(6位)uint32#2总覆盖率(8位)uint8#3总过压数(10位)+过压触发区(6位)+总过快数(10位)+过快触发区(6位)uint32#4过压位(1位)+过快位(1位)+当前刷牙区域(6位)uint8
牙刷模式配置
#7 · mode-config
屬性 6

Properties

刷牙时长
#1 · once-duration
格式
uint16
讀寫
值
0 ~ 65535,步長 1 seconds
开启柔和模式
#2 · open-mode-soft
格式
bool
讀寫
值
—
开启清洁模式
#3 · open-mode-clean
格式
bool
讀寫
值
—
开启分龄模式
#4 · open-mode-age
格式
bool
讀寫
值
—
分龄模式组别,0:乳牙期(3~6岁),1:换牙期(7~12岁)
#5 · mode-age-group
格式
bool
讀寫
值
—
分龄模式力度,0:弱, 1:中, 2:强
#6 · mode-age-level
格式
uint8
讀寫
值
0Level-1
1Level-2
2Level-3
牙刷功能设置
#8 · function-settings
屬性 10

Properties

惯用手:0-右手,1-左手
#1 · usual-hand
格式
bool
讀寫
值
—
开启旅行锁:0-关,1-开
#2 · open-travel-lock
格式
bool
讀寫
值
—
开启3S渐强:0-关,1-开
#3 · open-fade-in
格式
bool
讀寫
值
—
开启30S换区提醒:0-关,1-开
#4 · open-change-zone-tip
格式
bool
讀寫
值
—
开启压力正常检测:0-关,1-开
#5 · open-pressure-normal
格式
bool
讀寫
值
—
开启压力过载检测:0-关,1-开
#6 · open-pressure-over
格式
bool
讀寫
值
—
开启横刷过快检测:0-关,1-开
#7 · open-too-fast-check
格式
bool
讀寫
值
—
当前主题
#8 · cur-theme
格式
uint8
讀寫
值
0Default
1User-1
2User-2
已存储主题
#9 · stored-theme
格式
uint8
讀寫
值
0NULL
1User-1
2User-2
开启记录
#10 · open-record
格式
bool
讀寫
值
—
刷牙区域配置
#9 · brush-area
屬性 7

Properties

左上时长(8位) + 左下时长(8位)
#1 · left-duration
格式
uint16
讀寫
值
0 ~ 65535,步長 1
中上时长(8位) + 中下时长(8位)
#2 · middle-duration
格式
uint16
讀寫
值
0 ~ 65535,步長 1
右上时长(8位) + 右下时长(8位)
#3 · right-duration
格式
uint16
讀寫
值
0 ~ 65535,步長 1
左上(8位) + 左下(8位) ,0代表减弱,1代表正常,2代表增强
#4 · left-strength
格式
uint16
讀寫
值
0 ~ 65535,步長 1
中上(8位) + 中下(8位) ,0代表减弱,1代表正常,2代表增强
#5 · middle-strength
格式
uint16
讀寫
值
0 ~ 65535,步長 1
右上(8位) + 右下(8位) ,0代表减弱,1代表正常,2代表增强
#6 · right-strength
格式
uint16
讀寫
值
0 ~ 65535,步長 1
配置开关
#7 · config-open
格式
bool
讀寫
值
—