From 14d290fc05921aab3ab5dcd94a1ba813f5c6747f Mon Sep 17 00:00:00 2001 From: Brooke Kuhlmann Date: Mon, 23 Feb 2026 11:38:01 -0700 Subject: [PATCH] Fixed carbon dioxide kind Necessary to be compatible with our firmware header response because this is the official terminology now (and is also important for API consumption purposes). Milestone: patch --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 162f845..703371d 100644 --- a/main.cpp +++ b/main.cpp @@ -127,7 +127,7 @@ JSONREC rec; rec.szModel = "SCD41"; rec.szValue = szValue; // Add CO2 value - rec.szKind = "co2"; + rec.szKind = "carbon_dioxide"; sprintf(szValue, "%d", co2.co2()); rec.szUnit = "parts_per_million"; AddJSONItem(f, &rec, REC_FIRST);