Pat - I'm trying to do a clean Belchertown current 1.1 dev installation on 
top of weewx 4.0.0b3 under python3 and continue to get the dreaded "*Failed 
connecting to the weather station. Please try again later! *" failure.   
Looking for help in trying to get it working locally on my LAN first.

Here's my current setup, using the WeatherFlow UDP driver on current 
Raspbian...

*/etc/mosquitto/conf.d/1883.conf:*
allow_anonymous true
listener 1883
protocol mqtt

*/etc/mosquitto/conf.d/9001.conf:*
allow_anonymous true
listener 9001
protocol websockets

*Verify it's listening according to netstat:*

# netstat -tulpen|grep mosquitto
tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN 
     0          3444866    6849/mosquitto
tcp        0      0 0.0.0.0:9001            0.0.0.0:*               LISTEN 
     0          3444869    6849/mosquitto
tcp6       0      0 :::1883                 :::*                    LISTEN 
     0          3444867    6849/mosquitto

*Verify it's indeed listening via mosquitto_sub*
# mosquitto_sub -h localhost -t weather/loop
{"dateTime": "1574652627.0", "windSpeed_mph": "0.0", "usUnits": "1.0", 
"beaufort": "0.0", "maxSolarRad": "0.0", "rainRate_inch_per_hour": "0.0", 
"hourRain_in": "0.0", "rain24_in": "0.0004393700787401575", "dayRain_in": 
"0.0004393700787401575"}


Weewx MQTT section....

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

Belchertown MQTT section....

[[Belchertown]]
     [[[ Extras ]]]

belchertown_debug = 1 

          mqtt_websockets_enabled = 1
          mqtt_websockets_host = localhost
          mqtt_websockets_port = 9001
          mqtt_websockets_topic = weather/loop



I have restarted mosquitto and weewx multiple times.  No joy.

I have belchertown_debug=1 but have no idea what that does, nor how I can 
dig deeper.

Help ?


-- 
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/79fe500e-d3c0-4a34-9779-8ae6aca36d0e%40googlegroups.com.

Reply via email to