Sane default temperature limits for Axis cameras (#8371)

Default behaviour is to set low limit to (current temperature - 10 deg) and high limit to (current temperature + 20 deg) upon discovery. Changing that to abs values +5 and +35 deg respectively to be in realistic boundaries.
This commit is contained in:
priiduonu 2018-03-14 03:06:40 +02:00 committed by Tony Murray
parent 6b68d5fce9
commit 4da272f451

View File

@ -15,5 +15,5 @@ foreach (array_keys($oids) as $index) {
$current = $cur_oid[$index]['tempSensorValue'];
$oid = $cur_oid.$index;
discover_sensor($valid['sensor'], 'temperature', $device, $oid, $index, 'axiscam', 'Temperature Sensor '.$index, '1', '1', '', '', '', '', $current);
discover_sensor($valid['sensor'], 'temperature', $device, $oid, $index, 'axiscam', 'Temperature Sensor '.$index, '1', '1', '5', '10', '30', '35', $current);
}