I want to be able to produce records that confirm my milk pasteurizer is maintaining the proper temperature for the proper duration. What I’d like to be able to do is:
- start the pasteurizer (manually)
- tell HA to start watching the temperature sensor
- have HA note when the temperature reaches a set point
- have HA note when the temperature has remained above the point for a given period
- produce some sort of report of the temperature readings during the pasteurization period
I’ve been exploring HA, and think this can be done by creating a sensor that changes state to indicate the beginning and ending of the period I’m interested in, then do a database query to retrieve the sensor readings (and timestamps) during that interval, and save them to a file somewhere.
I’ve searched for any mention of someone doing anything similar, without luck.
Do this sound like a workable approach?
Is there a similar project I can use for reference?