The Index AMI can notify the AMI Platforms when three types of critical events occur: loss of power supply (Last Gasp), internal temperature out of range, and state change on the digital switch port (SWITCH1). Each alert is independent and can be enabled or disabled separately.
Where to configure it
- App Android: Android app: Main Menu → Notifications Configuration
- Herramienta de escritorio: Desktop tool: template editor → Temperature alert and Switch alert sections (Last Gasp is always present).
Last Gasp — power cut alert
The Index AMI detects when the supply voltage drops below the operating threshold (indicating an electrical cut at the meter). At that point it fires a Last Gasp message to the AMI Platforms before the internal capacitor is depleted, warning that the device is about to lose power.
The message is sent over the active connectivity channel (MQTT or TCP Bridge). If MQTT is enabled, the message is published to the device information topic. The alert does not require the Index AMI to have external power — it uses the internal capacitor reserve.
- Enable Last Gasp: Enables or disables the power cut notification. It is recommended to always keep it active in field installations.
If the power cut is so fast that the capacitor cannot sustain the message send, the AMI Platforms will detect the disconnection via MQTT timeout or absence of the ICMP heartbeat. Last Gasp is an additional warning, not the only detection mechanism.
Temperature alert
The Index AMI monitors its internal temperature and generates an alert when it exceeds the configured threshold. Useful for detecting installations in environments with excessive heat (unventilated panels, direct sun exposure) that can shorten device lifespan.
- Activation threshold: Temperature in °C at which the alert activates. Range: -40 to 125 °C. Typical field value: 65 °C.
- Hysteresis: Temperature drop in °C required to deactivate the alert. Range: 0–50 °C. Example: 65 °C threshold with 5 °C hysteresis → alert active from 65 °C, deactivates when dropping to 60 °C. Prevents continuous oscillations around the threshold.
- Sampling period: How often the Index AMI reads its internal temperature, in seconds. Range: 1–3,600 s. A value of 60 s (1 minute) balances accuracy and consumption.
Recommended configuration for industrial panels: Threshold 65 °C · Hysteresis 5 °C · Period 60 s.
The temperature reported by the Index AMI corresponds to the SoC internal sensor — it can be several degrees higher than ambient temperature. Calibrate the threshold by taking a reference measurement with the device installed under normal operating conditions.
Switch alert (SWITCH1)
The SWITCH1 port on the Index AMI is a dry contact digital input. It can be connected to a breaker trip output, a cabinet open sensor, or any device that changes state (Low / High). The Index AMI notifies the AMI Platforms each time it detects the configured change.
- Enable switch alert: Enables or disables monitoring of the SWITCH1 port.
- State that triggers the alert: Defines whether the alert is generated when the port goes to Low state (0 V) or High (5 V).
- Low (0 V): Alert is generated when the contact closes or the level drops to 0 V. Typical for detecting breaker trip or cabinet opening.
- High (5 V): Alert is generated when the contact opens or the level rises to 5 V. Typical for detecting auxiliary contact closure.
The SWITCH1 port accepts 0–5 V digital signals. Do not connect higher voltage signals directly — use an optocoupler or interposing relay if the signal comes from a 24 V or higher circuit.
Configuration steps
- Connect the Index AMI via BLE and go to Notifications Configuration.
- For Last Gasp: enable the checkbox. No additional parameters required.
- For temperature alert: enable the checkbox, enter the threshold (65 °C recommended), hysteresis (5 °C) and sampling period (60 s).
- For switch alert: enable the checkbox and select the state that triggers the alert (Low or High) according to the type of signal connected to the SWITCH1 port.
- Press «← Back» to return to the Main Menu.
- Press «Apply changes to device». The Index AMI will restart with the alerts active.
Verify the alerts
In the Android app go to Overview → System Configuration tab. Confirm that the notification sections show the correct «Active/Inactive» status for each configured alert and that the entered parameters (threshold, hysteresis, period) are reflected.
If something is not working
| Symptom | Probable cause | Action |
|---|---|---|
| Last Gasp does not reach the AMI Platforms after power cut | MQTT is not configured or the broker is not active — Last Gasp uses the MQTT channel to send | Configure and verify MQTT before deploying. Last Gasp cannot send without an active communication channel. |
| Temperature alert never triggers even when the environment is hot | The sensor measures the internal SoC temperature (10–20 °C higher than ambient) and the threshold may be too high for that difference | Measure the installed Index AMI temperature with a contact thermometer and adjust the threshold to the actual SoC value. |
| Switch alert does not trigger when contact changes | The configured state (Low/High) is the opposite of what the event generates, or the signal exceeds 5 V | Use a multimeter to confirm the signal level at rest and at event. Verify it is 0–5 V and adjust the configured trigger state. |