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

Add support for Pro 5000 #51

Open
jcbshw opened this issue May 30, 2024 · 0 comments
Open

Add support for Pro 5000 #51

jcbshw opened this issue May 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jcbshw
Copy link

jcbshw commented May 30, 2024

Currently identified as a Smart Series 6000 and the only issue is when I go to "Sensitive" mode it displays as "Off"

I pulled the following from my debug logs.

AdvertisementData(local_name='Oral-B Toothbrush', manufacturer_data={220: b"\x04'\r\x032\x00\n\x01\x01!\x04"}, service_uuids=['0000fe0d-0000-1000-8000-00805f9b34fb'], tx_power=-127, rssi=-93) match: set()

I tried adding the following to parser.py in Home Assistant but couldn't get the model detected.

Pro5000 = auto()
Models.Pro5000: ModelDescription("Pro 5000", SMART_SERIES_MODES),
b"\x04'\r": Models.Pro5000,    

Though if I change b"\x04'": Models.SmartSeries6000 to b"\x04'": Models.Pro5000 then everything works. Must be something I am missing.

@jcbshw jcbshw added the enhancement New feature or request label May 30, 2024
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