A custom data service does not "stop" and replace data  in a record.
Written properly, it should just augment it.

But, it's hard to say what's happening without seeing what you're doing.
Make sure you're adding to the even record, and not replacing it. Also,
make sure that you're adding the service to the list of services to be run
(under [Engine] // [[Services]] in weewx.conf) and not displacing another
service.

On Sun, Oct 20, 2024 at 11:19 AM halol goog <[email protected]> wrote:

> Hello,
>
> I just upgraded to 5.1.0, and took this opportunity to do some maintenance
> on my station. This is when I noticed that my REC packets are missing some
> data. As a result, my database is not populated with all the values I am
> expecting.
> In particular, consBatteryVoltage and txBatteryStatus are missing from the
> REC packets.
>
> I have a data service, that is adding info from a second station to the
> packet, as described here:
> https://weewx.com/docs/5.1/custom/service-engine/#add-data-source
>
> When I disable it, I am getting values for consBatteryVoltage and
> txBatteryStatus. So, I must be doing something wrong. But all my code
> should be doing, really, is to add to the record.
> I tried to print the record I am getting with 'event.record', and it
> doesn't contain the information either. This is what I get:
>
> 2024-10-20 19:35:16 weewxd[1]: INFO user.ws3000DataService: initial
> data:{'dateTime': 1729445700, 'usUnits': 1, 'interval': 5,
> 'rxCheckPercent': 99.9375, 'outTemp': 65.1, 'highOutTemp': 65.4,
> 'lowOutTemp': 65.1, 'rain': 0.0, 'rainRate': 0.0, 'barometer': 30.196,
> 'radiation': 0.0, 'wind_samples': 117.0, 'inTemp': 86.4, 'inHumidity':
> 52.0, 'outHumidity': 79.0, 'windSpeed': 1.0, 'windGust': 4.0,
> 'windGustDir': 337.5, 'windDir': 337.5, 'ET': 0.0, 'highRadiation': 0.0,
> 'forecastRule': 1}
>
> So I am wondering: does using a custom data service 'stops' a subsequent
> process from happening and from adding the missing information to the REC
> (missing values sound like they are computed by weewx, like alarms,
> dayRain, yearRain, etc.)?
>
> Thanks!
>
> --
> 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/6886fbd0-1646-44e5-9f93-0baf04ea4c2cn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/6886fbd0-1646-44e5-9f93-0baf04ea4c2cn%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEBqAcSMqi%2BdL7F8YJtS6S%2B-9eMpyC%3DOAr5yqvm1huDgXQ%40mail.gmail.com.

Reply via email to