shmuelzon / esp32-ble2mqtt

A BLE to MQTT bridge running on an ESP32
MIT License
682 stars 108 forks source link

How to set config.json can receive the encrypted broadcast advertise raw data? #172

Open YinHangCode opened 1 year ago

YinHangCode commented 1 year ago

Thank you for your project. In the past period of time, I have been using this project and it is very stable. But I recently added a new device, and it send data by broadcast. the logs display follow and can't revice any data in mqtt.

Broadcaster: Legacy MiBeacon encryption not supported, skipping f8:24:xx:xx:xx:xx

I understand that the broadcast data is encrypted, and I just want to receive the original encrypted data at mqtt. So how can I set config.json?

shmuelzon commented 1 year ago

Hey, broadcaster devices, i.e., devices that aren't connectable but just periodically broadcast their information, are handled separately and there's a limited number of broadcaster devices we currently support and their, parsed, information is published over MQTT. We do not, currently, have a "generic" broadcaster implementation that just dumps the raw data over MQTT. Though this has been requested in the past, I've yet to find the time to implement it.