How do I decode a Door/Window Sensor event?

How do I decode a Door/Window Sensor event?

The Door/Window Sensor will generate events when a door (or window) is open or closed.

 

Byte 0: 7-4

Byte 0: 3-0

Byte 1

Byte 3

Protocol version

(4 bits)

Counter

(4 bits)

Message Type Code

(0x03)

Event

(0x01 in the example below)

 

 

Protocol Definition

                  The first 4 bits are defined by Radio Bridge for the protocol

                  The next 4 bits are a counter that goes from 0 to F (Hex) and repeats

                 

Message Type

                  0x03 represents the Door/Window Sensor’s event type

 

Event

                  This byte represents the Door/Window Event

 

Event Payload                              Description

0x00                                                  Magnet is present (the door/window is closed)

0x01                                                  Magnet is not present (the door/window is open)

 

Example of a Door/Window Event Message

 

10 03 01

 

1                                      Protocol Version (currently always 0x1)

0                                      Packet Counter (increments by 1 each message and wraps from 0xF to 0x0)

03                                    Message Type Code (Door/Window Event = 0x03)

01                                    Event (Door Opened = 0x01)

 

 

The Radio Bridge Console will generate the following output for this message:

 

              Door/Window Opened



    • Related Articles

    • How do I decode a Door/Window event?

      The Door/Window Sensor will generate events according to the proximity of the included wall-mounted magnet. Door/Window Event Message: 0x03       Byte                        Description       0                              Presence of magnet (closed ...
    • How do I encode a Configuration Downlink for a Door/Window Sensor?

      NOTE:  All downlinks must contain a total of (8) bytes, padded with zeros at the end when necessary. See User Manual at https://www.multitech.com/models/RB90000005LF for more information. Door Window Sensor Configuration Message: 0x03       Byte      ...
    • How do I decode a sensor's Reset Message?

      The Reset Message is sent to the Cloud every time that the Sensor is Reset. Reset Message: 0x00       Device has Reset. The cause of reset is represented in the 5-byte reset code payload.       Bytes           Description       0                  ...
    • 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 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 ...