added support for sensor data range streaming (a bit hacky)