I guess I should have included this... # more mosquitto.conf persistence false
# mqtt listener 1883 127.0.0.1 protocol mqtt # websockets listener 9001 127.0.0.1 protocol websockets On Monday, December 21, 2020 at 5:28:48 PM UTC-6 Greg Troxel wrote: > > Mark Jenks <mjenk...@gmail.com> writes: > > > Failed connecting to the weather station. Please try again later! > > > > [StdRESTful] > > [[MQTT]] > > server_url = mqtt://weather:passwordxxxxx@localhost:1883/ > > topic = "weather/weewx" > > unit_system = US > > binding = archive, loop > > aggregation = aggregate > > > > [[Belchertown]] > > skin = Belchertown > > # HTML_ROOT = /var/www/html/weewx/belchertown > > [[[Extras]]] > > mqtt_websockets_enabled = 1 > > mqtt_websockets_host = "127.0.0.1" > > mqtt_websockets_port = 1883 > > mqtt_websockets_topic = "weather/weewx/loop" > > > > I see data when I run this, so it's getting populated. > > #mosquitto_sub -h localhost -t weather/weewx/loop > > I have not set this up, but I think what you are missing is that 1883 is > MQTT and you need to set up "mqtt over websockets" in mosquitto and > point the skin at that. And if you are using a browswer on the same > machine as the broker, ok, but really the mqtt_websockets_host needs to > be the global name and reachable. > -- 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/740e546b-0acb-4afc-ba84-6bd1a6f7c8een%40googlegroups.com.