The practical solution is that the designer of the system knows ahead of time where these sensors (or other devices, btw, we are not just talking about sensors) are located, each sensor or other device is uniquely identified to the network, and software provided in the applicable computers montitors and controls these devices as needed, for that particular system in that particular venue.