newdevice: Added dry contact state support for AKCP devices

* feature: Add AKCP dry contact state support

fix #7100

* Updated to use yaml
This commit is contained in:
Søren Rosiak 2017-08-12 00:05:18 +02:00 committed by Neil Lathwood
parent cdf8021843
commit a84392cff6
3 changed files with 1848 additions and 0 deletions

View File

@ -7,4 +7,5 @@ discovery:
- sysDescr:
- SensorProbe
- sensorProbe4
- sensorProbe8
- securityProbe

View File

@ -0,0 +1,17 @@
mib: HHMSAGENT-MIB
modules:
sensors:
state:
data:
-
oid: hhmsSensorArrayTable
value: hhmsSensorArraySwitchStatus
num_oid: .1.3.6.1.4.1.3854.1.2.2.1.18.1.3.
descr: '{{ $hhmsSensorArraySwitchDescription }}'
index: 'hhmsSensorArraySwitchStatus.{{ $index }}'
skip_values: 1
states:
- { descr: noStatus, graph: 1, value: 1, generic: 3 }
- { descr: normal, graph: 1, value: 2, generic: 0 }
- { descr: critical, graph: 1, value: 4, generic: 2 }
- { descr: sensorError, graph: 1, value: 7, generic: 3 }

1830
mibs/akcp/HHMSAGENT-MIB Normal file

File diff suppressed because it is too large Load Diff