Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

soocas.toothbrush.m1s #16

Open
8times4 opened this issue Feb 26, 2021 · 1 comment
Open

soocas.toothbrush.m1s #16

8times4 opened this issue Feb 26, 2021 · 1 comment

Comments

@8times4
Copy link

8times4 commented Feb 26, 2021

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

@Hypfer
Copy link
Owner

Hypfer commented Apr 21, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants