CLASS2.LEVEL1.SECURITY
This class mirrors the CLASS1.SECURITY class but use a different data format with a GUID stored in the first 16 bytes of the data followed by the standard data thus offset with 16-bytes.
See CLASS2.PROTOCOL1 for more information on the data format.
VSCP_TYPE_SECURITY_GENERAL
General Event.
VSCP_TYPE_SECURITY_MOTION
A motion has been detected.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
3 | Optional. Status |
If both or one of zone/sub-zone are omitted they should be interpreted as if they where 255.
The optional status byte can have the following values. If not present value = 0 should be assumed.
Value | Description |
---|---|
0 | Security event occurred. |
1 | Activated |
2 | Inactivated |
VSCP_TYPE_SECURITY_GLASS_BREAK
A glass break event has been detected.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all subzones. |
If both or one of zone/sub-zone are omitted they should be interpreted as if they where 255.
VSCP_TYPE_SECURITY_BEAM_BREAK
A beam break event has been detected.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
If both or one of zone/sub-zone are omitted they should be interpreted as if they where 255.
VSCP_TYPE_SECURITY_SENSOR_TAMPER
A sensor tamper has been detected.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
If both or one of zone/sub-zone are omitted they should be interpreted as if they where 255.
VSCP_TYPE_SECURITY_SHOCK_SENSOR
A shock sensor event has been detected.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
If both or one of zone/sub-zone are omitted they should be interpreted as if they where 255.
VSCP_TYPE_SECURITY_SMOKE_SENSOR
A smoke sensor event has been detected.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
If both or one of zone/sub-zone are omitted they should be interpreted as if they where 255.
VSCP_TYPE_SECURITY_HEAT_SENSOR
A heat sensor event has been detected.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
If both or one of zone/sub-zone are omitted they should be interpreted as if they where 255.
VSCP_TYPE_SECURITY_PANIC_SWITCH
A panic switch event has been detected.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
If both or one of zone/sub-zone are omitted they should be interpreted as if they where 255.
VSCP_TYPE_SECURITY_DOOR_OPEN
Indicates a door sensor reports that a door is open.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
If both or one of zone/sub-zone are omitted they should be interpreted as if they where 255.
VSCP_TYPE_SECURITY_WINDOW_OPEN
Indicates a window sensor reports that a window is open.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
If both or one of zone/sub-zone are omitted they should be interpreted as if they where 255.
VSCP_TYPE_SECURITY_CO_SENSOR
CO sensor has detected CO at non secure level
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
If both or one of zone/sub-zone are omitted they should be interpreted as if they where 255.
VSCP_TYPE_SECURITY_FROST_DETECTED
A frost sensor condition is detected
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
If both or one of zone/sub-zone are omitted they should be interpreted as if they where 255.
VSCP_TYPE_SECURITY_FLAME_DETECTED
Flame is detected.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
If both or one of zone/sub-zone are omitted they should be interpreted as if they where 255.
VSCP_TYPE_SECURITY_OXYGEN_LOW
Low oxygen level detected.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
If both or one of zone/sub-zone are omitted they should be interpreted as if they where 255.
VSCP_TYPE_SECURITY_WEIGHT_DETECTED
Weight-detector triggered.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
If both or one of zone/sub-zone are omitted they should be interpreted as if they where 255.
VSCP_TYPE_SECURITY_WATER_DETECTED
Water has been detected.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
If both or one of zone/sub-zone are omitted they should be interpreted as if they where 255.
VSCP_TYPE_SECURITY_CONDENSATION_DETECTED
Condensation (humidity) detected.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
If both or one of zone/sub-zone are omitted they should be interpreted as if they where 255.
VSCP_TYPE_SECURITY_SOUND_DETECTED
Noise (sound) has been detected.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
If both or one of zone/sub-zone are omitted they should be interpreted as if they where 255.
VSCP_TYPE_SECURITY_HARMFUL_SOUND_LEVEL
Harmful sound levels detected.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
If both or one of zone/sub-zone are omitted they should be interpreted as if they where 255.
VSCP_TYPE_SECURITY_TAMPER
Tamper detected.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
VSCP_TYPE_SECURITY_AUTHENTICATED
Authenticated. A user or a device has been authenticated.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
VSCP_TYPE_SECURITY_UNAUTHENTICATED
Unauthenticated. A user or a device has failed authentication.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
VSCP_TYPE_SECURITY_AUTHORIZED
Authorized. A user or a device has been authorized.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
VSCP_TYPE_SECURITY_UNAUTHORIZED
Unauthorized. A user or a device has failed authorization.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
VSCP_TYPE_SECURITY_ID_CHECK
ID Check. A user or a device has gone through an identification test and is either allowed or not allowed access according to bits in byte 0.
Data byte | Description |
---|---|
0 | ID check bits. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
ID Check bits
Bit | Description |
---|---|
0 | Authenticated if set to one. |
1 | Authorized if set to one. |
VSCP_TYPE_SECURITY_PIN_OK
Valid pin. A valid pin has been entered by a device or user.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
VSCP_TYPE_SECURITY_PIN_FAIL
Invalid pin. An invalid pin has been entered by a device or user.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
VSCP_TYPE_SECURITY_PIN_WARNING
Pin warning. An invalid pin has been entered by a device or user and a warning has been given. This warning is typically a warning that the pin will be unusable if further failures are detected.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
VSCP_TYPE_SECURITY_PIN_ERROR
Pin error. An invalid pin has been entered by a device or user and it has failed so many times that the pin is now locked and unusable.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
VSCP_TYPE_SECURITY_PASSWORD_OK
Valid password. A valid password has been entered by a device or user.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
VSCP_TYPE_SECURITY_PASSWORD_FAIL
Invalid password. An invalid password has been entered by a device or user.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
VSCP_TYPE_SECURITY_PASSWORD_WARNING
Password warning. An invalid password has been entered by a device or user and a warning has been given. This warning is typically a warning that the password will be unusable if further failures are detected.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
VSCP_TYPE_SECURITY_PASSWORD_ERROR
Password error. An invalid password has been entered by a device or user and it has failed so many times that the password is now locked and unusable.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
VSCP_TYPE_SECURITY_GAS_SENSOR
Gas has been detected.
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
VSCP_TYPE_SECURITY_IN_MOTION_DETECTED
An object is in motion
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
VSCP_TYPE_SECURITY_NOT_IN_MOTION_DETECTED
An object is in rest (jammed)
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |
VSCP_TYPE_SECURITY_VIBRATION_DETECTED
Vibration detected
Data byte | Description |
---|---|
0 | User defined data. |
1 | Zone for which event applies to (0-255). 255 is all zones. |
2 | Sub-zone for which event applies to (0-255). 255 is all sub-zones. |