configurations: yosemite4: Add hysteresis values for all sensors
Add hysteresis values and set their values to zero
Change-Id: I131796a364157fed58013c30098b6fc23de0be27
Signed-off-by: Benson Chu <benson.chu.wiwynn@gmail.com>
diff --git a/configurations/yosemite4n.json b/configurations/yosemite4n.json
index 82f9eca..c9eef2f 100644
--- a/configurations/yosemite4n.json
+++ b/configurations/yosemite4n.json
@@ -7,6 +7,7 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Label": "vout1",
"Name": "upper non recoverable",
"Severity": 4,
@@ -14,30 +15,35 @@
},
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Name": "upper critical",
"Severity": 1,
"Value": 13.176
},
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Name": "upper non critical",
"Severity": 0,
"Value": 13.054
},
{
"Direction": "less than",
+ "Hysteresis": 0,
"Name": "lower non critical",
"Severity": 0,
"Value": 11.346
},
{
"Direction": "less than",
+ "Hysteresis": 0,
"Name": "lower critical",
"Severity": 1,
"Value": 11.224
},
{
"Direction": "less than",
+ "Hysteresis": 0,
"Label": "vin",
"Name": "lower non recoverable",
"Severity": 4,
@@ -53,36 +59,42 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Name": "upper non recoverable",
"Severity": 4,
"Value": 5.65
},
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Name": "upper critical",
"Severity": 1,
"Value": 5.55
},
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Name": "upper non critical",
"Severity": 0,
"Value": 5.5
},
{
"Direction": "less than",
+ "Hysteresis": 0,
"Name": "lower non critical",
"Severity": 0,
"Value": 4.5
},
{
"Direction": "less than",
+ "Hysteresis": 0,
"Name": "lower critical",
"Severity": 1,
"Value": 4.45
},
{
"Direction": "less than",
+ "Hysteresis": 0,
"Name": "lower non recoverable",
"Severity": 4,
"Value": 4.15
@@ -97,36 +109,42 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Name": "upper non recoverable",
"Severity": 4,
"Value": 3.729
},
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Name": "upper critical",
"Severity": 1,
"Value": 3.564
},
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Name": "upper non critical",
"Severity": 0,
"Value": 3.531
},
{
"Direction": "less than",
+ "Hysteresis": 0,
"Name": "lower non critical",
"Severity": 0,
"Value": 3.069
},
{
"Direction": "less than",
+ "Hysteresis": 0,
"Name": "lower critical",
"Severity": 1,
"Value": 3.036
},
{
"Direction": "less than",
+ "Hysteresis": 0,
"Name": "lower non recoverable",
"Severity": 4,
"Value": 2.739
@@ -141,24 +159,28 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Name": "upper critical",
"Severity": 1,
"Value": 2.7
},
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Name": "upper non critical",
"Severity": 0,
"Value": 2.675
},
{
"Direction": "less than",
+ "Hysteresis": 0,
"Name": "lower non critical",
"Severity": 0,
"Value": 2.325
},
{
"Direction": "less than",
+ "Hysteresis": 0,
"Name": "lower critical",
"Severity": 1,
"Value": 2.3
@@ -173,36 +195,42 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Name": "upper non recoverable",
"Severity": 4,
"Value": 5.5
},
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Name": "upper critical",
"Severity": 1,
"Value": 5.4
},
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Name": "upper non critical",
"Severity": 0,
"Value": 5.35
},
{
"Direction": "less than",
+ "Hysteresis": 0,
"Name": "lower non critical",
"Severity": 0,
"Value": 4.65
},
{
"Direction": "less than",
+ "Hysteresis": 0,
"Name": "lower critical",
"Severity": 1,
"Value": 4.6
},
{
"Direction": "less than",
+ "Hysteresis": 0,
"Name": "lower non recoverable",
"Severity": 4,
"Value": 4.15
@@ -217,36 +245,42 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Name": "upper non recoverable",
"Severity": 4,
"Value": 1.356
},
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Name": "upper critical",
"Severity": 1,
"Value": 1.296
},
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Name": "upper non critical",
"Severity": 0,
"Value": 1.284
},
{
"Direction": "less than",
+ "Hysteresis": 0,
"Name": "lower non critical",
"Severity": 0,
"Value": 1.116
},
{
"Direction": "less than",
+ "Hysteresis": 0,
"Name": "lower critical",
"Severity": 1,
"Value": 1.104
},
{
"Direction": "less than",
+ "Hysteresis": 0,
"Name": "lower non recoverable",
"Severity": 4,
"Value": 0.996
@@ -269,24 +303,28 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Name": "upper critical",
"Severity": 1,
"Value": 3.502
},
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Name": "upper non critical",
"Severity": 0,
"Value": 3.468
},
{
"Direction": "less than",
+ "Hysteresis": 0,
"Name": "lower non critical",
"Severity": 0,
"Value": 2.793
},
{
"Direction": "less than",
+ "Hysteresis": 0,
"Name": "lower critical",
"Severity": 1,
"Value": 2.765
@@ -301,24 +339,28 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Name": "upper critical",
"Severity": 1,
"Value": 1.156
},
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Name": "upper non critical",
"Severity": 0,
"Value": 1.145
},
{
"Direction": "less than",
+ "Hysteresis": 0,
"Name": "lower non critical",
"Severity": 0,
"Value": 0.995
},
{
"Direction": "less than",
+ "Hysteresis": 0,
"Name": "lower critical",
"Severity": 1,
"Value": 0.984
@@ -336,6 +378,7 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Label": "in0",
"Name": "upper critical",
"Severity": 1,
@@ -343,6 +386,7 @@
},
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Label": "in0",
"Name": "upper non critical",
"Severity": 0,
@@ -350,6 +394,7 @@
},
{
"Direction": "less than",
+ "Hysteresis": 0,
"Label": "in0",
"Name": "lower non critical",
"Severity": 0,
@@ -357,6 +402,7 @@
},
{
"Direction": "less than",
+ "Hysteresis": 0,
"Label": "in0",
"Name": "lower critical",
"Severity": 1,
@@ -377,6 +423,7 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Label": "in_voltage0",
"Name": "upper critical",
"Severity": 1,
@@ -384,6 +431,7 @@
},
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Label": "in_voltage0",
"Name": "upper non critical",
"Severity": 0,
@@ -391,6 +439,7 @@
},
{
"Direction": "less than",
+ "Hysteresis": 0,
"Label": "in_voltage0",
"Name": "lower non critical",
"Severity": 0,
@@ -398,6 +447,7 @@
},
{
"Direction": "less than",
+ "Hysteresis": 0,
"Label": "in_voltage0",
"Name": "lower critical",
"Severity": 1,
@@ -576,6 +626,7 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Index": 2,
"Name": "upper non recoverable",
"Severity": 4,
@@ -583,6 +634,7 @@
},
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Index": 2,
"Name": "upper critical",
"Severity": 1,
@@ -599,6 +651,7 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Index": 2,
"Name": "upper non recoverable",
"Severity": 4,
@@ -606,6 +659,7 @@
},
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Index": 2,
"Name": "upper critical",
"Severity": 1,
@@ -622,6 +676,7 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Index": 2,
"Name": "upper non recoverable",
"Severity": 4,
@@ -629,6 +684,7 @@
},
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Index": 2,
"Name": "upper critical",
"Severity": 1,
@@ -645,6 +701,7 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Index": 2,
"Name": "upper non recoverable",
"Severity": 4,
@@ -652,6 +709,7 @@
},
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Index": 2,
"Name": "upper critical",
"Severity": 1,
@@ -667,6 +725,7 @@
"Thresholds": [
{
"Direction": "greater than",
+ "Hysteresis": 0,
"Name": "upper critical",
"Severity": 1,
"Value": 50