Bluetooth-Devices / oralb-ble

Bluetooth library for Oral B devices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for Pro 5000

jcbshw opened this issue · comments

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.