Belchertown/Weewx - mqtt via node-red-contrib-aedes

32 views
Skip to first unread message

NanoG5Kite

unread,
Jun 5, 2020, 11:09:39 AM6/5/20
to weewx-user
As I had no real luck with mosquito yesterday - Belchertown connected, but got dropped after 2-3 loops (Ecowitt gw-1500/16 sec- cycle, I looked now for a solution with Node-Red as I use N-R anyway.

So I ended here currently:


Have now a solid connection, but will also test further for (SSL/TLS) connection/security in a later stage.

I short my currents settings:

weewx.conf:

 [[MQTT]]
        server_url = mqtt://myIP:9002/
        topic = weather
        unit_system = METRIC
        binding = archive, loop
        aggregation = aggregate

restful_services = ..... , user.mqtt.MQTT

skon.conf:

    # MQTT Websockets defaults
    mqtt_websockets_enabled = 1
    mqtt_websockets_host = "myIp"
    mqtt_websockets_port = 9003
    mqtt_websockets_ssl = 0
    mqtt_websockets_topic = "weather/loop"
    disconnect_live_website_visitor = 0

Node-Red:

enclosed aedes.jpg
  
aedes.JPG
Reply all
Reply to author
Forward
0 new messages