How to Passive BLE monitor integration in ha

How to Passive BLE monitor integration in ha

passivity

BLE monitor to track BLE devices based on its MAC address or UUID.
It will listen to incoming BLE advertisements for the devices that you have chosen to track.

troubleshooting

In case you get Disable scan failed: Input/output error, reset hciconfig with one of the following

sudo hciconfig hci0 down
sudo hciconfig hci0 up

or

sudo hciconfig hci0 reset

Tools

Bluetooth LE Scanner app on android

https://play.google.com/store/apps/details?id=uk.co.alt236.btlescan

Github Link:https://github.com/alt236/Bluetooth-LE-Library

GitHub - alt236/Bluetooth-LE-Library---Android: This library allows for easy access to a Bluetooth LE device's AdRecord and RSSI value. It offers additional functionality for iBeacons.

bluescan on rpi(debain)
https://www.anquanke.com/post/id/209757

sudo pip3 install bluescan