Edit the driver and restart weewx

On Tuesday, December 2, 2025 at 9:45:44 AM UTC-8 Zed wrote:

> Yes, it's bme280wx from WJCarpenter 
> <https://gitlab.com/wjcarpenter/bme280wx/-/blob/master/README.md>.
> In ~weewx/weewx-data/bin/user/bme280wx.py I changed:
>         # loginf('BME280 data %s' % bme280data)
>         logdbg('BME280 data %s' % bme280data)
>
> But no change (debug=0):
>
> Dez 02 18:42:46 raspberrypi-W weewxd.py[394495]: bme280: {'outHumidity': 
> 98.0, 'outTemp': 5.1, 'windDir': 135.0, 'rain_total': 910.0, 'windSpeed': 
> 0.0, 'outTempBatteryStatus': 1, 'dateTime': 1764697363, 'usUnits': 17, 
> 'rain': 0.0, 'pressure': 996.8794121453019, 'inTemp': 20.87991048009717, 
> 'inHumidity': 47.00716895052753}
> Dez 02 18:42:59 raspberrypi-W weewxd.py[394495]: bme280: BME280 data 
> compensated_reading(id=90b874ac-5f0e-4dee-ab91-6ff37be85f0f, 
> timestamp=2025-12-02 17:42:59.009837UTC, temp=20.905 °C, pressure=996.95 
> hPa, humidity=47.03 % rH)
> Dez 02 18:42:59 raspberrypi-W weewxd.py[394495]: bme280: {'outHumidity': 
> 98.0, 'outTemp': 5.1, 'windDir': 135.0, 'rain_total': 910.0, 'windSpeed': 
> 0.0, 'outTempBatteryStatus': 1, 'dateTime': 1764697375, 'usUnits': 17, 
> 'rain': 0.0, 'pressure': 996.9454680536317, 'inTemp': 20.905063962284476, 
> 'inHumidity': 47.0306761168033}
> Dez 02 18:43:10 raspberrypi-W weewxd.py[394495]: bme280: BME280 data 
> compensated_reading(id=e62d5c77-9d93-45ca-a37c-f2050e454beb, 
> timestamp=2025-12-02 17:43:10.939289UTC, temp=20.870 °C, pressure=996.95 
> hPa, humidity=47.02 % rH)
>
> This looks to me, like the log-messages are written by  weewxd.py.
> vince schrieb am Dienstag, 2. Dezember 2025 um 17:48:49 UTC+1:
>
>> You didn't say which bme280 driver you are using, but if you are using 
>> the one from WJCarpenter there are a couple places in the new_loop_packet( 
>> ) routine that use loginf( ) to log every packet twice.  You could change 
>> that to logdbg( ) in each place to quiet it down to only logging if you 
>> have debug=1 in weewx.conf 
>>
>> On Tuesday, December 2, 2025 at 2:07:30 AM UTC-8 Zed wrote:
>>
>>> I had to upgrade my VEnv-installation from 4.9.1 to 5.2.0. 
>>> Since then for every measurement i see a record like these in the log:
>>> Dez 01 23:36:59 server weewxd.py[165343]: bme280: {'outHumidity': 84.0, 
>>> 'outTemp': 2.6, 'windDir': 180.0, 'rain_total': 908.8, 'windSpeed': 0.0, 
>>> 'outTempBatteryStatus': 1, 'dateTime': 1764628616, 'usUnits': 17, 'rain': 
>>> None, 'pressure': 997.3836082289309, 'inTemp': 19.531694481620796, 
>>> 'inHumidity': 48.77856343381041}
>>> Dez 01 23:37:11 server weewxd.py[165343]: bme280: BME280 data 
>>> compensated_reading(id=2e17ef34-6cf1-4a6c-9198-e2754bdbd3b3, 
>>> timestamp=2025-12-01 22:37:11.402537UTC, temp=19.512 °C, pressure=997.33 
>>> hPa, humidity=49.07 % rH)
>>> Dez 01 23:37:11 server weewxd.py[165343]: bme280: {'outHumidity': 84.0, 
>>> 'outTemp': 2.6, 'windDir': 180.0, 'rain_total': 908.8, 'windSpeed': 0.0, 
>>> 'outTempBatteryStatus': 1, 'dateTime': 1764628628, 'usUnits': 17, 'rain': 
>>> 0.0, 'pressure': 997.3252012242718, 'inTemp': 19.511572013102704, 
>>> 'inHumidity': 49.071948952003744}
>>>
>>> No matter what debug-level is set.
>>> Is there a switch to turn these messages off?
>>
>>

-- 
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 visit 
https://groups.google.com/d/msgid/weewx-user/ca1ec62d-ebc3-4eb3-b3a1-5c0b2f35eb89n%40googlegroups.com.

Reply via email to