On Tuesday, May 4, 2021 at 3:52:59 PM UTC-5 bell...@gmail.com wrote: > 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. >
What config file do you enter these incoming names into? > You will want to use the ‘ignore’ option for PressureUnit and TempUnit. > What config file do you put the ignore option into? > 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. > What syntax do you use to tell it to ignore the date/time data? In the same config file as the 2 previous? > Configuring MQTTSubscribe can be a bit daunting, so just shout with any > additional questions. > rich > I would bet I need to get mosquitto running properly before I start configuring MQTTSubscribe? I installed mosquitto in the same Ubuntu 20 VM were WeeWX is running. I loaded mosquito from the Ubuntu 20 deb repo with 'sudo apt install mosquitto' I used the example mosquitto.conf file (/usr/share/doc/mosquitto/examples/mosquitto.conf) to create a basic mosquitto.conf. There is a README file in /etc/mosquitto/conf.d which says: "Any files placed in this directory that have a .conf ending will be loaded as config files by the broker. Use this to make your local config." I believe this means that /etc/mosquitto/conf.d is the correct place for the mosquitto.conf file? Right now, I'm trying to get mosquitto to autostart as a daemon. But it's not starting. When I use the command 'sudo update-rc.d mosquitto defaults' it creates a bunch of files named K01mosquito in the /etc/rc.0...../etc/rc.6 directories. I looked inside these files and it has the wrong location for mosquitto.conf file. See excerpt: *start)* * if init_is_upstart; then* * exit 1* * fi* * log_daemon_msg "Starting network daemon:" "mosquitto"* * if start-stop-daemon --start --quiet --oknodo --background --make-pidfile --pidfile ${PIDFILE} --exec ${DAEMON} -- -c /etc/mosquitto/mosquitto.conf ; then* * log_end_msg 0* * else* * log_end_msg 1* * fi* * ;;* Why did the K01mosquitto files get created with the wrong .conf file location in them? How do I fix that file location without manually editing all those auto-created /etc/rc.x/K01mosquitto files? Thanks, Eric > > On Tuesday, 4 May 2021 at 15:09:17 UTC-4 eric.k...@gmail.com 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 p.gil...@gmail.com 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 eric.k...@gmail.com 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 <eric.k...@gmail.com> 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/8bb5c24d-ed4c-41e1-a6d2-f5c9aaef3028n%40googlegroups.com.