NANO Iot BLE RSSI erratic

The evidence in your post suggests that what you are trying to do with RSSI won't work well, or at all.

This is consistent with what others have observed, for decades now.