Statistics Modul - unendlich viele Nullen

Begonnen von uwirt, 21 Juni 2019, 20:23:01

Vorheriges Thema - Nächstes Thema

uwirt

Ich lasse bei einem HTTPMOD device mit dem Statistics Modul Minimal- und Maximalwerte berechnen. Aus irgendeinem Grund wir bei einigen Statistik-Werten eine unendlich lange Zahl von Nachkommastellen als Nullen dargestellt.



stat01_humidityDay
Min: 67.439999999999997726263245567679405212402343750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Avg: 68.266177129208031715279503259807825088500976562500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Max: 71.590000000000003410605131648480892181396484375000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000





Hier das List des device:



Internals:
   BUSY       0
   DEF        http://192.168.1.79/AC3.json 60
   FUUID      5cefedf8-f33f-28a1-5817-9f703b43fc5588b0
   Interval   60
   JSONEnabled 1
   LASTSEND   1561140159.13164
   MainURL    http://192.168.1.79/AC3.json
   ModuleVersion 3.5.9 - 13.2.2019
   NAME       uRadMonitor_AC3
   NOTIFYDEV  global
   NR         43
   NTFY_ORDER 50-uRadMonitor_AC3
   STATE      192.168.1.79
   TRIGGERTIME 1561140219.13131
   TRIGGERTIME_FMT 2019-06-21 20:03:39
   TYPE       HTTPMOD
   addr       http://192.168.1.79:80
   auth       0
   buf       
   code       200
   compress   1
   conn       
   data       
   displayurl http://192.168.1.79/AC3.json
   header     
   host       192.168.1.79
   httpheader HTTP/1.1 200 OK
Server: nginx
Date: Fri, 21 Jun 2019 18:02:39 GMT
Content-Type: application/json
Content-Length: 17
Connection: close
Last-Modified: Fri, 21 Jun 2019 18:00:16 GMT
ETag: "11-58bd93c1d2189"
Accept-Ranges: bytes
   httpversion 1.0
   hu_blocking 0
   hu_filecount 2399
   hu_port    80
   hu_portSfx
   ignoreredirects 0
   loglevel   4
   path       /AC3.json
   protocol   http
   redirects  0
   timeout    2
   url        http://192.168.1.79/AC3.json
   value      0
   OLDREADINGS:
   QUEUE:
   READINGS:
     2019-06-21 19:59:39   01_altitude     517.31
     2019-06-21 19:59:39   01_ch2o         30
     2019-06-21 19:59:39   01_co2          367
     2019-06-21 19:59:39   01_cpm          14
     2019-06-21 19:59:39   01_duty         189
     2019-06-21 19:59:39   01_humidity     67.46
     2019-06-21 19:59:39   01_latitude     46.9167
     2019-06-21 19:59:39   01_longitude    7.4667
     2019-06-21 19:59:39   01_noise        46
     2019-06-21 19:59:39   01_pm1          14.4
     2019-06-21 19:59:39   01_pm10         25.09
     2019-06-21 19:59:39   01_pm25         18
     2019-06-21 19:59:39   01_pressure     95266
     2019-06-21 19:59:39   01_temperature  21.17
     2019-06-21 19:59:39   01_time         1561139646
     2019-06-21 19:59:39   01_timelocal    6480
     2019-06-21 19:59:39   01_voc          224897
     2019-06-21 19:59:39   01_vocaqi       78
     2019-06-21 19:59:39   01_voltage      383
     2019-06-21 05:19:27   02_altitude     516
     2019-06-21 05:19:27   02_ch2o         30
     2019-06-21 05:19:27   02_co2          370
     2019-06-21 05:19:27   02_cpm          7
     2019-06-21 05:19:27   02_duty         186
     2019-06-21 05:19:27   02_humidity     68.15
     2019-06-21 05:19:27   02_latitude     46.9167
     2019-06-21 05:19:27   02_longitude    7.4667
     2019-06-21 05:19:27   02_noise        47
     2019-06-21 05:19:27   02_pm1          14.4
     2019-06-21 05:19:27   02_pm10         25.09
     2019-06-21 05:19:27   02_pm25         18
     2019-06-21 05:19:27   02_pressure     95282
     2019-06-21 05:19:27   02_temperature  21.02
     2019-06-21 05:19:27   02_time         1561086902
     2019-06-21 05:19:27   02_timelocal    90960
     2019-06-21 05:19:27   02_voc          219649
     2019-06-21 05:19:27   02_vocaqi       125
     2019-06-21 05:19:27   02_voltage      378
     2019-06-21 20:02:39   Barometer       952.66
     2019-06-21 20:02:39   stat01_humidityDay Min: 67.439999999999997726263245567679405212402343750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Avg: 68.165916271721954444728908129036426544189453125000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Max: 71.319999999999993178789736703038215637207031250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
     2019-06-20 23:59:55   stat01_humidityDayLast Min: 66.280000000000001136868377216160297393798828125000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Avg: 67.790326851851858691588859073817729949951171875000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Max: 70.969999999999998863131622783839702606201171875000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
     2019-06-21 20:02:39   stat01_humidityHour Min: 67.46 Avg: 67.46 Max: 67.46
     2019-06-21 19:59:55   stat01_humidityHourLast Min: 67.45 Avg: 67.47 Max: 67.51
     2019-06-21 20:02:39   stat01_humidityMonth Min: 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Avg: 299.962438852359241536760237067937850952148437500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Max: 71.319999999999993178789736703038215637207031250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
     2019-06-21 20:02:39   stat01_humidityYear Min: 0.000 Avg: 4501.284 Max: 71.320
     2019-06-21 20:02:39   stat01_temperatureDay Min: 20.70 Avg: 21.07 Max: 21.20
     2019-06-20 23:59:55   stat01_temperatureDayLast Min: 20.63 Avg: 21.11 Max: 21.55
     2019-06-21 20:02:39   stat01_temperatureHour Min: 21.17 Avg: 21.17 Max: 21.17
     2019-06-21 19:59:55   stat01_temperatureHourLast Min: 21.17 Avg: 21.19 Max: 21.20
     2019-06-21 20:02:39   stat01_temperatureMonth Min: 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Avg: 3.002909911693701250356980381184257566928863525390625000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Max: 21.550000000000000710542735760100185871124267578125000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
     2019-06-21 20:02:39   stat01_temperatureYear Min: 0.000 Avg: 3.003 Max: 21.550
     2019-06-21 20:02:39   success         []
   REQUEST:
     data       
     header     
     ignoreredirects 0
     retryCount 0
     type       update
     url        http://192.168.1.79/AC3.json
     value      0
   defptr:
     readingBase:
       01_altitude reading
       01_ch2o    reading
       01_co2     reading
       01_cpm     reading
       01_duty    reading
       01_humidity reading
       01_latitude reading
       01_longitude reading
       01_noise   reading
       01_pm1     reading
       01_pm10    reading
       01_pm25    reading
       01_pressure reading
       01_temperature reading
       01_time    reading
       01_timelocal reading
       01_voc     reading
       01_vocaqi  reading
       01_voltage reading
       02_altitude reading
       02_ch2o    reading
       02_co2     reading
       02_cpm     reading
       02_duty    reading
       02_humidity reading
       02_latitude reading
       02_longitude reading
       02_noise   reading
       02_pm1     reading
       02_pm10    reading
       02_pm25    reading
       02_pressure reading
       02_temperature reading
       02_time    reading
       02_timelocal reading
       02_voc     reading
       02_vocaqi  reading
       02_voltage reading
       success    reading
     readingNum:
       01_altitude
       01_ch2o   
       01_co2     
       01_cpm     
       01_duty   
       01_humidity
       01_latitude
       01_longitude
       01_noise   
       01_pm1     
       01_pm10   
       01_pm25   
       01_pressure
       01_temperature
       01_time   
       01_timelocal
       01_voc     
       01_vocaqi 
       01_voltage
       02_altitude
       02_ch2o   
       02_co2     
       02_cpm     
       02_duty   
       02_humidity
       02_latitude
       02_longitude
       02_noise   
       02_pm1     
       02_pm10   
       02_pm25   
       02_pressure
       02_temperature
       02_time   
       02_timelocal
       02_voc     
       02_vocaqi 
       02_voltage
       success   
     readingOutdated:
     requestReadings:
       update:
         01_altitude reading
         01_ch2o    reading
         01_co2     reading
         01_cpm     reading
         01_duty    reading
         01_humidity reading
         01_latitude reading
         01_longitude reading
         01_noise   reading
         01_pm1     reading
         01_pm10    reading
         01_pm25    reading
         01_pressure reading
         01_temperature reading
         01_time    reading
         01_timelocal reading
         01_voc     reading
         01_vocaqi  reading
         01_voltage reading
         02_altitude reading
         02_ch2o    reading
         02_co2     reading
         02_cpm     reading
         02_duty    reading
         02_humidity reading
         02_latitude reading
         02_longitude reading
         02_noise   reading
         02_pm1     reading
         02_pm10    reading
         02_pm25    reading
         02_pressure reading
         02_temperature reading
         02_time    reading
         02_timelocal reading
         02_voc     reading
         02_vocaqi  reading
         02_voltage reading
         success    reading
   helper:
     _98_statistics StatDevice_MinMax
   sslargs:
Attributes:
   extractAllJSON 1
   stateFormat 192.168.1.79
   userReadings Barometer {ReadingsVal("uRadMonitor_AC3","01_pressure",0)/100}
FHEM / Ubuntu / fitlet2
HomeMatic: CCU3|HmIP-STHD|HmIP-PCBS|HmIP-PCBS2|HmIP-PCBS-BAT|HM-WDC7000|HM-WDS100-C6-O|HM-WDS40|HM-LC-Sw1-FM|HM-LC-RGBW-WM|HM-ES-PMSw1-Pl|HM-ES-TX-WM
NAS: DS218+|DS209j|DS216+II|DS412+
Devices: Panasonic Webcams|Withings|Gardena Smart|Tuya