Im a hunter, and when the hunting is over, i want to tender the meat. The standard time is 40 degrees/days ( i dont know the term in english) but the rule is: if its 20° then the tenderization is over in 2 days, if the temperature is 10°: 4 days… 4°:10 days…
I made a similar timer in symcon (PHP), but now I`m on homeassistant and want some guide on how to do this here. I have a temperaturesensor i want to use and calculate the time based on a variable, most probably 40°, but i want the option to change this. And a notification when the time is over.
Ps: I`m in a hurry, the tenderizing is in progress
Will this help?
It sounds like you have a ‘chart’ and you could use it to make a sensor that took the average hourly temperature and output a continuous number you could add up to give you the cumulative cure time or something.
The term for this in english I believe is just called “Degree Days”.
Basically you are just integrating a temperature difference over time, you can do this with a rieman sum integral helper.
If you make an integral of a sensor which is the temperature in C, then it will continually accumulate degree days, and once it is over 40 you know the goal has been reached.
You haven’t clarified how temperature below zero would should be treated, just strictly integrating the temperature the degree days would decrease when it is below zero, but if you want to avoid that you can clamp the temperature >= 0 with a template sensor.