This example reads sensor data every seconds, and uploads ALL of it's collected data once a day (at midnight).