Temperature monitoring

Hello All,

I received a task to solve.

I have two measuring device it checks temperature.
I want to calculate difference between values within 24h for each one.
For example:
03.03.2022 14:00, value 20,1
02.03.2022 14:00, value 20,0
difference is 0,1
I gruped it by 24h, but it do one measurement for a day,
and I want make it minimum 1h.

Thank You

In that case you should try grouping it by 1 hour instead of 24h