Projects7/3/2026
Retail: Keep Fridges & Coolers Safe with an ESP8266 & n8n
Spoiled stock is lost revenue. An ESP8266 watches cooler temperature and an n8n flow escalates to the store on WhatsApp and email before product is at risk.
Retail Cooler Monitoring
A single warm night can ruin a fridge of stock. An ESP8266 with a DS18B20 probe reports cooler temperature to IoTFlow; an n8n flow alerts the store team the moment it drifts out of range.
Device code (ESP8266)
iot.virtualWrite("temperature", readCoolerTemp());
Add a threshold alert (temperature > 6°C) — that alert triggers the flow.
The n8n workflow
Here is the low-code automation that ties it together. In IoTFlow, every device event (telemetry, alert, command) can be forwarded to an n8n Webhook, and n8n calls back into the platform to control the device.
- The Webhook receives the ALERT (metric = temperature).
- An IF node checks temperature > 6°C.
- A WhatsApp + Email node notifies the store manager with the cooler name.
Wire it up in 3 steps
- In n8n, add a Webhook node, activate it and copy the Production URL.
- In IoTFlow → Automations → New automation, pick the event and paste the URL.
- Click Test, then let real device data trigger it automatically.
Tip: bind a Switch or Slider widget to the same virtual pin so you can also control the device by hand from the web or mobile app.
Happy building! 🚀
Reviews
Leave a review