A few additional things to consider. From, https://tasmota.github.io/docs/BME280/, your json data is ‘nested’. Meaning the incoming names in MQTTSubscribe will be BME280_Pressure, BME280_Temperature, and BME280_Humidity. You will want to use the ‘ignore’ option for PressureUnit and TempUnit. Due to the way MQTTSubscribe handles date/time data, the Time field is a bit more interesting. I would also ‘ignore’ it. This just means that MQTTSubscribe will not try to check that the data is in the time interval being processed by WeeWX. Configuring MQTTSubscribe can be a bit daunting, so just shout with any additional questions. rich
On Tuesday, 4 May 2021 at 15:09:17 UTC-4 [email protected] wrote: > That does sound similar. Thank you for that pointer! > > I want to get the Tasmota firmware to output MQTT messags containing the > barometric pressure. > Then, weewx would need to take in that MQTT message and assign the data to > the stock 'barometer' variable from the database schema. > > On Tuesday, May 4, 2021 at 2:02:41 PM UTC-5 [email protected] wrote: > >> I have manage to get a weather station to be the main provider of data to >> R-Pi based Weewx installation with add on data into the database coming >> from a sensor providing MQTT messages. If that it is similar to what you >> are aiming for, maybe this conversation can provide guidance >> https://github.com/bellrichm/WeeWX-MQTTSubscribe/discussions/132 >> >> On Tuesday, May 4, 2021 at 7:24:13 PM UTC+2 [email protected] wrote: >> >>> > DId you read >>> > https://github.com/bellrichm/WeeWX-MQTTSubscribe/wiki/Configuring >>> >>> No, I wanted to make sure MQTT was usable simultaneously with another >>> weewx "driver", before I spent a lot of time on it. >>> >>> Thanks for the pointer to service vs. driver configuration! >>> I'll read through it. >>> On Tuesday, May 4, 2021 at 11:33:07 AM UTC-5 Greg Troxel wrote: >>> >>>> >>>> Eric Koester <[email protected]> writes: >>>> >>>> > Thanks for the pointer, Peter. >>>> > I looked through the install instructions and I don't see any mention >>>> of >>>> > the weewx.conf file. >>>> >>>> DId you read >>>> >>>> https://github.com/bellrichm/WeeWX-MQTTSubscribe/wiki/Configuring >>>> >>>> Agreed that it doesn't say that it is talking about the config file. >>>> >>>> A big point is driver vs service. It seems clear that you want >>>> service, where MQTT input is secondary. >>>> >>>> -- 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/1e14c8b6-c114-47fc-b782-0fc53d649dc2n%40googlegroups.com.
