It's hard to catch a fly... as somehow not simple to deal with Mosquitto 
(or is it?)

Thank Pat for howto to install own MQTT own server, but still defies me... 
everything seems correct, but no way yet to connect (and the usual learning 
curve and debugging hours...)

My experience and feedback is DON'T start with MQTT trying to install your 
own server at first (as I did), but start with any free public MQTT server, 
punch in you config, and connect in a few quick minutes.

First, I tried 'test.mosquitto.org', and it worked out-of-the-box. A few 
days ago, my weather web starting having no connection.... more hours 
debugging, trying to recollect what I changed what recently changed and 
reverse at no prevail. 

Later, as last resort, changed to 'broker.hivemq.com', and connect! (not 
sure if a problem with 'test.mosquitto.org', or on my side).

My MQTT weewx.conf:

    [[MQTT]]
        server_url = mqtt://broker.hivemq.com:1883/
        topic = weather
        unit_system = US
        binding = loop
        aggregation = aggregate

My Belchertown skin.conf:

    # MQTT Websockets defaults
    mqtt_websockets_enabled = 1
    mqtt_websockets_host = broker.hivemq.com
    mqtt_websockets_port = 8000
    mqtt_websockets_ssl = 0
    mqtt_websockets_topic = weather/loop
    disconnect_live_website_visitor = 1800000


Later, if time, may try to play with local MQTT server again.... but just 
maybe...

Best,
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/9c0913ec-3704-478d-a3dd-6055f7c5c01f%40googlegroups.com.

Reply via email to