When I said hard coded, I meant written into the default installed application somewhere, and not in the weewx.conf file.
btw: as per my above attempts, when you do your "non-explicit" version it doesn't work. You either have to be explicit about rain in deltas, OR you have to put rain = foobar in sensor map, where foobar can be anything, as it's overwritten in the delta section. That had me head scratching for quite a while throughout last nights storm... On Tuesday, 21 August 2018 13:59:49 UTC+2, mwall wrote: > > On Tuesday, August 21, 2018 at 5:59:51 AM UTC-4, David Moore wrote: >> >> So, I think you're saying that rain is a hard-coded value that does a >> delta on rain_total. >> rain_total is something I must assign to a measurement. >>> >>> >>> > 'rain' is not hard-coded as a delta. but 'rain' is in the list of default > deltas (so is 'strikes' for lightning counts). > > your configuration should look like this: > > [SDR] > driver = user.sdr > ... > [[sensor_map]] > rain_total = rain_total.0B4E.Acurite5n1Packet > rain_counter = rain_counter.0B4E.Acurite5n1Packet > ... > > if you want to be explicit, you could do this: > > [SDR] > driver = user.sdr > ... > [[sensor_map]] > rain_total = rain_total.0B4E.Acurite5n1Packet > rain_counter = rain_counter.0B4E.Acurite5n1Packet > ... > [[deltas]] > rain = rain_total > > note that my previous post had a typo - it is [[deltas]] not [[delta]] > > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
