PreviousNext
[0x1F] Binary input
Help > Sensor Types > [0x1F] Binary input

         The return value is non-zero unsigned 2-byte wide containing a state, a class and a counter of the binary input. The format is the following:

         b.0                   0: binary input is inactive
                  1: binary input is active

         b.1-b.7            Counter of the input state changes. Maximum value 0x7F overflows to 0x00.

         b.8-b.14           Class of the binary input

         0x00           Unused

         0x01-0x0F   Unspecified1-Unspecified15

         0x10           Window open

         0x11           Door open

         0x12           Flood

         0x13           Presence

         0x14           Fire

         0x15           Smoke

         0x16           Water level error

         0x17           Power on

         0x18           Occupancy

         0x19           Problem

         0x1A          Moisture

         0x1B          Light on

         0x1C          Heat on

         0x1D          Garage open

         0x1E          Charging

         0x1F           Motion

         0x20           Tamper

         0x21           Locked

         0x22-0x7F   Reserved

         b.15                 0: value ok
                  1: error

 

The recommended visual numeric representation is the c.s.nnn where c is class in decimal radix, s is a state and nnn is counter. Example: 16.0.123 is Closed window while the window was open/closed 123 times.

 

         FRC 2-byte: FRC return value equals unmodified return value.