The escalation of the Internet of Things applications has put on display the different sensor data processing methods. The sensor data compression is one of the fundamental methods to reduce the amount of data needed to transmit from the sensor node which is often battery powered and operates wirelessly. Reducing the amount of data in wireless transmission is an effective way to reduce overall energy consumption in wireless sensor nodes. The methods presented and tested are suitable for constrained sensor nodes with limited computational power and limited energy resources. The methods presented are compared with each other using compression ratio and inherent latency. Latency is an important parameter in on-line applications. The improved variation of the linear regression-based method called RT-LRbTC is tested and it has proved to be a potential method to be used in a wireless sensor node with a fixed and predictable latency. The compression efficiency of the compression algorithms is tested with real measurement data sets.