Hi,
I followed the instructions in https://github.com/poblabs/weewx-belchertown to
install an MQTT broker and subscribe to the weather data. It's working
according to the logs...
Weewx syslog
Oct 25 19:49:13 weatherpi weewx[3082]: restx: MQTT: Published record
2019-10-25 19:49:13 BST (1572029353)
Oct 25 19:49:29 weatherpi weewx[3082]: restx: MQTT: Published record
2019-10-25 19:49:29 BST (1572029369)
Oct 25 19:49:44 weatherpi weewx[3082]: restx: MQTT: Published record
2019-10-25 19:49:44 BST (1572029384)
Oct 25 19:50:01 weatherpi weewx[3082]: restx: MQTT: Published record
2019-10-25 19:50:00 BST (1572029400)
Oct 25 19:50:17 weatherpi weewx[3082]: restx: MQTT: Published record
2019-10-25 19:50:16 BST (1572029416)
Mosquitto log
1572029465: New connection from ::1 on port 1883.
1572029465: New client connected from ::1
as weewx_7f9ef501 (c1, k60, u'pi').
1572029465: Client weewx_7f9ef501 disconnected.
1572029481: New connection from ::1 on port 1883.
1572029481: New client connected from ::1
as weewx_65035d79 (c1, k60, u'pi').
1572029481: Client weewx_65035d79 disconnected.
1572029497: New connection from ::1 on port 1883.
1572029497: New client connected from ::1
as weewx_29b0c150 (c1, k60, u'pi').
1572029497: Client weewx_29b0c150 disconnected.
1572029513: New connection from ::1 on port 1883.
weewx.conf
[[MQTT]]
server_url = mqtt://pi:xxxxxxx@localhost:1883
topic = weather
unit_system = METRIC
binding = archive, loop
aggregation = aggregate
log_failure = true
log_success = true
skin.conf
# MQTT Websockets defaults
mqtt_websockets_enabled = 1
mqtt_websockets_host = localhost
mqtt_websockets_port = 1883
mqtt_websockets_ssl = 0
mqtt_websockets_topic = weather
disconnect_live_website_visitor = 1800000
But the webpage constantly says...
[image: Untitled.png]
I've been over and over the config, re-writing, adding quotes, you name it
I've tried it but still no success. Can any bright spark see something
obvious that's wrong...please!!
Many thanks,
Matt
--
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/7994f809-5072-468d-b25d-6d5815b4ca08%40googlegroups.com.