Low Signal Strength
Raises an alarm when the RSSI of a cellular (LTE-M, NB-IoT) tracker or LoRaWAN sensor stays weak for a set time, so you can fix its signal strength before the device goes offline.
Who it’s for
Fleet managers, field technicians and LoRaWAN network operators asking “is this tracker parked in a dead zone or a basement?”, “did the NB-IoT meter lose its link after someone moved the antenna?” or “is this soil sensor too far from the gateway?”. Today they find out about bad coverage only after the device drops off the map. They want a warning while data still gets through and the device can still be moved, turned or given a better antenna.
What it does
It reads the device’s latest rssi telemetry (dBm) and raises an alarm of type Low Signal when the reading stays weak for the whole hold time (15 minutes by default):
- Warning - RSSI stays below -80 dBm.
- Critical - RSSI stays below -90 dBm. An active Warning is raised to Critical, and the alarm stays Critical until it clears, even if the signal goes back up into the Warning range.
- Clear - the alarm clears on its own when RSSI is back at -75 dBm or better.
The default levels follow the usual cellular signal ranges: -80 dBm is still good but getting weaker, -90 dBm is fair, and -75 dBm is the top of the good range.
The 5 dB gap between the Warning level and the clear level stops the alarm from switching on and off when the signal stays near the level: a reading between -80 and -75 dBm neither raises nor clears it. A weak reading followed by a better one within the hold time does not raise anything either, because the signal has to stay below the level for the full hold time. The rule checks again by itself when the hold time runs out, so a device that sends one weak reading and then goes quiet still gets its alarm. The alarm details show the last reading and the level it crossed.
A device that has never sent rssi never triggers the rule. The reading has no default value, so the rule waits until a real value arrives. A value that is not a number, such as "-97 dBm", neither raises nor clears the alarm, and it restarts the hold time.
It does not tell you that a device has already gone silent, know about gateways or cell towers, combine RSSI and SNR in one condition, cover Wi-Fi, or send notifications. On LTE, RSSI includes noise and interference, so use it only as a rough view of the link.
How to set up
The rule has default values for every level, so it works as soon as it is installed. Install it on a device profile to cover every device of that profile, including ones added later, or on a single device.
The device must publish its signal strength as a number under the rssi time series key, in dBm (negative values). For LoRaWAN, the network server integration usually adds rssi and snr to each uplink; check that your uplink converter keeps them as numbers and not as strings like "-97 dBm".
How to customize
- To use a different telemetry key - change the Time series key on the
metricargument, for example toRSSIorsignal. For SNR, see the next bullet. - To watch LoRaWAN SNR instead of RSSI - Critical at -15 dB leaves about 5 dB before the SF12 limit (-20 dB), where uplinks are lost:
- set the Time series key to
snr - set the Default value of the warning, critical and clear levels to -10, -15 and -7
- change
dBmtodBin the Additional info of each condition
- set the Time series key to
- To use levels that suit LoRaWAN RSSI - set the Default value of the warning, critical and clear levels to -115, -120 and -110.
- To alarm only when a cellular link is close to failing - set the Default value of the warning, critical and clear levels to -95, -105 and -90.
- To work with raw modem CSQ values (0 - 31) - a CSQ of 99 (“not known”) counts as above the clear level and clears an active alarm, so drop 99 in your converter if that matters:
- set the Time series key to
csq - set the Default value of the warning, critical and clear levels to 17, 12 and 19
- remove
dBmfrom the Additional info of each condition
- set the Time series key to
- To change the levels used when no attribute is set - edit the Default value on the
warningThreshold,criticalThresholdandclearThresholdarguments. Keep the clear level a few dB above the Warning level. - To change how long the signal must stay weak - edit the Default value on the
holdMinutesargument (15 minutes). - To tune the levels and hold time at runtime without editing the rule - set the value as a server-side attribute. It can be edited from a dashboard with the Update Multiple Attributes widget:
- Per device - set
warningRssiThreshold,criticalRssiThreshold,clearRssiThresholdorlowRssiDurationMinuteson the device itself. The per-device value overrides the Default value. - Per customer (in deployments that use customers) - change Entity type on the argument to Current owner, then set the attribute on the customer. Every device that customer owns picks up that value.
- Per device - set
- To restrict firing to specific hours or days - set the same Schedule on both the Warning and Critical trigger conditions. The schedule repeats every week.
- To clear the alarm by hand only - remove the Clear condition.
- To control where the alarm shows up - all available propagation flags default on. Toggle them under Advanced settings.
See also
Shows RSSI and SNR next to battery and last-seen time for the same device:
Device Health CardFires once the device has gone silent. Install both - this one warns, that one confirms:
IoT Device Offline AlarmWatches the other common reason a tracker drops off:
Device Low Battery AlarmShare Your Alarm Rule with the Community
Built a reliable alarm rule? Export it as a JSON from ThingsBoard and publish it to the IoT Hub. Share it with thousands of ThingsBoard developers and help the community react to incidents faster.