kopia lustrzana https://github.com/PiInTheSky/lora-gateway
Merge pull request #73 from KevWal/patch-1
Update sondehub.c to match temp and ext_temperature tags as used at grafana.v2.sondehub.orgmaster
commit
2afab21f05
|
@ -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':
|
||||
|
|
Ładowanie…
Reference in New Issue