Automatic fridge and freezer temperature log for food safety

Every two hours, every fridge, freezer, and cold room is logged to a spreadsheet automatically, and you only get pinged when a unit is genuinely failing.

Agentic Task
Home AssistantGoogle SheetsSlackOperationsNotifications & AlertsResearch & Monitoring
PromptCreate

Every two hours during opening hours, keep the cold storage temperature log for my food business so nobody has to fill in a clipboard by hand. Use Home Assistant List States to read the current temperature for every refrigeration unit I care about: walk-in fridges, freezers, cold rooms, prep fridges, and display cases. I will give you the list of sensor entities, a friendly name for each unit, and the safe temperature range it must stay inside. Treat that list as the definition of what gets logged, and default the schedule to every two hours between 6am and 10pm.

On every run, for every unit on that list, append one row to my Google Sheets compliance log using Append Values, even when everything is fine. The continuity is the whole point, because an auditor wants an unbroken record rather than just the exceptions. Each row should carry the timestamp, the unit name, the sensor it came from, the reading with its units, the safe range for that unit, and a plain PASS or FAIL marker. Add a short note column for context, for example within range, above range with a defrost suspected, or sustained excursion already alerted.

Before you raise any alarm about a unit that reads out of range, call Home Assistant Get History for that sensor over the last four to six hours and look at the shape of the curve. A freezer that jumps up for twenty minutes and slides back down is running a normal defrost cycle. A fridge that rises while the back door is open for a delivery and recovers once it closes is not a failure either. Threshold-only alerts cry wolf constantly and staff learn to ignore them, so your job is to be the judgment layer that separates a brief self-correcting excursion from a genuine one.

Treat it as a genuine excursion only when the unit has stayed outside its safe range for a sustained period, defaulting to at least 45 minutes, and the history shows no sign of recovery. When that happens, post to Slack with Send a Message in my food safety channel, naming the unit, the current reading and how far outside the safe range it is, how long it has been drifting, and whether the trend is still climbing or has levelled off. Write it so a duty manager can act on it in one read.

Do not repeat the same alert on every subsequent run. Before posting, use Google Sheets Get Values to read the recent rows of the log and check whether you have already alerted on this unit for an excursion that is still ongoing. If you have, log the row as normal and stay quiet. Speak again only when the unit recovers back into range, in which case post a short all-clear, or when the situation gets materially worse, for example it crosses a further threshold or has now been out of range for several hours. Always mark in the log row when you alerted, so the next run can see what has already been reported.

Stay read only. Monitor, log, and alert, and never attempt to change a device setting or tell me you have adjusted anything, because this workflow cannot control physical equipment. If a sensor is missing, unavailable, or reporting a stale value, treat that as its own problem: log it as a gap in the record and mention it in Slack, because an unavailable probe on an audit day matters as much as a warm fridge.

What does this prompt do?

  • Checks every fridge, freezer, and cold room you monitor during opening hours and writes one timestamped row per unit to your spreadsheet, so the record stays unbroken even when everything is fine.
  • Records the unit name, the reading, the safe range it should sit in, and a clear pass or fail marker on every row, so the log is ready to hand to an inspector.
  • Looks back over the last few hours of readings before sounding any alarm, so a routine defrost cycle or a door held open during a delivery does not become a false alert.
  • Sends one Slack message when a unit has genuinely been out of range for a sustained stretch, naming how far out it is, how long it has been drifting, and whether it is still getting worse, then stays quiet instead of repeating itself every run.

What do I need to use this?

  • A Home Assistant setup with temperature sensors in the fridges, freezers, or cold rooms you want to monitor
  • A Google account with a spreadsheet to keep the log in
  • A Slack workspace and a channel where alerts should land
  • The safe temperature range for each unit, so every reading can be marked as a pass or a fail

How can I customize it?

  • Which units are monitored and the safe range for each one, including tighter ranges for vaccine or sample storage
  • How often the check runs and which hours count as your opening hours
  • How long a unit must stay out of range before it is worth an alert, and which channel or which people get told

FAQs

Do I still need to fill in a paper temperature log?
The spreadsheet becomes your record. Every check writes a timestamped row per unit with the reading, the safe range, and a pass or fail marker, which is the same information a paper clipboard log captures, kept continuously and without anyone having to remember to do it.
Will it alert me every time a freezer runs a defrost cycle?
No, and that is the main reason this runs as an agent rather than a simple threshold alarm. Before raising anything it looks back over the last few hours of readings for that unit and decides whether the temperature is genuinely drifting or just doing something normal, like defrosting or recovering after a delivery door was held open.
Can it turn the fridge back on or change the temperature setting?
No. This workflow only reads your sensors, keeps the log, and tells a human when something needs attention. Fixing the unit stays with your staff, and the agent will never claim to have adjusted anything.
What if the same unit stays out of range all day?
You get one alert, not one every two hours. Before posting it checks the log for an alert it has already sent about that unit, and it only speaks up again if the unit recovers back into range or the situation gets materially worse.
Does this work for a pharmacy or a lab rather than a kitchen?
Yes. The logic is identical for vaccine fridges, sample freezers, and cold rooms. You set a tighter safe range for each unit and every reading is recorded against that range, which is what a storage audit asks to see.
What happens if a sensor stops reporting?
It gets treated as a problem in its own right. A missing or stale sensor is logged as a gap in the record and called out in Slack, because a probe that went quiet on an audit day matters as much as a warm fridge.

Related templates

Prospecting desk that builds account lists from the live web

Stop buying stale lists. Reps run a saved search, work the results like an inbox, and only the accounts they approve ever reach your CRM.

Hyperbrowser
HubSpot
Google Sheets
App
Influencer campaign roster board with AI creator briefs

Drag creators through Sourced to Wrapped on a board grouped by campaign, with audience stats on every card and a one-click brief for each creator.

HypeAuditor
Google Sheets
Notion
App
Browse and shortlist creators without burning audit credits

Search creators for free, shortlist the best with your team, and spend an audit credit only when you decide someone is worth a closer look.

HypeAuditor
Airtable
Slack
App
Morning repricing console for Shopify with margin-safe rules

Pick a repricing rule, send an assistant out to check competitor pages, then approve the new prices that clear your margin floor.

Hyperbrowser
Shopify
Google Sheets
App
Pre-flight bounce check before you launch a cold email sequence

See the projected bounce rate for any outbound send before it goes out, and keep the launch button locked until the list is clean enough to be safe.

Hunter
Google Sheets
App
Smart home entity health cockpit for Home Assistant

Open one screen to find every unavailable, stale, or low-battery device in your smart home, see which hub is really at fault, and clear out the dead entries in bulk.

Home Assistant
Notion
App

Stop filling in the fridge log by hand.

Keep a continuous, audit-ready temperature record for every cold unit, and only hear about it when something is genuinely wrong.