Local-first data plane
Every gateway buffers the last 48 hours of sensor readings to on-disk SQLite and exposes a local HTTP endpoint on the facility Wi-Fi. The operator's mobile app prefers the local endpoint and only reaches to the cloud when the gateway is unreachable. When internet returns, the gateway back-fills cloud with a paced replay so the central broker is never DDoSed by reconnections. The practical result: the product keeps working when the ISP does not.




