Ability to change toothbrush led colors
Lash-L opened this issue · comments
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
- when you are changing the light ring color
- 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