Quantcast
Channel: WXforum.net - AcuRite Weather Stations
Viewing all articles
Browse latest Browse all 7538

Re: New Acurite Lightning Detector

$
0
0
Right, I saw a post from you on the google group, which I think answers my own questions.

I want:

Code: [Select]
lightning_strikes_total  = strikes_total.002D.AcuriteLightningPacket  ## lightning detectorwhich assigns the running total to lightning_strikes_total

Code: [Select]
[[deltas]]
      lightning_strikes = lightning_strikes_total

which says that the variable lightning_strikes is the delta value of lightning_strikes_total

Code: [Select]
[Accumulator]
   [[lightning_strikes]]
      extractor = sum

which says to sum all those deltas

so my example now would be

10 -> stored in db
10 delta = 0
14 delta = 4
17 delta = 3 -> stored in db as sum of deltas 7

I think that's it now, will check during the next week or so I guess.

Viewing all articles
Browse latest Browse all 7538

Trending Articles