How do I decode a Water Rope Sensor Event?

How do I decode a Water Rope Sensor Event?

The Water Rope Sensor will generate events when the presence of water or another liquid is detected
 
Byte 0: 7-4
Byte 0: 3-0
Byte 1
Byte 2 
 
Byte 3
Protocol version
 
 



(4 bits)
Counter
 
 
 



(4 bits)
Message Type Code
 
 



(0x08)
Water Rope Sensor
Event
 


(0x00 in the example below)
Relative Measurement of resistance between probes
(scale 0-255)

(0x15 in the example below)
 
 
 
Protocol Definition
              First 4 bits are defined by Radio Bridge for the protocol
              Next 4 bits are a counter that goes from 0 to F (Hex) and repeats
             
Message Type
              0x08 represents the Water Rope Sensor Message Type
 
Water Rope Sensor Event
              Byte 2                         Description
                  1                                  Water or liquid not present  
                  0                                  Water or liquid present
 
Byte 3 relative measurement of resistance
              The 8-bit event for the liquid sensor contains a relative measurement of the resistance between the probes with a scale of 0-255. Different liquids will have a different resistance through the material (water vs fuel for example), so this measurement can be used to set the threshold properly as defined by the configuration message in the Downlink section
 

Example of Water Rope Sensor Event Message 
10 08 00 15
1                                 Protocol Version (currently always 0x1)
0                                 Packet Counter (increments by 1 each message and wraps from 0xF to 0x0)
08                               Message Type Code (Water Rope Sensor Type code = 0x08)
00                               Water Rope Sensor Event (water rope sensor event 0x00 means there is water or liquid present
15                               Relative Measurement (Event 0x15 = 21)
 
 
The Radio Bridge Console will generate the following output for this message:
 
Water Event: Water or liquid present
Relative measurement: 21
 
 
 
 
 
 
 


    • Related Articles

    • How do I decode a Water Leak Sensor event?

      The Water Leak Sensor will generate events when water (or another liquid) is present, and then give a value representing the relative measurement of the resistance between the probes of the sensor. The Water Leak Sensor uses that resistance to ...
    • How do I encode a downlink for a water rope sensor?

      NOTE:  All downlinks must contain a total of (8) bytes, padded with zeros at the end when necessary. Water Rope Sensor Configuration Example:       08 02 50 28 00 00 00 00       08         Downlink Message Type ( 0x08 = Water Rope Sensor )       02  ...
    • How do I decode a Dry Contact Sensor Event?

      The wireless Dry Contact Sensor detects a connection between two wires. When the wires are either shorted or opened, the Dry Contact Sensor will generate an event.   Byte 0: 7-4 Byte 0: 3-0 Byte 1 Byte 2    Protocol version     (4 bits) Counter       ...
    • How Do I decode an Ultrasonic Level Sensor Event?

      The Ultrasonic Level Sensor will generate events if the measured distance rises above or falls below the configured thresholds.   Byte 0: 7-4 Byte 0: 3-0 Byte 1 Byte 2    Byte 3 and 4 Protocol version (4 bits) Counter (4 bits) Message Type Code 0x10 ...
    • How do I decode a Voltage Sensor event?

      The Voltage Sensor will generate events if the measured value rises above or falls below the configured thresholds.   Byte 0: 7-4 Byte 0: 3-0 Byte 1 Byte 2    Byte 3 & 4 Protocol version     (4 bits) Counter       (4 bits) Message Type Code     ...