4.10.2

On Wed, 14 Jun 2023, 19:12 Eric K, <eric.koes...@gmail.com> 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/a570e03a-78bc-4b8a-be4a-6b7e5a504d88n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/a570e03a-78bc-4b8a-be4a-6b7e5a504d88n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAPSrEd%3DqdYu0-g6nBtPSvTwD4X1OmpHc6D2UurhTk1MDqwd2uA%40mail.gmail.com.

Reply via email to