Cybele icon indicating copy to clipboard operation
Cybele copied to clipboard

soocas.toothbrush.m1s

Open 8times4 opened this issue 5 years ago • 1 comments

Hey Hypfer,

First of all, I love what you did with Valetudo, thank you!

Second, I was wondering is there any chance to expand this project for Xiaomi's Toothbrush T500, aka soocas.toothbrush.m1s? I want to have it cloud free, but not sure where to start.

http://miot-spec.org/miot-spec-v2/spec/device?type=urn:miot-spec-v2:device:toothbrush:0000A07E

returns: {"type":"urn:miot-spec-v2:device:toothbrush:0000A07E","description":"Toothbrush","required-services":["urn:miot-spec-v2:service:device-information:00007801"],"optional-services":["urn:miot-spec-v2:service:toothbrush:0000786D","urn:miot-spec-v2:service:brush-head:0000786C","urn:miot-spec-v2:service:battery:00007805"]}

http://miot-spec.org/miot-spec-v2/spec/service?type=urn:miot-spec-v2:service:toothbrush:0000786D

{"type":"urn:miot-spec-v2:service:toothbrush:0000786D","description":"Toothbrush","required-properties":["urn:miot-spec-v2:property:mode:00000008"],"optional-properties":["urn:miot-spec-v2:property:on:00000006","urn:miot-spec-v2:property:status:00000007","urn:miot-spec-v2:property:fault:00000009","urn:miot-spec-v2:property:target-time:00000078"]}

http://miot-spec.org/miot-spec-v2/spec/property?type=urn:miot-spec-v2:service:device-information:00007801

{"type":"urn:miot-spec-v2:service:device-information:00007801","description":"Device Information","required-properties":["urn:miot-spec-v2:property:manufacturer:00000001","urn:miot-spec-v2:property:model:00000002","urn:miot-spec-v2:property:serial-number:00000003","urn:miot-spec-v2:property:firmware-revision:00000005"],"optional-properties":["urn:miot-spec-v2:property:serial-no:000000FF"]}

It mainly have a few functions only: ie:

  • Favourite mode
  • some config for extra 30sec whitening OR 10 secs tongue cleaning
  • it has a basic counter for 90 day brush replacement
  • pressure detection and then you'll get an upper lower shot of your coverage and pressures + a score.

Config is lost every time the device charges..which sucks, I reported it to Xiaomi but they gave 0 shits :)

Let me know if there's a chance, and if yes, what could I start with.

Thank you, Mark

8times4 avatar Feb 26 '21 23:02 8times4

A good start is to use something like https://play.google.com/store/apps/details?id=com.macdom.ble.blescanner to connect to the toothbrush and look at the services it provides

The miot spec might probably be not that important here, unless they actually do miio over BLE

Hypfer avatar Apr 21 '21 18:04 Hypfer