I went through MAAANY hours in this issue... and the following is what
works 4me.
WeeWX conf:
[[MQTT]]
#X server_url = mqtt://test.mosquitto.org:1883/
#X server_url = mqtt://broker.hivemq.com:1883/
server_url = mqtt://[user:pw]@localhost:1883/
topic = weather
unit_system = US
binding = archive, loop
aggregation = aggregate
Belchertown skin:
# MQTT Websockets defaults
mqtt_websockets_enabled = 1
#X mqtt_websockets_host = test.mosquitto.org
#X mqtt_websockets_port = 8080
#X mqtt_websockets_host = broker.hivemq.com
#X mqtt_websockets_port = 8000
mqtt_websockets_host = [ur URL]
mqtt_websockets_port = 9001
mqtt_websockets_ssl = 0
mqtt_websockets_topic = "weather/loop"
#X disconnect_live_website_visitor = 1800000
Uncomment the above as you wish. Try a free public MQTT (before local), as
Mosquitto or HiveMQ as the above...
Remember to set your router port forwarding as well...
Xant
--
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/69663524-1a65-4058-95e2-a29eecda1a01%40googlegroups.com.