-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Aranet Aranet4 CO₂ Monitor | ||
|
||
|Model Id|[ARANET4](https://github.com/theengs/decoder/blob/development/src/devices/ARANET4_json.h)| | ||
|-|-| | ||
|Brand|Aranet| | ||
|Model|Aranet4 CO₂ Monitor| | ||
|Short Description|Air quality monitor| | ||
|Communication|BLE broadcast| | ||
|Frequency|2.4Ghz| | ||
|Power Source|2 AA| | ||
|Exchanged Data|temperature, humidity, pressure, carbon dioxide, battery| | ||
|Encrypted|No - BLE broadcast only working when Bluetooth dip switch set to ON| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,6 +104,7 @@ class TheengsDecoder { | |
SCD4X, | ||
SKALE, | ||
SMARTDRY, | ||
ARANET4, | ||
BC08, | ||
BM1IN1, | ||
BM3IN1, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
const char* _ARANET4_json = "{\"brand\":\"Aranet\",\"model\":\"Aranet4 CO₂ Monitor\",\"model_id\":\"ARANET4\",\"tag\":\"0f\",\"condition\":[\"manufacturerdata\",\"=\",48,\"index\",0,\"0207\"],\"properties\":{\"tempc\":{\"decoder\":[\"value_from_hex_data\",\"manufacturerdata\",24,4,true,true],\"post_proc\":[\"/\",20]},\"hum\":{\"decoder\":[\"value_from_hex_data\",\"manufacturerdata\",32,2,false,false]},\"pres\":{\"decoder\":[\"value_from_hex_data\",\"manufacturerdata\",28,4,true,false],\"post_proc\":[\"/\",10]},\"co2\":{\"decoder\":[\"value_from_hex_data\",\"manufacturerdata\",20,4,true,false]},\"batt\":{\"decoder\":[\"value_from_hex_data\",\"manufacturerdata\",34,2,false,false],\"post_proc\":[\"&\",127]}}}"; | ||
/*R""""( | ||
{ | ||
"brand":"Aranet", | ||
"model":"Aranet4 CO₂ Monitor", | ||
"model_id":"ARANET4", | ||
"tag":"0f", | ||
"condition":["manufacturerdata", "=", 48, "index", 0, "0207"], | ||
"properties":{ | ||
"tempc":{ | ||
"decoder":["value_from_hex_data", "manufacturerdata", 24, 4, true, true], | ||
"post_proc":["/", 20] | ||
}, | ||
"hum":{ | ||
"decoder":["value_from_hex_data", "manufacturerdata", 32, 2, false, false] | ||
}, | ||
"pres":{ | ||
"decoder":["value_from_hex_data", "manufacturerdata", 28, 4, true, false], | ||
"post_proc":["/", 10] | ||
}, | ||
"co2":{ | ||
"decoder":["value_from_hex_data", "manufacturerdata", 20, 4, true, false] | ||
}, | ||
"batt":{ | ||
"decoder":["value_from_hex_data", "manufacturerdata", 34, 2, false, false], | ||
"post_proc":["&", 127] | ||
} | ||
} | ||
})"""";*/ | ||
|
||
const char* _ARANET4_json_props = "{\"properties\":{\"tempc\":{\"unit\":\"°C\",\"name\":\"temperature\"},\"hum\":{\"unit\":\"%\",\"name\":\"humidity\"},\"pres\":{\"unit\":\"hPa\",\"name\":\"pressure\"},\"co2\":{\"unit\":\"ppm\",\"name\":\"carbon_dioxide\"},\"batt\":{\"unit\":\"%\",\"name\":\"battery\"}}}"; | ||
/*R""""( | ||
{ | ||
"properties":{ | ||
"tempc":{ | ||
"unit":"°C", | ||
"name":"temperature" | ||
}, | ||
"hum":{ | ||
"unit":"%", | ||
"name":"humidity" | ||
}, | ||
"pres":{ | ||
"unit":"hPa", | ||
"name":"pressure" | ||
}, | ||
"co2":{ | ||
"unit":"ppm", | ||
"name":"carbon_dioxide" | ||
}, | ||
"batt":{ | ||
"unit":"%", | ||
"name":"battery" | ||
} | ||
} | ||
})"""";*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters