High rainRate each archive interval

57 de afișări
Accesați primul mesaj necitit

Florentin Prevost

necitită,
14 aug. 2020, 13:55:3314.08.2020
– weewx-development
Hi,

I saw that Weewx make an average with each packets in genLoopPackets. But when I see in archive table, I've not the high rainRate. How can I have the high rainRate for each archive ?

If I make a sql request on daily table, I've just the high rainRate day with the timestamp.

Thank's a lot

Tom Keffer

necitită,
14 aug. 2020, 14:08:1814.08.2020
– Florentin Prevost, weewx-development
By default, the accumulators emit the average value seen over an archive period. This can be changed to the highest value by putting this at the bottom of your weewx.conf file:

[Accumulator]
  [[rainRate]]
    extractor = max

-tk

--
You received this message because you are subscribed to the Google Groups "weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/c165de90-7dd6-4917-a1d5-017af13f5524o%40googlegroups.com.

flor...@pre-vost.fr

necitită,
14 aug. 2020, 18:21:2114.08.2020
– weewx-development
Hi ! 

Thank you very much ! 

To push my driver, how can I set this with install.py when install the driver like this ? 

config={
'WLLDriver': {
'driver' : 'user.WLLDriver',
'max_tries' : 10,
'retry_wait' : 5,
'poll_interval' : 10,
'udp_enable' : 0,
'hostname' : 'change_me',
'time_out' : 10,
'device_id' : '1:iss',
'wl_apikey' : 'change_me',
'wl_apisecret' : 'change_me',
'wl_stationid' : 'change_me',
'wl_archive_interval' : 5,

},

Tom Keffer

necitită,
14 aug. 2020, 20:12:4414.08.2020
– flor...@pre-vost.fr, weewx-development
config={
  'WLLDriver': {
    'driver' : 'user.WLLDriver',
    'max_tries' : 10,
    'retry_wait' : 5,
    'poll_interval' : 10,
    'udp_enable' : 0,
    'hostname' : 'change_me',
    'time_out' : 10,
    'device_id' : '1:iss',
    'wl_apikey' : 'change_me',
    'wl_apisecret' : 'change_me',
    'wl_stationid' : 'change_me',
    'wl_archive_interval' : 5,
  },
  'Accumulator' : {
    'rainRate' : {
      'extractor' : 'max'
    }
  }
}
    

flor...@pre-vost.fr

necitită,
26 aug. 2020, 07:22:2326.08.2020
– weewx-development
Nice ! 

You can close this thread :) 

Răspundeți tuturor
Răspundeți autorului
Redirecționați
0 mesaje noi