Ok, so that's where I'm confused. (yes I know the packets have to match exactly, have already had some earlier bugs because of that)
The DB schema has :
So, when a strike occurs, I should generate a record (as an example) with :
{"dateTime":1605212295, "lightning_distance":3.5, "lightning_energy: "46.3", "lightning_strike_count": "1.0"}
I was assuming I didn't supply lightning_strike_count and a lightning_distance record would be counted,
more like this:
{"dateTime":1605212295, "lightning_distance":3.5, "lightning_energy: "46.3"}
I guess there are a number of use cases here. If "lightning_strike_count" was ever, say 2.0, then should "lightning_distance" be the average distance? Or is the system just trying to be flexible for all users (and you just wouldn't provide lightning_distance in this case)
I was leaning towards the 2nd case, so I was confused as to what would be summed up for noise and disturber.
But if the first is the use, then I need to adjust my code already to provide the count..
Earl
p.s. I've not looked at the API enough to know how the accumulated value is retrieved... so that's another place that may provide clarity for me... maybe my assumption that "count" would be the value over a time window (not that it would be "accumulated" across a number of count records...) is incorrect, that also would be clarifying.