Thanks, that did give me something to go on. In the weewx.conf file, you set the 'must_have', to add the value to the packet and here's what I had:
[Bme280wx]
temperature_must_have = ""
humidityKeys = inHumidity
pressureKeys = pressure
pressure_must_have = outTemp
i2c_port = 1
humidity_must_have = ""
i2c_address = 0x77
usUnits = US
temperatureKeys = inTemp
The only thing that is a must have is outTemp, which I have in some other log entries:
May 23 21:25:21 weatherstation weewxd: bme280: BME280 data compensated_reading(id=9d035f02-3164-4c84-9667-8c4e5e6f6034, timestamp=2020-05-23 21:25:21.684878, temp=26.483 °C, pressure=973.67 hPa, humidity=42.11 % rH)
May 23 21:25:21 weatherstation weewxd: bme280: {u'lastStrikeTime': 1590287118, u'outHumidity': 75.0, 'dateTime': 1590287118, u'outTemp': 79.9, u'windSpeed': 5.7650962506369074, u'pressure': 28.752361215071698, 'usUnits': 1}
The pressure key was indeed appearing when the outTemp key was there, so that's how it was working. I then changed the entries for temperature_must_have and humidity_must_have to be outTemp as well, and when I restarted weewx, it put those entries into the packet.
May 23 21:32:46 weatherstation weewxd: bme280: BME280 data compensated_reading(id=77b48509-c677-4e4e-80e4-22bb7d69aa2d, timestamp=2020-05-23 21:32:46.365347, temp=26.697 °C, pressure=973.76 hPa, humidity=42.78 % rH)
May 23 21:32:46 weatherstation weewxd: bme280: {u'lastStrikeTime': 1590287562, u'outHumidity': 76.0, 'dateTime': 1590287562, u'outTemp': 79.7, u'windSpeed': 3.193234493643357, u'inHumidity': 42.77779308621109, u'inTemp': 80.05406480135397, u'pressure': 28.755112653832978, 'usUnits': 1}
Thanks again for the suggestion on where to look.
tldr, you have to now specify something in *_must_have to get the value added to the packet loop. I guess the "" is now being evaluated in weewx 4 as a value to match.
Greg