Browse Source

Fix InfluxDB send sensor by id (#882)

rfm69
Xose Pérez 6 years ago
parent
commit
f0fffcbe93
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/espurna/influxdb.ino

+ 1
- 1
code/espurna/influxdb.ino View File

@ -92,7 +92,7 @@ bool idbSend(const char * topic, const char * payload) {
bool idbSend(const char * topic, unsigned char id, const char * payload) {
char measurement[64];
snprintf(measurement, sizeof(measurement), "%s,id=%d", topic, id);
return idbSend(topic, payload);
return idbSend(measurement, payload);
}
bool idbEnabled() {


Loading…
Cancel
Save