Alarms

Team
Utilities Team
Last Updated
September 11, 2026

Alarms

In the water/gas BATCH integration, along with the readings file, an alarm file is sent with the alarms detected by the devices during the period.

The file name follows the pattern alarm.<unit>.<measurement type>.<window end date and time>.<extension>, for example: alarm.DEFAULT..2024-05-24T17:00:00.000Z.csv

Columns

ColumnDescription
device_idDevice identifier
channelDevice channel
unityDevice's organizational unit
cityDevice's city
remote_idDevice's remote identifier
device_nameDevice name (optional)
alarm_typeAlarm origin. In the alarm file, always `device`
alarm_codeCode of the detected alarm
alarm_dateDate and time the alarm was first detected within the window
alarm_criticalityAlarm criticality: `LOW`, `MEDIUM`, or `HIGH`

Each alarm appears only once per device and channel within the exported window, with the date of its first detection — an alarm active throughout the period does not generate one row per reading.

Alarm codes

alarm_codeDescriptionalarm_criticality
MAX_FLOWMaximum flowLOW
REVERSE_FLOWReverse flowHIGH
MAGNETIC_FRAUDULENCEMagnetic fraudMEDIUM
LEAKAGELeakageLOW
WIRE_CUTTINGWire cuttingLOW
CALIBRATINGCalibratingMEDIUM
VIOLATIONViolationMEDIUM

The available codes vary according to the device model — not every meter reports all of the alarms above.

Example

device_idchannelunitycityremote_iddevice_namealarm_typealarm_codealarm_datealarm_criticality
36170000010DEFAULTSão PauloE00XX000000Water meter, Rua das Palmeiras 45deviceREVERSE_FLOW2024-05-24 16:12:00+00HIGH
36170000020DEFAULTSão PauloE00XX000001Water meter, Av. Sete de Setembro 1200deviceWIRE_CUTTING2024-05-24 16:09:00+00LOW
36170000030DEFAULTSão PauloE00XX000002Water meter, Rua XV de Novembro 89deviceMAGNETIC_FRAUDULENCE2024-05-24 16:30:00+00MEDIUM
36170000040DEFAULTSão PauloE00XX000003Water meter, Rua Marechal Deodoro 300deviceLEAKAGE2024-05-24 16:07:00+00LOW
36170000050DEFAULTSão PauloE00XX000004Water meter, Rua Comendador Araújo 55deviceCALIBRATING2024-05-24 16:12:00+00MEDIUM

How to set it up

The alarm file is not a separate report: it is sent automatically along with the Leituras dos Dispositivos report, configured in the Format step of the BATCH integration creation.

Technical Support

If you have any questions or technical issues during the process, our technical support team is available. You can reach us by email at [email protected] or via WhatsApp at (11) 91162-6684.