Maybe the better question is, what version of weewx-sdr do you have? I installed mine in May 2021. On Wednesday, June 14, 2023 at 1:12:37 PM UTC-5 Eric K wrote:
> Oh, interesting. I'm running weewx 4.5.1. > What version are you running? > > On Wednesday, June 14, 2023 at 11:59:13 AM UTC-5 Mark Fraser wrote: > >> On 13/06/2023 20:17, Kevin Crivelli wrote: >> > mines definitely a little different. This is what I already have. It >> > seems to follow the logic you shared above in your configuration but my >> > packets are named differently. where you have "Atlas_strike_count = >> > strike_count.0011.AcuriteAtlasPacket" I have "strikes_total = >> > strikes_total.1255.AcuriteLightningPacket". from looking at my deltas >> > section, does it look as though I have this set up correctly or am I >> off >> > a little bit? >> > >> > [SDR] >> > # This section is for the software-defined radio driver. >> > >> > # The driver to use >> > driver = user.sdr >> > >> > >> > [[sensor_map]] >> > outTemp = temperature.030B.AcuriteAtlasPacket >> > outHumidity = humidity.030B.AcuriteAtlasPacket >> > windSpeed = wind_speed.030B.AcuriteAtlasPacket >> > windDir = wind_dir.030B.AcuriteAtlasPacket >> > UV = uv.030B.AcuriteAtlasPacket >> > rain_total = rain_total.030B.AcuriteAtlasPacket >> > radiation = lux.030B.AcuriteAtlasPacket >> > lux = lux.030B.AcuriteAtlasPacket >> > outTempBatteryStatus = battery.030B.AcuriteAtlasPacket >> > lightning_distance = distance.1255.AcuriteLightningPacket >> > strikes_total = strikes_total.1255.AcuriteLightningPacket >> > inTemp = temperature.3071.AcuriteTowerPacketV2 >> > inHumidity = humidity.3071.AcuriteTowerPacketV2 >> > pressure = pressure.171.FOWH32BPacket >> > >> > >> > [[deltas]] >> > rain = rain_total >> > lightning_strike_count = strikes_total >> >> I think there is a bug in the sdr.py from >> https://github.com/matthewwall/weewx-sdr/blob/master/bin/user/sdr.py >> where the deltas are listed as: >> >> DEFAULT_DELTAS = { >> 'rain': 'rain_total', >> 'strikes': 'strikes_total'} >> >> Which I couldn't get to work, so I changed mine to: >> DEFAULT_DELTAS = { >> 'rain': 'rain_total', >> 'lightning_strike_count': 'strikes_total'} >> And it works without having to add a deltas section to weewx.conf. >> >> -- 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/0b2cc889-2d5b-49bc-abd8-4ef2ffe72b4fn%40googlegroups.com.