Add OralB Toothbrush #432
Replies: 2 comments 24 replies
-
Hi @arnog23, There have been requests before for the inclusion of a Oral-B toothbrush advertising data decoder, but without continued user's help and testing it always seems to come to nothing in regards to a final releasable decoder … Last trial so far 1technophile/OpenMQTTGateway#767 with one user having kept the latest test decoder. If you can create custom OpenMQTTGateway builds with PlatformIO I could bring this test decoder back online for further testing and verification, and I would also look more closely at your above quoted decoding. One thing to note though is which model of an Oral-B toothbrush you have, as there do seem to be differences in decoding for different models. Without users' help and support though it is not really possible for us, who do not have Oral-B BT toothbrushes, to confidently release an official decoder ;) |
Beta Was this translation helpful? Give feedback.
-
I don't know if it's relevant for your project anymore, but the full advertisement structure is now available at oralb/blesdk/brush.py. Maybe it helps you integrating the new parser for OralB toothbrushes. For instance, the data shared in this discussion ( >>> data = binascii.unhexlify(b"0202060320000001010004")
>>> data
b'\x02\x02\x06\x03 \x00\x00\x01\x01\x00\x04'
>>> unpack(data, BrushAdvertisement)
BrushAdvertisement(
protocol=<ProtocolVersion.V002: 2>,
type=<BrushType.D36_5_MODE: 2>,
version=6,
state=<State.RUN: 3>,
status=32,
brush_time_min=0,
brush_time_sec=0,
brush_mode=<Mode.DAILY_CLEAN: 1>,
brush_progress=1,
quadrant_completion=<Quadrant.FIRST_QUADRANT: 0>,
total_quadrants=4
) As this data conforms to protocol version 2, the |
Beta Was this translation helpful? Give feedback.
-
Hello,
Would it be possible to add OralB Toothbrush to the Decoder ?
message received: topic: home/TGW_32/BTtoMQTT/XXXXXXXXXXXX, payload: b'{"manufacturerdata": "dc000202060220000001010004", "id": "XX:XX:XX:XX:XX:XX", "rssi": -77, "mfr": "Procter & Gamble"}', userdata: None
I was using the folllowing code with BLEA in Jeedom
Thanks
Beta Was this translation helpful? Give feedback.
All reactions