Ernst79 / bleparser

Parser for passive BLE advertisements
MIT License
29 stars 16 forks source link

Device specific output for Xiaomi button/remote/switch/dimmer and light/motion/illuminance advertisements #13

Closed Ernst79 closed 3 years ago

Ernst79 commented 3 years ago

The button/remote/switch/dimmer advertisements and light/motion/illuminance advertisements of Xiaomi sensors are now only returning the output that correspond to the device that has sent the advertisements.

In the previous versions, bleparser was giving all possible outputs for all device types that use the same data object (0x000F and 0x1001) and the user had to filter which result was relevant for his sensor. It now only returns the device specific results (e.g. a dimmer won't return a bathroom remote command anymore).

Fix #1