Yes, the sensor will continue to log data even when the sensor is not connected to the gateway or app. The sensor's stored data is uploaded when the sensor is back within the RF range of the gateway or your app.