The lightning data is handled a bit differently and from searching the user 
group I was able to get it working with the following sensor map:

[[sensor_map]]
        .......
        lightning_distance = distance.XXXX.AcuriteLightningPacket
        strikes_total = strikes_total.XXXX.AcuriteLightningPacket
    [[deltas]]
        rain = rain_total
        lightning_strike_count = strikes_total

and then in the calibration section in the weewx.conf file I added the 
following:

[StdCalibrate]
    
    [[Corrections]]
        # For each type, an arbitrary calibration expression can be given.
        # It should be in the units defined in the StdConvert section.
        # Example:
        foo = foo + 0.2
        lightning_distance = lightning_distance if lightning_strike_count > 
0 else None

More info here 
<https://groups.google.com/g/weewx-user/c/VBHMkb04kEk/m/_XLIZbIBBgAJ>

I haven't been able to determine how to capture signal strength from 
Acurite via SDR. The battery status as I understand it is either "1" which 
is good or "0" which is bad.

Depending on your setup, there are a couple ways to get pressure. I am 
using a raspberry pi 3 and added a pressure sensor to it using these 
instructions <https://github.com/bdwilson/acurite/blob/master/Pressure.md>.

-- 
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/fbc52421-617a-4def-8306-e92f618edee6n%40googlegroups.com.

Reply via email to