smurphy
Full Member
Posts: 169
Raspberry Pi: Yes
Other Device: many ...
|
Post by smurphy on Mar 10, 2020 5:30:27 GMT -8
Looking at my weather data output written into my DB, I see the following. What unit is the content exactly for totalrain? The one written to DB? Thx,
MariaDB [SkyWeather]> select ID,totalrain, TimeStamp from WeatherData where totalRain > 0 ORDER BY ID DESC; | 11277 | 1.397 | 2020-03-10 00:20:25 | | 11276 | 1.118 | 2020-03-10 00:15:25 | | 11275 | 1.118 | 2020-03-10 00:10:26 | | 11274 | 0.838 | 2020-03-10 00:05:25 | | 11273 | 0.838 | 2020-03-10 00:00:25 | | 11272 | 0.559 | 2020-03-09 23:55:25 | | 11271 | 0.559 | 2020-03-09 23:50:25 | | 11270 | 0.559 | 2020-03-09 23:45:25 | | 11269 | 0.279 | 2020-03-09 23:40:25 | | 11268 | 0.279 | 2020-03-09 23:35:25 | | 11267 | 0.279 | 2020-03-09 23:30:25 | | 11266 | 0.279 | 2020-03-09 23:25:25 | | 11262 | 0.838 | 2020-03-09 23:03:29 | | 11261 | 0.698 | 2020-03-09 22:58:29 | | 11260 | 0.698 | 2020-03-09 22:53:29 | | 11259 | 0.698 | 2020-03-09 22:48:29 | | 11258 | 0.419 | 2020-03-09 22:43:29 | | 11257 | 0.419 | 2020-03-09 22:38:29 | | 11256 | 0.279 | 2020-03-09 22:33:29 | | 11255 | 0.279 | 2020-03-09 22:28:29 | | 11254 | 0.279 | 2020-03-09 22:23:29 |
|
|
smurphy
Full Member
Posts: 169
Raspberry Pi: Yes
Other Device: many ...
|
Post by smurphy on Mar 12, 2020 1:57:05 GMT -8
Are these really mm? values incremented?
|
|
|
Post by SDL on Mar 12, 2020 16:07:44 GMT -8
Yes, mm. Each click is 0.279 mm of rain.
BP
|
|
smurphy
Full Member
Posts: 169
Raspberry Pi: Yes
Other Device: many ...
|
Post by smurphy on Mar 13, 2020 2:43:52 GMT -8
ok. Thx. Now I need to compute the real value display, as MRTG does not like floats, I had to multiply it by 1000 so MRTG did not convert it itself.
|
|