Skip to content

Commit

Permalink
Add units and improve descriptions
Browse files Browse the repository at this point in the history
* Add min-max to descriptions when not covered by min/max values.
* Add units

NOTE: per style guide, 0-99 should not be accepted as percent, however, in this particular case (except Dimmer Level), percent is percent humidity, and values are absolute and not a relative range, thus I added % as units.

Based on ST814 Everspring Manual.
https://usermanual.wiki/Everspring-Industry-Co/ST814-2105971.pdf

Alternative searches:
* https://www.google.com/search?q=filetype%3Apdf+"Everspring"+"ST814"+"Temperature%2FHumidity"+"inclusion%2Fexclusion"
* https://www.bing.com/search?q=filetype%3Apdf%20%22Everspring%22%20%22ST814%22%20%22Temperature%2FHumidity%22%20%22inclusion%2Fexclusion%22
  • Loading branch information
Lockszmith-GH committed Dec 8, 2023
1 parent 66ad62c commit fbc5adc
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions packages/config/config/devices/0x0060/st814.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"#": "1",
"label": "Dim Level Sent via Basic Set",
"description": "The dim level sent to a lamp module upon activation: (0) Off; (1)-(99) Dim Level",
"unit": "Brightness Level",
"valueSize": 1,
"minValue": 0,
"maxValue": 99,
Expand All @@ -44,7 +45,8 @@
{
"#": "2",
"label": "Temperature Trigger ON Value",
"description": "Temperature level when a ON command is sent out. Set to 99 to disable.",
"description": "Temperature level when a ON command is sent out. -20°..50° or 99 to disable.",
"unit": "°",
"valueSize": 1,
"minValue": -20,
"maxValue": 99,
Expand All @@ -59,7 +61,8 @@
{
"#": "3",
"label": "Temperature Trigger OFF Value",
"description": "Temperature level when a OFF command is sent out. Set to 99 to disable.",
"description": "Temperature level when a OFF command is sent out. -20°..50° or 99 to disable.",
"unit": "°",
"valueSize": 1,
"minValue": -20,
"maxValue": 99,
Expand All @@ -74,7 +77,8 @@
{
"#": "4",
"label": "Humidity Trigger ON Value",
"description": "Humidity level when a ON command is sent out. Set to 99 to disable.",
"description": "Humidity level when a ON command is sent out. 20%..90%, or 99 to disable.",
"unit": "%",
"valueSize": 1,
"minValue": 20,
"maxValue": 99,
Expand All @@ -89,7 +93,8 @@
{
"#": "5",
"label": "Humidity Trigger OFF Value",
"description": "Humidity level when a OFF command is sent out. Set to 99 to disable.",
"description": "Humidity level when a OFF command is sent out. 20%..90%, or 99 to disable.",
"unit": "%",
"valueSize": 1,
"minValue": 20,
"maxValue": 99,
Expand All @@ -105,6 +110,7 @@
"#": "6",
"label": "Auto Report Time",
"description": "Sets the time interval when a sensor report is sent",
"unit": "minutes",
"valueSize": 2,
"minValue": 0,
"maxValue": 1439,
Expand All @@ -120,6 +126,7 @@
"#": "7",
"label": "Auto Report Temperature",
"description": "Sets the temperature change causing a sensor report.",
"unit": "°",
"valueSize": 1,
"minValue": 0,
"maxValue": 70,
Expand All @@ -134,7 +141,8 @@
{
"#": "8",
"label": "Auto Report Humidity",
"description": "Sets the humidity change causing a sensor report.",
"description": "Sets the humidity change causing a sensor report. 5%..70%, or 0 to disable.",
"unit": "%",
"valueSize": 1,
"minValue": 0,
"maxValue": 70,
Expand Down

0 comments on commit fbc5adc

Please sign in to comment.