As I say in topic, I want apply Kalman filter to DHT11 humidity data. Can anyone help me?
For 1D data, the Kalman filter is equivalent to a simple low pass filter (technically, an IIR low pass).
Low pass digital filters been discussed many times on this forum, so try the search function.
A very simple approach is the following, in pseudocode.
For each new measurement X, the filtered value is:
X = alpha*X + (1-alpha)*lastX; // alpha is between 0 and 1, all variables are floats
lastX = X;
or equivalently but slightly faster:
X = alpha*(X-lastX) + lastX;
lastX = X;