How it works
This Coreflux LoT template watches every cold zone in a warehouse and keeps the temperature record an auditor asks for. Sensors publish a plain number in °C to raw/coldchain/warehouse-1/<zone>/temperature. A clock ticks each zone every 10 seconds, and one Action compares the last reading with the zone's limits. An excursion opens after 3 readings in a row outside the band and closes after 3 readings in a row back inside it with a 0.5 °C margin, so a door opening for a few seconds does not raise an alarm. A sensor that stops sending is reported as offline. Every 5 minutes each zone writes one log row, whether anything changed or not. It runs on the free Community licence.
