The recent shift in machine learning towards the edge offers a new opportunity to realize intelligent applications on resource constrained Internet of Things (IoT) hardware. This paper presents a pre-trained Recurrent Neural Network (RNN) model optimized for an IoT device running on 8-bit microcontrollers. The device is used for data acquisition in a research on the impact of prolonged sedentary work on health. Our prediction model facilitates smart data transfer operations to reduce the energy consumption of the device. Application specific optimizations were applied to deploy and execute the pre-trained model on a device which has only 8 KB RAM size. Experiments show that the resulting edge intelligence can reduce the communication cost significantly, achieving subs-tantial saving in energy used by the IoT device.