1st try with MQTT on belchertown

127 views
Skip to first unread message

Patrick Tranchant

unread,
Dec 15, 2019, 5:23:31 AM12/15/19
to weewx-user
hello all,

I am trying to run MQTT in skin Belchertown; I have any problem

1 - I use a free broker  "Hivemq".

2 - my weewx.conf:

 [[MQTT]]
        server_url = mqtt://broker.hivemq.com:1883/
        topic = weather
        unit_system = METRIC
        binding = archive, loop
        aggregation = aggregate

3 - my skin.conf:

 # MQTT Websockets defaults
    mqtt_websockets_enabled = 1
    mqtt_websockets_host = "broker.hivemq.com"
    mqtt_websockets_port = 8000
    mqtt_websockets_ssl = 0
    mqtt_websockets_topic = "weather/loop"
    disconnect_live_website_visitor = 1800000

that works well, but I have these message, sometimes

Connected to weather station live. Data received 15 décembre 2019, 11:06:37 = > good message
Connected. Waiting for data.                                                                       = > it is normal ?
Connecting to weather station real time data.                                                = > it is normal ?
Lost connection xxxxx                                                                                = > it is normal ?


thanks for your comment

Patrick

Patrick Tranchant

unread,
Dec 15, 2019, 10:50:25 AM12/15/19
to weewx-user
again me
an other question;
if i use my owner broker Mqtt, can I install it on the same RPi where weewx-belchertown is installed?
will RPi hold the charge?
now I am beginning tests on an other RPi ( but I should also declare it with dynddns, true ?)
I am waiting for you for the remarks.

thanks
Patrick

Xant

unread,
Dec 16, 2019, 10:19:25 PM12/16/19
to weewx-user
Your WX site indeed showing much refresh (which is distracting). Not aware if MQTT or not.

I 1st advice to use a public MQTT and get working:


Then, may try to install MQTT locally in RPi



X
Message has been deleted
Message has been deleted
Message has been deleted

salinois

unread,
Dec 17, 2019, 2:09:35 PM12/17/19
to weewx...@googlegroups.com

my responses in RED

Le 17/12/2019 à 04:19, Xant a écrit :
Your WX site indeed showing much refresh (which is distracting). Not aware if MQTT or not.

I 1st advice to use a public MQTT and get working: this is what i currently configure.


Then, may try to install MQTT locally in RPi : I will do that after when it works well in public mode.
--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/8463c34a-510f-4d17-8ded-ec1d13bce20e%40googlegroups.com.

Xant

unread,
Dec 18, 2019, 12:33:56 AM12/18/19
to weewx-user

Let's step back then... 

Let's see how it works without MQTT. Disable/remove, and let's see how it works. Once verified to be stable, then try MQTT again.

X

salinois

unread,
Dec 18, 2019, 5:57:26 AM12/18/19
to weewx...@googlegroups.com

hi,

I have disabled Mqtt, but after reflection I do not need this service.

thanks for your help

Patrick

--
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 weewx-user+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages