Parameters of sensors with a discrete output of the Didactum device can be located depending on their physical location in the sub-branches:
ctlInternalSensors - main system sensors;
ctlInternalSensorsDiscretsTable;
ctlCANSensors - CAN bus sensors;
ctlCANSensorsDiscretsTable;
ctlRsSensors - serial port sensors;
ctlRsSensorsDiscretsTable;
Example. Viewing discrete sensors:
$ snmptable -Ci -Cb -v2c -cread 192.168.0.193 DIDACTUM-SYSTEM-MIB::ctlInternalSensorsDiscretsTable
SNMP table: DIDACTUM-SYSTEM-MIB::ctlInternalSensorsDiscretsTable
| Id | Module Num | Type | Name | State | Value | Reset | Level | Reverse | Specific | |
|---|---|---|---|---|---|---|---|---|---|---|
| 101001 | 2004 | 1 | "dry" | "Dry-1" | "normal" | 1 | 60 | 50 | 1 | "" |
| 101002 | 2004 | 2 | "dry" | "Dry-2" | "normal" | 1 | 60 | 50 | 0 | "" |
| 101003 | 2004 | 3 | "dry" | "Dry-3" | "normal" | 1 | 60 | 50 | 0 | "" |
| 101004 | 2004 | 4 | "dry" | "Dry-4" | "normal" | 1 | 60 | 50 | 0 | "" |
| 102001 | 2002 | 1 | "door" | "Analog-1" | "normal" | 1 | 60 | 50 | 0 | "" |
The location of the sensor in the system is determined by the module identifier Module in which this sensor is physically located and with the port number in the unit - Num.
Sensor with a discrete output may only in states:
'normal'
'alarm'
'not connected'
If necessary, the inversion is performed by setting the state '1' in a field Reverse (default '0').
Sensor readings are in the field Value and can take values '1', or '0'
Example
Setting up an inversion of the sensor with a discrete output ID=101004:
$ snmpset -v2c -cwrite 192.168.0.193 DIDACTUM-SYSTEM-MIB::ctlInternalSensorsDiscretReverse.101004 i 1
DIDACTUM-SYSTEM-MIB::ctlInternalSensorsDiscretReverse.101004 = INTEGER: 1
Reset smoke detectors
For smoke detectors on the CAN bus, a reset of the alarm state via the SNMP SET command is available. To do this, write the string value "reset smoke" (without the quotes) by the OID .1.3.6.1.4.1.39052.6.1.1.11 (ctlCANSensorsDiscretSpecific) with the sensor ID.
Other smoke sensors are reset by the SNMP SET command by controlling the state of the "Analog Power" switch, you must turn it off for 15 seconds and then turn the power back on.