blob: 1c8b4bc448cbf113f7a8fa5d4e04b84d6a49f7b8 [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
Brad Bishop45387d62016-11-10 21:58:58 -060012
13 Additionally, any object implementing Sensor.Threshold.Critical must also
14 implement Sensor.Value.
15
16properties:
17 - name: CriticalHigh
James Feist4ec65872018-07-31 11:00:25 -070018 type: double
Patrick Williams2c33a892020-11-04 12:14:13 -060019 default: NaN
Brad Bishop45387d62016-11-10 21:58:58 -060020 description: >
Patrick Williams2c33a892020-11-04 12:14:13 -060021 The upper bound of the critical threshold. A value of 'NaN' is used
22 to indicate there is no threshold of this type.
Brad Bishop45387d62016-11-10 21:58:58 -060023 - name: CriticalLow
James Feist4ec65872018-07-31 11:00:25 -070024 type: double
Patrick Williams2c33a892020-11-04 12:14:13 -060025 default: NaN
Brad Bishop45387d62016-11-10 21:58:58 -060026 description: >
Patrick Williams2c33a892020-11-04 12:14:13 -060027 The lower bound of the critical threshold. A value of 'NaN' is used
28 to indicate there is no threshold of this type.
Brad Bishop6d514352017-01-05 21:33:17 -050029 - name: CriticalAlarmHigh
Brad Bishop45387d62016-11-10 21:58:58 -060030 type: boolean
31 description: >
Brad Bishop6d514352017-01-05 21:33:17 -050032 True if the sensor value has exceeded the defined bound.
33 False if the sensor value has not exceeded the defined bound.
Brad Bishop45387d62016-11-10 21:58:58 -060034
Brad Bishop6d514352017-01-05 21:33:17 -050035 CriticalAlarmHigh may be set to False to clear an alarm condition.
36 The behavior of setting CriticalAlarmHigh to True is undefined.
37 - name: CriticalAlarmLow
38 type: boolean
39 description: >
40 True if the sensor value has exceeded the defined bound.
41 False if the sensor value has not exceeded the defined bound.
42
43 CriticalAlarmLow may be set to False to clear an alarm condition.
44 The behavior of setting CriticalAlarmLow to True is undefined.
Matt Spinler70ee1cf2021-01-21 15:25:59 -060045signals:
46 - name: CriticalHighAlarmAsserted
47 description: >
48 The high threshold alarm asserted.
49 properties:
50 - name: SensorValue
51 type: double
52 description: >
53 The sensor value that triggered the alarm change.
54 - name: CriticalHighAlarmDeasserted
55 description: >
56 The high threshold alarm deasserted.
57 properties:
58 - name: SensorValue
59 type: double
60 description: >
61 The sensor value that triggered the alarm change.
62 - name: CriticalLowAlarmAsserted
63 description: >
64 The low threshold alarm asserted.
65 properties:
66 - name: SensorValue
67 type: double
68 description: >
69 The sensor value that triggered the alarm change.
70 - name: CriticalLowAlarmDeasserted
71 description: >
72 The low threshold alarm deasserted.
73 properties:
74 - name: SensorValue
75 type: double
76 description: >
77 The sensor value that triggered the alarm change.