On 01/11/2022 09:00, gjr80 wrote:
You might want to post a WeeWX startup log with debug=1. A copy of the [SDR] stanza from your weewx.conf would be helpful too.

Gary

On Tuesday, 1 November 2022 at 16:04:16 UTC+10 mfr...@gmail.com wrote:

    Recently I've noticed that I'm not recording any rain even though it
    is being received:
    Nov 1 05:12:46 weather-new weewx[3765] DEBUG user.sdr:
    packet={'windGust': 8.568, 'outTempBatteryStatus': 0, 'rain_total':
    62.73, 'windSpeed': 4.896, 'windDir': 248.0, 'dateTime': 1667279561,
    'usUnits': 16}
    Nov 1 05:13:34 weather-new weewx[3765] DEBUG user.sdr:
    packet={'windGust': 14.688, 'outTempBatteryStatus': 0, 'rain_total':
    62.73, 'windSpeed': 8.568, 'windDir': 315.0, 'dateTime': 1667279610,
    'usUnits': 16}
    Nov 1 05:15:09 weather-new weewx[3765] DEBUG user.sdr:
    packet={'windGust': 3.672, 'outTempBatteryStatus': 0, 'rain_total':
    62.760000000000005, 'windSpeed': 2.448, 'windDir': 225.0,
    'dateTime': 1667279705, 'usUnits': 16}
    Nov 1 05:15:09 weather-new weewx[3765] DEBUG user.sdr:
    packet={'windGust': 3.672, 'outTempBatteryStatus': 0, 'rain_total':
    62.760000000000005, 'windSpeed': 2.448, 'windDir': 225.0,
    'dateTime': 1667279706, 'usUnits': 16}
    Nov 1 05:15:57 weather-new weewx[3765] DEBUG user.sdr:
    packet={'windGust': 9.792, 'outTempBatteryStatus': 0, 'rain_total':
    62.760000000000005, 'windSpeed': 4.896, 'windDir': 270.0,
    'dateTime': 1667279753, 'usUnits': 16}
    Nov 1 05:17:33 weather-new weewx[3765] DEBUG user.sdr:
    packet={'windGust': 6.12, 'outTempBatteryStatus': 0, 'rain_total':
    62.760000000000005, 'windSpeed': 4.896, 'windDir': 270.0,
    'dateTime': 1667279849, 'usUnits': 16}
    Nov 1 05:19:09 weather-new weewx[3765] DEBUG user.sdr:
    packet={'windGust': 8.568, 'outTempBatteryStatus': 0, 'rain_total':
    62.760000000000005, 'windSpeed': 4.896, 'windDir': 315.0,
    'dateTime': 1667279945, 'usUnits': 16}
    Nov 1 05:21:33 weather-new weewx[3765] DEBUG user.sdr:
    packet={'windGust': 4.896, 'outTempBatteryStatus': 0, 'rain_total':
    62.79, 'windSpeed': 2.448, 'windDir': 225.0, 'dateTime': 1667280089,
    'usUnits': 16}
    Nov 1 05:21:33 weather-new weewx[3765] DEBUG user.sdr:
    packet={'windGust': 4.896, 'outTempBatteryStatus': 0, 'rain_total':
    62.79, 'windSpeed': 2.448, 'windDir': 225.0, 'dateTime': 1667280090,
    'usUnits': 16}
    Nov 1 05:22:21 weather-new weewx[3765] DEBUG user.sdr:
    packet={'windGust': 7.344, 'outTempBatteryStatus': 0, 'rain_total':
    62.79, 'windSpeed': 4.896, 'windDir': 0.0, 'dateTime': 1667280137,
    'usUnits': 16}
    Nov 1 05:23:12 weather-new weewx[3765] DEBUG user.sdr:
    packet={'windGust': 9.792, 'outTempBatteryStatus': 0, 'rain_total':
    62.79, 'windSpeed': 7.344, 'windDir': 0.0, 'dateTime': 1667280186,
    'usUnits': 16}

    The only change I've done is to add the changes mentioned here
    https://groups.google.com/g/weewx-user/c/JuCHnmmijFE
    <https://groups.google.com/g/weewx-user/c/JuCHnmmijFE> to correct
    the lightning strike values.

Originally I had:
    [[sensor_map]]
        windGust = wind_gust.240.FOWHx080Packet
        outTempBatteryStatus = battery.240.FOWHx080Packet
        rain_total = rain_total.240.FOWHx080Packet
        windSpeed = wind_speed.240.FOWHx080Packet
        windDir = wind_dir.240.FOWHx080Packet
        outHumidity = humidity.13.FOWH32Packet
        outTemp = temperature.13.FOWH32Packet
        batteryStatus4 = battery.13.FOWH32Packet
        pressure = pressure.91.FOWH25BPacket
        extraTemp1 = temperature.91.FOWH25BPacket
        extraHumid1 = humidity.91.FOWH25BPacket
        batteryStatus2 = battery.91.FOWH25BPacket
        strike_total = strikes_total.52017.FOWH31LPacket
        lightning_distance = distance.52017.FOWH31LPacket
        txBatteryStatus = battery.52017.FOWH31LPacket
        soilMoist1 = soil_moisture_percent.00dc59.FOWH51Packet
        batteryStatus1 = battery_ok.00dc59.FOWH51Packet
        supplyVoltage = battery_mV.00dc59.FOWH51Packet
        inTemp = temperature.175.AmbientWH31EPacket
        inHumidity = humidity.175.AmbientWH31EPacket
        inTempBatteryStatus = battery.175.AmbientWH31EPacket
        extraTemp2 = temperature.142.AmbientWH31EPacket
        extraHumid2 = humidity.142.AmbientWH31EPacket
        batteryStatus3 = battery.142.AmbientWH31EPacket

with
    [[deltas]]
       lightning_strike_count = strike_total
but that only showed 1 entry under deltas.
Nov 1 08:23:36 weather-new weewx[6400] INFO user.sdr: deltas is {'lightning_strike_count': 'strike_total'}

Renaming strike_total to strikes_total and removing the deltas entry seems to have fixed it. Nov 1 09:57:59 weather-new weewx[6798] INFO user.sdr: deltas is {'rain': 'rain_total', 'strikes': 'strikes_total'} Nov 1 14:47:30 weather-new weewx[7997] INFO user.sdr: deltas is {'rain': 'rain_total', 'strikes': 'strikes_total'}

--
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/91b104e3-f772-5aac-db72-8817e415f151%40gmail.com.

Reply via email to