From 37d5b5ab7d3362796530bdf9f6815adb6fa66dea Mon Sep 17 00:00:00 2001 From: Kevin Walton Date: Wed, 7 Dec 2022 21:57:26 +0000 Subject: [PATCH] Update sondehub.c Changing internal_temp to temp and temp to ext_temperature in order to match up with the tags used at https://grafana.v2.sondehub.org/ --- sondehub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sondehub.c b/sondehub.c index d63a5da..533dfe3 100755 --- a/sondehub.c +++ b/sondehub.c @@ -205,11 +205,11 @@ void ExtractFields(char *Telemetry, char *ExtractedFields) break; case 'A': - sprintf(Value, "\"internal_temp\":%s,", token); + sprintf(Value, "\"temp\":%s,", token); break; case 'B': - sprintf(Value, "\"temp\":%s,", token); + sprintf(Value, "\"ext_temperature\":%s,", token); break; case 'C':