An asterisk is no wildcard, but + and # are. so, weather/# would have worked. An asterisk is not valid to be used in topics, so it shouldn't be used at all, although it hasn't any other special meaning, as far as I know.
Don Vawter schrieb am Sonntag, 26. November 2023 um 16:15:46 UTC+1: > 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/e802d91b-9321-4194-82a7-374f1e860af8n%40googlegroups.com.
