I am trying to write a python script which will determine which of two esp8266 modules is closest to my raspberry pi.
My setup is as followed: I am using a Raspberry pi 3 with the raspbian operating system installed. Currently my raspberry pi acts as an MQTT broker to pick up messages sent out by the esp8266 modules. However I need a way in which to determine, if two esp8266 send a message, which one is nearest to the raspberry pi