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.