Add chamberID

This commit is contained in:
grove5_admin committed 2026-04-27 19:34:27 -07:00
1 parent 9302a32ef4
commit 2ba0f6cc5d
2 files changed
+1

No files matched your search

BIN
View File
Binary file not shown.
+1
View File
@@ -250,6 +250,7 @@ size_t CultivarEnv::toJSON(const CultivarEnvPayload &p, char *buf, size_t len) {
size_t n = 0;
n += snprintf(buf + n, len - n, "{");
n += snprintf(buf + n, len - n, "\"chamber_id\":\"%s\",", CHAMBER_ID);
n += snprintf(buf + n, len - n, "\"ts\":%lu,", p.timestamp_ms);
// Ambient