Brad Bishop | 45387d6 | 2016-11-10 21:58:58 -0600 | [diff] [blame] | 1 | description: > |
| 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 Bishop | 6c4e2e9 | 2016-12-28 13:38:31 -0500 | [diff] [blame] | 9 | current |
| 10 | power |
| 11 | energy |
Brad Bishop | 45387d6 | 2016-11-10 21:58:58 -0600 | [diff] [blame] | 12 | |
| 13 | Additionally, any object implementing Sensor.Threshold.Critical must also |
| 14 | implement Sensor.Value. |
| 15 | |
| 16 | properties: |
| 17 | - name: CriticalHigh |
| 18 | type: int64 |
| 19 | description: > |
| 20 | The upper bound of the critical threshold. |
| 21 | - name: CriticalLow |
| 22 | type: int64 |
| 23 | description: > |
| 24 | The lower bound of the critical threshold. |
Brad Bishop | 6d51435 | 2017-01-05 21:33:17 -0500 | [diff] [blame] | 25 | - name: CriticalAlarmHigh |
Brad Bishop | 45387d6 | 2016-11-10 21:58:58 -0600 | [diff] [blame] | 26 | type: boolean |
| 27 | description: > |
Brad Bishop | 6d51435 | 2017-01-05 21:33:17 -0500 | [diff] [blame] | 28 | True if the sensor value has exceeded the defined bound. |
| 29 | False if the sensor value has not exceeded the defined bound. |
Brad Bishop | 45387d6 | 2016-11-10 21:58:58 -0600 | [diff] [blame] | 30 | |
Brad Bishop | 6d51435 | 2017-01-05 21:33:17 -0500 | [diff] [blame] | 31 | CriticalAlarmHigh may be set to False to clear an alarm condition. |
| 32 | The behavior of setting CriticalAlarmHigh to True is undefined. |
| 33 | - name: CriticalAlarmLow |
| 34 | type: boolean |
| 35 | description: > |
| 36 | True if the sensor value has exceeded the defined bound. |
| 37 | False if the sensor value has not exceeded the defined bound. |
| 38 | |
| 39 | CriticalAlarmLow may be set to False to clear an alarm condition. |
| 40 | The behavior of setting CriticalAlarmLow to True is undefined. |
Brad Bishop | 45387d6 | 2016-11-10 21:58:58 -0600 | [diff] [blame] | 41 | |
Brad Bishop | 6c4e2e9 | 2016-12-28 13:38:31 -0500 | [diff] [blame] | 42 | |
Brad Bishop | 45387d6 | 2016-11-10 21:58:58 -0600 | [diff] [blame] | 43 | # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 |