Managing heterogeneous sensors and actuators in ubiquitous computing environments