Bleparser

Latest version: v3.7.1

Safety actively analyzes 701645 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

3.3.0

- Modified the ble-parser to be able to accept non-raw BLE data.

RAW ble advertisements now have to be parsed with `parse_raw_data` instead of `parse_data`. Modify your code accordingly.

**new sensors**
- Add support for LYWSD02MMC Xiaomi temperature and humidity clock
- Add support for Swichbot Meter TH S1 with new device_id (0x1054)

3.2.0

**BREAKING CHANGES**
- HA legacy sensor support has been removed
- Split up of alarm sensor of Govee H5183 (one for each probe)
- Govee H5178 was mixing the battery readings of the indoor and outdoor sensor https://github.com/custom-components/ble_monitor/issues/907. With this PR, the Govee H5178 is split up in two devices, one for the indoor sensor and one for the outdoor sensor. The MAC address of the outdoor sensor in increased with 1 (compared to the indoor sensor), to do this. The outdoor temperature and humidity sensor are not used anymore after this update and are moved to the new H5178-outdoor device.


**NEW SENSORS**
- Govee H5185 meat sensor
- Govee H5182
- Added co2 and tvoc measurements to HA BLE
- Mikrotik sensors
- Thermopro TP359 sensor
- XMWXKG01YL Xiaomi smart switch
- Lockin Q2
- Almendo bluSensor Mini (by Tamarinen)

**OTHER FIXES**
- Move `to_mac` and `to_unformatted_mac` functions to helper
- Some Qingping sensors weren't updating all information. This release should fix that issue
- Fix for Xiaomi toothbrush
- Fix for Linptech K9B switches not updating their state
- Cleaner up logs for encrypted HA BLE sensors that didn't have an encryption key (yet)
- Fix for XMWXKG01YL locks not working properly

3.1.0

- Added support for KKM K6 beaconsensor https://github.com/custom-components/ble_monitor/issues/835
- Split up of Oral-B toothbrushes in SmartSeries 7000 and IO Series 7 (by codyc1515). The toothbrush sensor can now distinguish between the SmartSeries 7000 and IO series 7.
- Fix for missing Oral-B documentation https://github.com/custom-components/ble_monitor/issues/844

3.0.0

April update

This update brings bleparser in line with the parser in BLE monitor 8.6.1 and contains the following changes:

**BREAKING CHANGES**
- Xiaomi ZNMS17LM

Lock states were reversed for the binary (lock) sensor: 0=>locked 1=>unlocked. This release fixes that issue. This applies to all all Xiaomi locks, although it has only been tested on the ZNMS17LM model (by vincent-k).

ZNMS17LM is reporting lock, anti-lock & child-lock events. Using these on the same sensor/lock leads
to an incorrect global state. Eg. when the door is fully locked (main lock + anti-lock), if we release only the anti-lock then the sensor goes to unlocked state which is incorrect. This commit decouples the lock into three distinct sensors: 'lock', 'anti-lock' & 'child-lock' to avoid such issues (by vincent-k).

Note: this only targets ZNMS17LM model to keep a selective approach (some users may prefer the global version and some other Xiaomi locks may not be reporting those states).

- iBeacon, Altbeacon

iBeacon parser were showing the formatted mac address in the parser output, they now show the unformatted MAC address (without colons)


**new sensors**
- HA BLE diy sensors (see below)
- MaxxMee Mod: QJ-J scale
- HHCC plant sensor HHCCJCY10
- Laica Smart Scale (PS7011/PS7020) sensors
- Tilt sensors
- Sensirion SHT4x
- Inkbird P01B pool thermometer
- Air Mentor pro 2
- Switchbot Meter TH S1
- Relsib EClerk Eco
- Inkbird IBS-TH2 without humidity (temperature only)
- Govee H5071
- ATC firmware on CGDK2
- Acconeer XM12 motion sensor

**new features**
- Add door sensor for ZNMS16LM/ZNMS17LM

**bug fixes**
- Fix for Inkbird IBS-TH(2) not being recognized in some cases
- Fix for negative temperatures reported by b-parasites and v2 support
- Fix for iBBQ sensors not reporting temperatures above 100°C
- Improved Mi Scale V2 behavior
- Fix for Oral-B when sending an non-defined state
- Fix for short Altbeacon advertismement
- Add extra filter for Teltonika Puck RHT
- Bump pycryptodomex to 3.14.1
- Improved Qingping CGDN1 support


**New HA BLE format**
This release brings a totally new HA BLE format. We have created a BLE advertisement format that you can use for your DIY sensors. The main advantages of the new format:
- Developed by the makers of BLE monitor, so fully supported
- Flexible format (choose your own number of digits, data size)
- Supports encryption (if you want)
- Energy efficient. We tried to make a format that is as short as possible, to reduce energy consumption, but at the same time to be as flexible as possible
- Support for a wide range of sensor types (and others can be added easily)
- More info about the format can be found [here](https://github.com/custom-components/ble_monitor/blob/new-HA_BLE/docs/ha_ble.md)

- Thanks for pvvx for his suggestions on how to improve the HA BLE format. [ATC firmware 3.7(b)](https://github.com/pvvx/ATC_MiThermometer) has added support for HA BLE format in the sensors that support ATC firmware.

2.0.0

**new sensors**
- Qingping Qingping Air Monitor Lite (CGDN1)
- Xiaomi Mijia Mi Smart Door Lock Push Pull (XMZNMST02YD)
- Xiaomi Door Lock Youth Edition (MJZNMSQ01YD)
- Sensirion SCD4x CO₂ Gadget
- iBeacon protocol
- altBeacon protocol
- Inkbird iBBQ-1, iBBQ-6 sensors
- Inkbird iBBQ-2 and iBBQ-4 sensors that send their MAC in non-reversed order
- Jinou BEC07-5 beacon temperature/humidity sensor
- Thermoplus/Brifit/Oria thermometer hygrometer sensors with comp_id = `0x0015`

**Improvements**
- Add support for BLE advertisements with multiple `service data` and `manufacturer specific data` packets
- Add voltage sensors to CGG1 and MHO-C401, as they can send both in ATC and Xiaomi format, causing issues
- Track devices based on the Beacon UUID (instead of the MAC address). This allows you to track devices that have a non-fixed, rotating MAC address

**Bugfixes**
- Fix for `sensor_whitelist` not working for some sensors (e.g. Inkbird)
- Fix for mixing Thermoplus and iBBQ sensors
- Removal of unknown sectors for Oral-B brushes [BREAKING CHANGE]
- Renamed Inkbird IBS-TH2 to IBS-TH, as both TH1 and TH2 use the same format [BREAKING CHANGE]

**Python 3.8 support deprecated**
- Python 3.8 support is dropped. This doesn't mean that it won't work with Python 3.8 or lower, but it is not tested anymore.

1.7.0

**New sensors**
- Added support for Inkbird IBS-TH2 sensor
- Added support for Inkbird iBBQ-4 sensors
- Added Govee Meat Thermometer (H5183)
- Adding a switch and opening binary sensors to ATC devices

**Bug fixes**
- Fix in whitelist for Oral-B
- Fix for new unknown sector Oral-B

**Improvements**
- Rewrite of the parser, to be able to use more data from different records for filtering (like name, service UUID, etc)

Page 2 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.