Solution

Zero Data Loss Guarantee

No measurement is lost, even if the internet goes down or the server restarts. The SQLite queue retains data for up to 14 days; once the connection is restored, data is transmitted automatically and cannot be deleted without ACK confirmation.

Common Challenges
The most critical energy management challenges encountered in the industry

Data Loss During Internet Outages

In cloud-based systems, real-time data is lost when the connection drops, creating a critical gap for billing and alarms.

Server Restart Gap

No data can be received during backend updates or maintenance; this period is excluded from energy analysis.

Going Offline for More Than 14 Days

Seasonal facilities or remote sites may go without a connection for weeks.

Duplication and Conflicts

If the same measurement is written twice during retransmission, calculations break and alarms trigger incorrectly.

Solutions with Argus EMS
Real-time monitoring, automatic alarms and comprehensive reporting
💾

SQLite Local Queue

The Field Agent writes every measurement to the local SQLite queue first. It is not removed from the queue until it has been written to the server.

ACK State Machine

The server confirms receipt of each measurement with an MQTT ACK message. A queue entry does not transition SENT→ACKED until the ACK arrives.

📅

14-Day Offline Buffer

With a 5 GiB SQLite database capacity, all data is preserved even if the site stays offline for 14 days.

🔄

Automatic Retransmission

Once the connection is reestablished, accumulated data is transmitted automatically in chronological order, with no manual intervention required.

🚫

Duplication Protection

A UNIQUE(cihaz_id, okuma_zamani) constraint in the database: if the same measurement is attempted twice, it is not dropped but IGNOREd.

🚨

Queue Full Alarm

A warning alarm at 80% capacity before the 14 days fill up — the site's connection problem is detected in advance.

Frequently Asked Questions
Why is 14 days enough?

Most sites in Turkey stay offline for at most a weekend plus public holidays. 14 days provides a safe buffer for both seasonal shutdowns and unexpected communication failures. The maximum buffer duration is configurable.

What happens if the ACK does not arrive?

The queue entry remains in the PENDING state. When the Field Agent reestablishes the connection, it resends all PENDING records. Even if a record is sent to the server multiple times, the UNIQUE constraint in the database prevents duplication.

What is the MQTT QoS level?

Argus EMS uses MQTT QoS 1 (at-least-once delivery). In addition, the application-layer ACK state machine forms a second layer of security in cases where even QoS 0 would be unreliable.

What happens if the queue fills up?

The queue never drops data (DROP). When capacity is reached, a QueueFullError is thrown and an alarm is generated. This design is intentional: it prefers to detect the problem early rather than delete data.

Results from the Field
Anonymized facility examples from the same industry
Solar Plant — Factory with a Rooftop Site
✓ 18-day internet outage — zero data loss
✓ 2,400 records transmitted automatically once the connection returned
✓ Billing calculations remained complete and accurate
Logistics Warehouse — Kocaeli
✓ Uninterrupted recording during server maintenance
✓ Duplication protection delivered 0 false alarms
✓ 100% SLA achieved
Technical Requirements
Local StorageSQLite — 5 GiB cap (≈14 days)
ProtocolMQTT QoS 1 + application-layer ACK
State MachinePENDING → SENT → ACKED → deleted
Duplication ProtectionUNIQUE(cihaz_id, okuma_zamani) DO NOTHING
Queue Full AlarmWarning at 80% capacity, QueueFullError at 100%

Secure your data assurance today

No measurement is lost, no matter the internet outage or server maintenance.

Request a Demo → info@nevacontrol.com