Well, a guy named Jerome on another thread in RTL_433 figured out the 
lightning bits - 
https://groups.google.com/forum/#!topic/rtl_433/gvTUFWJlFxE so I am not so 
sure it isn't NOT understood anymore.  This was all within the last month 
or so.

The problem is that the Acurite equipment keeps transmitting the same last 
value for lightning, both strikes and distance....same as it does, 
essentially for rain (Atlas & 5n1).  The rain and strikes are easy enough 
to calculate using options within the WEEWX.CONFIG file under the deltas 
section of the SDR configuration.  The lightning distance isn't so easy... 
that is why I am saying we need something equivalent, but obviously not a 
delta calculation.  I see your point about using null instead of 
zero....zero could mean that the storm is literally right on top of me.  
:-)  In any case, it would be nice if we could get that into either the 
logic for the "ACURITE.C" for RTL_433 file or into "SDY.PY" file for 
weewx-sdr.  :-)

On Saturday, April 25, 2020 at 12:31:29 PM UTC-4, Greg Troxel wrote:
>
> Chris Morris <[email protected] <javascript:>> writes: 
>
> > So, lemme take a stab at explaining in a somewhat Boolean way... 
> > 
> > If strike_count_total_current = strike_count_total_last, then set 
> > strike_distance = 0, else strike_distance = INTEGER (actual value 
> > reported by Atlas or 6045). 
>
> Really if the current/last counts are equal, strike_distance should be 
> omitted, or it should be set to some sort of nil or undefined value. 
> It is not actually 0 either. 
>
> Then, the bits output by the acurite for distance, are not actually km 
> or miles.  They are some complicated re-encoding of the encoding from 
> the detector chip that is partly but not quite understood.   See the 
> rtl433 list archives for more information.    If you are saying that 
> weewx records the value sent by the acurite, that's fine. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/fcfccb7d-e7a0-4af1-ad52-2ec9f53baa15%40googlegroups.com.

Reply via email to