BLE Scanner for only 1 MAC Adress


#1

Hello everybody,

the program works very well, but I have a problem, when the scan is performed it reports all MAC address / ID / RSSI / etc. to the same items. Is there a way that it only filters a specific MAC address (from a g-tag / iBeacon) and sends its information to MQTT?

Something like a whitelist for MAC-Adress?

At the Moment i get every scan:

home/presence/BLEGateway {“id”:“52:f4:d0:6a:89:e4”,“manufacturerdata”:“L”,“rssi”:-85,“distance”:15.12852}
home/presence/BLEGateway {“id”:“c0:28:8d:55:80:90”,“manufacturerdata”:"",“rssi”:-93,“distance”:30.15532}
home/presence/BLEGateway {“id”:“45:1b:2f:d6:7d:f2”,“manufacturerdata”:“L”,“rssi”:-87,“distance”:18.07764}
home/presence/BLEGateway {“id”:“78:3e:e4:77:2b:27”,“manufacturerdata”:“L”,“rssi”:-84,“distance”:13.81901}
home/presence/BLEGateway {“id”:“c4:7c:8d:6a:36:a8”,“rssi”:-81,“distance”:10.46739}
home/presence/BLEGateway {“id”:“7c:2f:80:8e:xx:xx”,“manufacturerdata”:“▒4▒▒▒Ȼ▒”,“rssi”:-75,“distance”:5.832737}

but i only need this one:

home/presence/BLEGateway {“id”:“7c:2f:80:8e:xx:xx”,“manufacturerdata”:“▒4▒▒▒Ȼ▒”,“rssi”:-75,“distance”:5.832737}

regards Daniel


#2

Hello,

I’m planning to add this feature to the next release, wait a little bit and you will have it :wink: