The sensor appears to be sending sane data.
https://pastebin.ubuntu.com/p/PX9mfmkjBg/
https://pastebin.ubuntu.com/p/8hTzx3ypNH/

For some reason the site says Lightning Strikes 62 even though I told it to 
display the delta value lightning_strikes and not lightning_strikes_total

On Tuesday, March 3, 2020 at 6:35:17 PM UTC-5, mwall wrote:
>
>
>
> On Sunday, March 1, 2020 at 7:17:01 PM UTC-5, Kenny Stier wrote:
>>
>> I am working on including my lightning detector data on my homepage but 
>> am having some issues.
>> I am using an Acurite 06045M over SDR on Belchertown. 
>> https://wx.millhousen.com/
>>
>> 1. For some reason, the Lightning Distance is shown on the graph as being 
>> 24 consistently, but it hasn't stormed in many months. 
>>
>
> as greg suggested, please check the raw output from rtl_433 to where the 
> 24 is coming from. 
>
>  
>
>> 2. Also, the number of strikes has many trailing zeros and is changed by 
>> MQTT to say 120. The database shows the 0.00000 number.
>>
>
> its been awhile, but i'm pretty sure the 06045M reports a cumulative value 
> for strikes.  i'm not sure when it wraps/resets.
>
> the weewx-sdr driver will do delta calculations to convert a cumulative 
> value (count since last reset/wraparound) to a delta value (count since 
> last packet).  the build-in definition looks like this:
>
> [[deltas]]
>     rain: rain_total
>     strikes: strikes_total
>
> so if you have this mapping:
>
> [SDR]
>     ...
>     [[sensor_map]]
>         ...
>         strikes_total = strikes_total.00E7.AcuriteLightningPacket
>
> then the observation 'strikes' will have the delta value and 
> 'strikes_total' will have the cumulative value.
>
> or you can do this:
>
> [SDR]
>     ...
>     [[deltas]]
>         lightning_strikes = lightning_strikes_total
>
> if you prefer to use the name 'lightning_strikes' instead of 'strikes'
>
> of course, all of that assumes the sensor is sending sane data, and that 
> rtl_433 is not doing any other manipulations.
>
> m
>
>
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/52b2160b-d76f-4de3-b6f9-5fda6631d32e%40googlegroups.com.

Reply via email to