projects
/
manu
/
arduino-maison.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2318af
)
Fix missing comma
author
Emmanuel Lacour
<elacour@easter-eggs.com>
Mon, 3 May 2021 12:39:39 +0000
(14:39 +0200)
committer
Emmanuel Lacour
<elacour@easter-eggs.com>
Mon, 3 May 2021 12:39:39 +0000
(14:39 +0200)
station-meteo/station-meteo.ino
patch
|
blob
|
history
diff --git
a/station-meteo/station-meteo.ino
b/station-meteo/station-meteo.ino
index
1cad984
..
589c4bb
100644
(file)
--- 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();