ble_monitor: LYWSD03 with PVVX custom not working
I’m using ble_monitor 0.9.9 and pvvx 1.7 (tried with all pvvx versions).
I’ve enabled report_unkown and set log level to info for the component.
When I set advertising type to custom the device is not read and no entries shown in HA log for the device’s MAC.
Once I switch to mi the device is readable again, and some UNKNOWN entries start to appear in the logs:
95 2021-01-26 13:53:40 INFO (Thread-5) [custom_components.ble_monitor] UNKNOWN dataobject from DEVICE: LYWSD03MMC, MAC: A4C13822EA5D, ADV: 043e5e0d021300005dea2238c1a40100ff7fc600000000000000000016151695fe50305b052a5dea2238c1a40a10013702890a130000fa2a2238c1a40100ff7fb600000000000000000016151695fe50305b0504fa2a2238c1a40a10011f000000
96 2021-01-26 13:53:40 INFO (Thread-5) [custom_components.ble_monitor] UNKNOWN dataobject from DEVICE: LYWSD03MMC, MAC: A4C13822EA5D, ADV: 043e5e0d021300005dea2238c1a40100ff7fc600000000000000000016151695fe50305b052a5dea2238c1a40a10013702890a130000fa2a2238c1a40100ff7fb600000000000000000016151695fe50305b0504fa2a2238c1a40a10011f000000
98 2021-01-26 13:54:30 INFO (Thread-5) [custom_components.ble_monitor] UNKNOWN dataobject from DEVICE: LYWSD03MMC, MAC: A4C13822EA5D, ADV: 043e5e0d021300005dea2238c1a40100ff7fba00000000000000000016151695fe50305b052f5dea2238c1a40a10013602810a13000038006538c1a40100ff7fb000000000000000000016151695fe50305b05db38006538c1a40d1004dc008301
99 2021-01-26 13:54:30 INFO (Thread-5) [custom_components.ble_monitor] UNKNOWN dataobject from DEVICE: LYWSD03MMC, MAC: A4C13822EA5D, ADV: 043e5e0d021300005dea2238c1a40100ff7fba00000000000000000016151695fe50305b052f5dea2238c1a40a10013602810a13000038006538c1a40100ff7fb000000000000000000016151695fe50305b05db38006538c1a40d1004dc008301
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 16
0.9.11 has been released, which fixes this issue.
Will be included in the next update.
I found the issue, it’s due to the extended (extra long) format of the advertisements you have. Good news, all data is available. First line is my sensor, second and third are yours.
The bad news, I need to make some modifications for your advertisements. I’ll create an update in the coming days.
Thanks, I’ll look into it tonight.