Decoding battery information from the supervisory message

Decoding battery information from the supervisory message

The RadioBridge Sensors use a 3V battery which measures about 3.2 volts when freshly installed. Once the battery depletes to 2.5V the sensor will cease to function. The Supervisory Message periodically sent from the sensor uses the last byte to display a human-readable battery voltage. 

A typical Supervisory Message might look like:

      1 5 01 03 00 29

      1       Protocol Version (currently always 0x1)
      5      Packet Counter, increments with each message and wraps from 0xF back to 0x0
      01     Message Type (Supervisory Message = 0x01)
      03    Error Codes (Comm Error, Low Battery, Downlink Error, Tamper State, Tamper Detected)
      00    Sensor State (defined differently for each sensor type)
      29    Human-readable Battery Voltage Level

In this example the last byte is 0x29 which indicates 2.9 Volts.

Radio Bridge sensors are shipped with lithium batteries, and these are recommended when the battery needs to be eventually replaced. The battery will stay just under 3V for most of the battery's life and then experience a rapid drop near the end. Because of this, it is recommended that users rely on the "low battery" error code (bit 1 of the error code byte) within the Supervisory Message rather than rely solely on the tracking of battery voltage.

For more information refer to the Common Sensor Messages Documentation.

See Also:
    • Related Articles

    • How do I decode a sensor's Supervisory Message?

      The wireless sensors will send a periodic supervisory message so that a backend system can verify that the device is still alive and to report error conditions.  The supervisory message also contains a payload that contains the status (current) of ...
    • How do I know when to change the battery?

      RadioBrdige Sensors are designed to provide several years of useful life before the battery needs to be changed.  The effective life of the battery is dependent on many factors such as message volume, ambient temperature, signal strength and Adaptive ...
    • Is it possible to queue up multiple message to go to the same device?

      No, you can only queue one message at a time for a particular endpoint. Each endpoint has its own queue that is independent of the others. The purpose of the queued message is to immediately send a message to a sleepy endpoint when it has waken up ...
    • How do I encode a General Configuration Downlink message?

      A downlink message is one that is sent to the sensor from the cloud and is used to configure the sensor itself.  Messages cannot be initiated from the cloud since the sensor is typically sleeping and the radio is turned off, so the sensor itself must ...
    • How do I decode a sensor's Tamper Event message?

      The sensor will send a message when the tamper switch has been either opened or closed through either an enclosure tamper or a wall mount tamper. Tamper Event Message: 0x02       Bytes            Description       0                   Tamper Switch ...