blob: 59a8ad519b07b571fb121547780e9cb083bf830b [file] [log] [blame]
Brad Bishop45387d62016-11-10 21:58:58 -06001description: >
2 Implement to provide critical class sensor thresholds. Objects implementing
3 Sensor.Threshold.Critical must be instantiated in the correct hierarchy within
4 the sensors namespace. The following sensor hierarchies are recognized:
5 temperature
6 fan_tach
7 voltage
8 altitude
Brad Bishop6c4e2e92016-12-28 13:38:31 -05009 current
10 power
11 energy
Patrick Williams86f8c532021-10-01 06:34:04 -050012 utilization
13 airflow
14 pressure
Brad Bishop45387d62016-11-10 21:58:58 -060015
16 Additionally, any object implementing Sensor.Threshold.Critical must also
17 implement Sensor.Value.
18
19properties:
20 - name: CriticalHigh
James Feist4ec65872018-07-31 11:00:25 -070021 type: double
Patrick Williams2c33a892020-11-04 12:14:13 -060022 default: NaN
Brad Bishop45387d62016-11-10 21:58:58 -060023 description: >
Patrick Williams2c33a892020-11-04 12:14:13 -060024 The upper bound of the critical threshold. A value of 'NaN' is used
25 to indicate there is no threshold of this type.
Brad Bishop45387d62016-11-10 21:58:58 -060026 - name: CriticalLow
James Feist4ec65872018-07-31 11:00:25 -070027 type: double
Patrick Williams2c33a892020-11-04 12:14:13 -060028 default: NaN
Brad Bishop45387d62016-11-10 21:58:58 -060029 description: >
Patrick Williams2c33a892020-11-04 12:14:13 -060030 The lower bound of the critical threshold. A value of 'NaN' is used
31 to indicate there is no threshold of this type.
Brad Bishop6d514352017-01-05 21:33:17 -050032 - name: CriticalAlarmHigh
Brad Bishop45387d62016-11-10 21:58:58 -060033 type: boolean
34 description: >
Brad Bishop6d514352017-01-05 21:33:17 -050035 True if the sensor value has exceeded the defined bound.
36 False if the sensor value has not exceeded the defined bound.
Brad Bishop45387d62016-11-10 21:58:58 -060037
Brad Bishop6d514352017-01-05 21:33:17 -050038 CriticalAlarmHigh may be set to False to clear an alarm condition.
39 The behavior of setting CriticalAlarmHigh to True is undefined.
40 - name: CriticalAlarmLow
41 type: boolean
42 description: >
43 True if the sensor value has exceeded the defined bound.
44 False if the sensor value has not exceeded the defined bound.
45
46 CriticalAlarmLow may be set to False to clear an alarm condition.
47 The behavior of setting CriticalAlarmLow to True is undefined.
Matt Spinler70ee1cf2021-01-21 15:25:59 -060048signals:
49 - name: CriticalHighAlarmAsserted
50 description: >
51 The high threshold alarm asserted.
52 properties:
53 - name: SensorValue
54 type: double
55 description: >
56 The sensor value that triggered the alarm change.
57 - name: CriticalHighAlarmDeasserted
58 description: >
59 The high threshold alarm deasserted.
60 properties:
61 - name: SensorValue
62 type: double
63 description: >
64 The sensor value that triggered the alarm change.
65 - name: CriticalLowAlarmAsserted
66 description: >
67 The low threshold alarm asserted.
68 properties:
69 - name: SensorValue
70 type: double
71 description: >
72 The sensor value that triggered the alarm change.
73 - name: CriticalLowAlarmDeasserted
74 description: >
75 The low threshold alarm deasserted.
76 properties:
77 - name: SensorValue
78 type: double
79 description: >
80 The sensor value that triggered the alarm change.