Pat
I seem to have missed something in setting up MQTT for the skin... I
followed https://obrienlabs.net/how-to-setup-your-own-mqtt-broker/ except
the SLL stuff since I wouldn't need it.
weewx.conf
[[MQTT]]
server_url = mqtt://weewx:[email protected]:1883/
topic = weather/#
unit_system = US
binding = archive, loop
aggregation = aggregate
and
# cat /etc/mosquitto/conf.d/myconfig.conf
persistence false
allow_anonymous true
password_file /etc/mosquitto/passwd
acl_file /etc/mosquitto/acl
listener 1883 localhost
listener 8883
protocol mqtt
# websockets
listener 9001
protocol websockets
# cat /etc/mosquitto/acl
# Allow anonymous access to the sys
topic read $SYS/#
# Allow anonymous to read weather
topic read weather/#
# weewx readwrite to the loop
user weewx
topic weather/#
This test line works
mosquitto_pub -h localhost -t "weather/test" -m "hello world. this is to
the weather topic with authentication" -u weewx -P xxxxxx
But index page is showing *Connecting to weather station real time data.*
MQTT is posting.....
Dec 26 23:19:39 raspberrypi weewx[6544]: restx: MQTT: Published record 2018-
12-26 23:19:39 PST (1545895179)
Dec 26 23:19:45 raspberrypi weewx[6544]: restx: MQTT: Published record 2018-
12-26 23:19:45 PST (1545895185)
So I don't know what I did worng. I restraced all steps and I did it
correctly.
On Friday, December 7, 2018 at 2:12:23 PM UTC-8, Pat wrote:
>
> The last thread was getting a bit long. So I've started a new one.
>
> Belchertown Skin 0.8.1 has been released which fixes a couple of bugs. See
> the release notes, and install instructions here:
>
> https://github.com/poblabs/weewx-belchertown/releases
>
>
>
--
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].
For more options, visit https://groups.google.com/d/optout.