X-Git-Url: http://git.home-dn.net/?p=manu%2Farduino-maison.git;a=blobdiff_plain;f=station-meteo%2Fstation-meteo.ino;fp=station-meteo%2Fstation-meteo.ino;h=589c4bbfd19726ec3bdd8a107b624f3fb8d600f9;hp=1cad98408354204d519f9e2a8679e9f723c6a722;hb=48a1a5c1e0813df169630676e3681f004f3979a9;hpb=c2318af8b65624d7518d9c85ff4cdd245402c7b6 diff --git a/station-meteo/station-meteo.ino b/station-meteo/station-meteo.ino index 1cad984..589c4bb 100644 --- a/station-meteo/station-meteo.ino +++ b/station-meteo/station-meteo.ino @@ -114,7 +114,7 @@ void loop(void) Serial.print("Rain mm/m2: "); Serial.println(rainfall_1min); Serial.println("Sending rain height to influxdb..."); - rain_influx_line = String("rain,city="+city+"location="+location+" value=" + String(rainfall_1min, 2)); + rain_influx_line = String("rain,city="+city+",location="+location+" value=" + String(rainfall_1min, 2)); udp.beginPacket(influxdb_host, influxdb_port); udp.print(rain_influx_line); udp.endPacket();