The hierarchy for weewx.conf is something that's a little confusing from the online docs. If you look at its install script (link) <https://github.com/poblabs/weewx-belchertown/blob/master/install.py> you will see a fully commented out list of all the parameters in the correct locations. Look starting at line 44 in the link.
On Sunday, November 26, 2023 at 7:15:46 AM UTC-8 Don Vawter wrote: > The mqtt publish portion has always worked and since I could see messages > arriving in MQTT Explorer there was no need to muddy the waters with that > section. > Problem solved. > Apparently the mqtt_websockets config should go under Extras not > Belchertown. > I had it both places ¯\_(ツ)_/¯ and the topic in extras was weather/* not > weather/loop > The reason I was using the wildcard is a story too long for this thread > but changing it to loop in the Extras section and removing > mqtt_websockets... from the Belchertown section solved the problem. > > > > > > On Saturday, November 25, 2023 at 7:37:47 PM UTC-7 Don Vawter wrote: > >> I know that mqtt is working and publishing info because I can see it in >> MQTT explorer:[image: exd.jpg][image: ex.jpg] >> here is my config file: >> [[Belchertown]] >> skin = Belchertown >> HTML_ROOT = /var/www/html/weewx/belchertown >> enable = true >> mqtt_websockets_enabled = 1 >> mqtt_websockets_host = weather2.sangrephotography.com >> mqtt_websockets_port = 9001 >> mqtt_websockets_topic = weather/loop >> mqtt_websockets_ssl = 1 >> mqtt_websockets_username = donvawter >> mqtt_websockets_password = xxxxxxxxx >> [[[extras]]] >> web_autorefresh = 0 >> >> I see this on web page: preceded by a yellow dot. >> >> Connected. Waiting for data. Last Updated November 25, 2023, 7:10:00 PM >> >> >> >> >> >> w >> >> >> -- 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/f9e5ef06-de03-4dec-ad0e-ede99c146a8fn%40googlegroups.com.
