On Friday, February 7, 2020 at 2:15:46 PM UTC-8, ed100 wrote:
>
> Belchertown skin is great and serves the data on website 192.168.1.200 
> just fine.  I just can't get MQTT to update the loops - it connects and 
> waits.
> I have read and tried several of the things mentioned on the net but no 
> joy yet.
> There are no error msgs that I have found.  What am I missing?
>
>
>
Suspect your weewx.conf file is wrong, but you didn't provide the 
Belchertown sections of that for us to look like.

I suspect your MQTT section's server_url is the problem.   Try making that 
http://x.x.x.x:1883 and see if magic happens.


This is what I use on my pi4 which works fine.   MQTT on localhost (the 
weewx box) and the Belchertown section pointing to its ip address (since 
the browser on my laptop connects to 'that' ip)

    [[MQTT]]
        server_url = http://localhost:1883
        topic = weather
        binding = archive, loop
        aggregation = aggregate
        log_success = false

    [[Belchertown]]
        skin = Belchertown
        HTML_ROOT = public_html/belchertown
        enable = true

        [[[Extras]]]

            #--------------- General Options (optional) 
 ------------------------------

            check_for_updates = 0                   # default = 1
            belchertown_debug = 0                   # default = 0
            show_last_updated_alert = 1             # enable alert below
            last_updated_alert_threshold = 1800     # secs before calling 
data stale if websockets = disabled

            #--------------- MQTT Websockets (optional) 
-------------------------------

            mqtt_websockets_enabled = 1                     # default = 0
            mqtt_websockets_host = 192.168.1.177            # default = ""
            mqtt_websockets_port = 9001                     # default = 8080
            mqtt_websockets_topic = weather/loop            # default = ""

            #--------------- Forecast Options (optional) 
------------------------------

            forecast_enabled = 1                                   # 
default = 0
            darksky_secret_key = my_darksky_key_omitted_here
            forecast_alert_enabled = 1                             # 
default = 0

            #--------------- Earthquake Options (optional) 
----------------------------

            earthquake_enabled = 1    # default = 0




-- 
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/9e8627c9-3195-4553-b734-ad2be2108cec%40googlegroups.com.

Reply via email to