Skip to content

Commit

Permalink
carbon_dioxide
Browse files Browse the repository at this point in the history
  • Loading branch information
DigiH committed Nov 14, 2023
1 parent 9ff7e56 commit e9640ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/devices/CGDN1_json.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const char* _CGDN1_json = "{\"brand\":\"Qingping\",\"model\":\"Air Monitor Lite\
}
})"""";*/

const char* _CGDN1_json_props = "{\"properties\":{\"tempc\":{\"unit\":\"°C\",\"name\":\"temperature\"},\"hum\":{\"unit\":\"%\",\"name\":\"humidity\"},\"pm25\":{\"unit\":\"μg/m³\",\"name\":\"pm25\"},\"pm10\":{\"unit\":\"μg/m³\",\"name\":\"pm10\"},\"co2\":{\"unit\":\"ppm\",\"name\":\"carbon dioxide\"}}}";
const char* _CGDN1_json_props = "{\"properties\":{\"tempc\":{\"unit\":\"°C\",\"name\":\"temperature\"},\"hum\":{\"unit\":\"%\",\"name\":\"humidity\"},\"pm25\":{\"unit\":\"μg/m³\",\"name\":\"pm25\"},\"pm10\":{\"unit\":\"μg/m³\",\"name\":\"pm10\"},\"co2\":{\"unit\":\"ppm\",\"name\":\"carbon_dioxide\"}}}";
/*R""""(
{
"properties":{
Expand All @@ -49,7 +49,7 @@ const char* _CGDN1_json_props = "{\"properties\":{\"tempc\":{\"unit\":\"°C\",\"
},
"co2":{
"unit":"ppm",
"name":"carbon dioxide"
"name":"carbon_dioxide"
}
}
})"""";*/
4 changes: 2 additions & 2 deletions src/devices/SCD4X_json.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const char* _SCD4X_json = "{\"brand\":\"Sensirion\",\"model\":\"MyCO₂/CO₂ Ga
}
})"""";*/

const char* _SCD4X_json_props = "{\"properties\":{\"tempc\":{\"unit\":\"°C\",\"name\":\"temperature\"},\"hum\":{\"unit\":\"%\",\"name\":\"humidity\"},\"co2\":{\"unit\":\"ppm\",\"name\":\"carbon dioxide\"}}}";
const char* _SCD4X_json_props = "{\"properties\":{\"tempc\":{\"unit\":\"°C\",\"name\":\"temperature\"},\"hum\":{\"unit\":\"%\",\"name\":\"humidity\"},\"co2\":{\"unit\":\"ppm\",\"name\":\"carbon_dioxide\"}}}";

/* R""""(
{
Expand All @@ -37,7 +37,7 @@ const char* _SCD4X_json_props = "{\"properties\":{\"tempc\":{\"unit\":\"°C\",\"
},
"co2":{
"unit":"ppm",
"name":"carbon dioxide"
"name":"carbon_dioxide"
}
}
})"""";*/

0 comments on commit e9640ec

Please sign in to comment.