In this paper presented method for reducing the amount of data transmitted and stored in IoT systems. Instead of expensive and complex network devices, developers can apply cheap and proven low-speed solutions (ZigBee, NB IoT, BLE). This approach is focused on on-the-sensor data processing. Correlation and autocorrelation methods for detecting events, depending on shape of a wave, were described in details and proposed endpoint architecture implementation.