OH3 Smoothing trend in state of an item - advise please

Use the 1st derivative of your time series, see Math experts wanted: analyse humidity curve and distinguish between bath and shower - #18 by Ap15e.