Hacky implementation of access of sensor data from cosm