Best way to detect an object presence

The lamp will have an arduino nano and a bluetooth board

So where is the Bluetooth content of this project?
What sort of Bluetooth is is BLE or normal? They are not interoperable.