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

Ability to change toothbrush led colors #36

Open
Lash-L opened this issue Jan 13, 2023 · 0 comments
Open

Ability to change toothbrush led colors #36

Lash-L opened this issue Jan 13, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Lash-L
Copy link
Collaborator

Lash-L commented Jan 13, 2023

Is your feature request related to a problem? Please describe.
I thought a cool use case for this integration could be the ability to control the toothbrush color. Could be used for fun, aka make a rainbow of colors once you finish brushing. Or it could be used for communication, aka when the light is red, I haven't taken the trash out yet. Not sure about those use cases, but still think it could be a fun integration

Describe the solution you'd like
Ability to set to one of the potential colors and to turn the light on and off.

Additional context

I have determine that a0f0ff2b-5047-4d53-8208-4f72616c2d42 is the char that contains the led color. it is writable, so theoretically it could be changed via a gatt write.

white = bytearray(b'D\xcfc\x00')
blue = bytearray(b'\x0f[\xcc\x00')
turquoise = bytearray(b'\x00\xff=\x00')
pink = bytearray(b'\xb2\t\x1a\x00')
yellow = bytearray(b'\x80\xff\x00\x00')
orange = bytearray(b'\xfcp\x00\x00')

This could potentially be something like a RGB schema and we could unlock additional colors.

I have not found if there is a way to turn the light on or off yet. as just being able to change the ring while I am brushing (and not using pressure) may not be very helpful.

If anyone is aware of any points your toothbrush turns the light ring on other than

  1. when you are changing the light ring color
  2. When you start brushing

That may help with the process.

I will continue to update my findings in here, and if I can find a full solution, I will implement

@Lash-L Lash-L added the enhancement New feature or request label Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant