gdville
Posts: 1
Joined: Thu Dec 27, 2018 6:15 pm

MQTT (paho vs mosqitto vs???)

Thu Dec 27, 2018 6:35 pm

I'm new to MQTT.

What are the pros and cons of the different MQTT flavors for use in SSH Python programing of Pi devices? Where best to invest my time learning?

ghp
Posts: 1517
Joined: Wed Jun 12, 2013 12:41 pm
Location: Stuttgart Germany
Contact: Website

Re: MQTT (paho vs mosqitto vs???)

Fri Dec 28, 2018 3:18 pm

See
https://www.eclipse.org/paho/
https://mosquitto.org/

paho is the client part
mosquitto is the server (broker) part which you can run on your pi

there are server available on the net, e.g. adafruit io or from eclipse https://iot.eclipse.org/getting-started/

If you want to learn, look for paho, mqtt and mqtt.fx .

PhatFil
Posts: 1685
Joined: Thu Apr 13, 2017 3:55 pm
Location: Oxford UK

Re: MQTT (paho vs mosqitto vs???)

Fri Dec 28, 2018 3:29 pm

there is not too much you need bother with beyond hosting or addressing a broker, and understanding the topic/payload paths used, not exactly on the money but it may help to think of the topic as the primary key element and the payload the data element of an olde worlde record ;)

have fun..

Return to “Python”