locally I get 

Connected. Waiting for data. 


remotely I get 

Connecting to weather station real time data 


I followed https://obrienlabs.net/how-to-setup-your-own-mqtt-broker/ to a T 
but didn't do the SSL portion


my mosquitto myconfig.conf file reads

persistence false

# mqtt
listener 1883
protocol mqtt

# websockets
listener 9001
protocol websockets

allow_anonymous true

password_file /etc/mosquitto/passwd

acl_file /etc/mosquitto/acl


my weewx.conf has this for mqtt under [StdReport]

  server_url = mqtt://myusername:[email protected]:1883
        topic = weather
        unit_system = US
        binding = archive, loop
        aggregation = aggregate


and this in [[[Extras]]]

#--- MQTT Websockets (for Real Time Streaming) Options ---
            mqtt_websockets_enabled = 1
            mqtt_websockets_host = 192.168.1.216
            mqtt_websockets_port = 9001
            mqtt_websockets_ssl = 0
            mqtt_websockets_topic = "weather/loop"
            disconnect_live_website_visitor = 1800000


in skin.conf I have under [Extras]

    # MQTT Websockets defaults
    mqtt_websockets_enabled = 1
    mqtt_websockets_host = 192.168.1.216
    mqtt_websockets_port = 9001
    mqtt_websockets_ssl = 0
    mqtt_websockets_topic = "weather/loop"
    mqtt_websockets_username = myusername
    mqtt_websockets_password = mypassword
    disconnect_live_website_visitor = 1800000


When I did the guide I was able to get successful data stream from 
mosquitto in the test so I feel like the mosquitto portion is correct. 

I've completely run out of ideas. If anyone can come up with anything to 
help me it would be greatly appreciated. I've been at it for 2 days. Thanks 
in advance

-- 
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/1ec0f414-cbea-4dca-93e6-7e4037b97fe5n%40googlegroups.com.

Reply via email to