Count hours that temp is bellow a specific point

Hello, have a dht22 temp sensor for temp measuring. The thing is that i want to count how many hours the temp fell below 7 celsius. Is there any way to do this? When i export the data for a month it makes the average for every 1 hour so it is not so precise.

you can read the millis for how long it was under temp and convert it to the hour

How can i do this?

Ok you mean from the arduino code. There is no way to do this from cayenne dashboard?

You cannot do it on the cayenne dashboard. You will need to do it on the arduino code and send the time to cayenne.