After putting some thought into it, the best way to achieve the main idea was to get ESP32 chips, which supports bluetooth BLE and WiFi.
So I ordered two development kits in order to have something to start working with, and also 2 BLE beacons to play around.