What is the topic and format of the MQTT data? For example, are you publishing to a topic of 'snow/snowlevel' and the payload is the actual snow level? Some information is here, https://github.com/bellrichm/WeeWX-MQTTSubscribe/wiki/Configuring But, I'm happy to walk you through it. rich
On Tuesday, 6 October 2020 at 09:50:29 UTC-4 [email protected] wrote: > Thanks, changing the database was easy with that article. As to my other > question, I'm guessing I need to put a Sensor Map in weewx.conf in the > MQTTSubscribe section, something like snow/snowlevel = snow? > > On Monday, October 5, 2020 at 6:59:11 PM UTC-6 [email protected] wrote: > >> The schemas are used *only when creating a new database*. Upgrading to >> v4.x will not change your old database. >> >> If you wish to switch, there is a Wiki article *Switching to the new >> wview_extended schema >> <https://github.com/weewx/weewx/wiki/Switching-to-the-new-wview_extended-schema>* >> on >> how to do it. >> >> On Mon, Oct 5, 2020 at 5:09 PM Timothy Buchanan <[email protected]> >> wrote: >> >>> I upgraded to 4.1.1 but I don't see these entries in the database. Do I >>> have to install or change something to get the "extended" schema? >>> >>> On Monday, October 5, 2020 at 12:20:12 PM UTC-6 [email protected] >>> wrote: >>> >>>> WeeWX Version 4.1.1 using the extended schema has entries for snow. >>>> >>>> >>>> >>>> >>>> >>>> On Monday, October 5, 2020 at 10:30:47 AM UTC-4, Timothy Buchanan wrote: >>>>> >>>>> I use the mqtt extension to publish to a mosquitto broker, and want to >>>>> use MQTTSubscribe to receive topics posted by another device and put them >>>>> into the weewx database. I installed MQTTSubscribe as an extension >>>>> following the wiki, enabled it, and it didn't break anything (always >>>>> good!). >>>>> >>>>> Next, I may need to extend the database, since there doesn't seem to >>>>> be snowLevel entries, and to map the published topics to the database. >>>>> where could I find information on these two subjects? Thanks. >>>>> >>>>> Timothy >>>>> >>>> -- >>> 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/e4f7cdca-aec1-42f7-b232-5bdec8f90501n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/e4f7cdca-aec1-42f7-b232-5bdec8f90501n%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/12e4c0d4-0e91-44f2-97a8-17f55a324d49n%40googlegroups.com.
