Bluetooth proximity sensing technology enables gadgets to detect the location of other nearby devices. This method leverages infrared signals emitted by one device and received by another, allowing for accurate distance https://www.lansitec.com/products/macro-proximity-sensor/