From f0fffcbe93e7162d363b92096d331d21b46cde46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Sat, 26 May 2018 10:58:06 +0200 Subject: [PATCH] Fix InfluxDB send sensor by id (#882) --- code/espurna/influxdb.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/espurna/influxdb.ino b/code/espurna/influxdb.ino index 8dc3108a..041ce6c6 100644 --- a/code/espurna/influxdb.ino +++ b/code/espurna/influxdb.ino @@ -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() {