Skip to content

Commit

Permalink
Fix Chef AirQualitySensor temperature range
Browse files Browse the repository at this point in the history
The original was setting maxMeasuredValue/maxMeasuredValue as 0x800
which doesn't make any senses. So it is modified to the reasonable
values from -5000 (-50 celsius degrees) ~ 7000 (70 celsius degrees)
  • Loading branch information
erwinpan1 committed Sep 24, 2024
1 parent fbc0d21 commit 3ae8e65
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2613,9 +2613,9 @@ endpoint 1 {
}

server cluster TemperatureMeasurement {
persist attribute measuredValue default = 0x800;
persist attribute minMeasuredValue default = 0x800;
persist attribute maxMeasuredValue default = 0x800;
persist attribute measuredValue default = 0;
persist attribute minMeasuredValue default = -5000;
persist attribute maxMeasuredValue default = 7500;
persist attribute tolerance default = 0;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3107,7 +3107,7 @@
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x800",
"defaultValue": "0",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand All @@ -3123,7 +3123,7 @@
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x800",
"defaultValue": "-5000",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand All @@ -3139,7 +3139,7 @@
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x800",
"defaultValue": "7500",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down

0 comments on commit 3ae8e65

Please sign in to comment.