Choosing an MQTT library

This page summarizes the projects mentioned and recommended in the original post on /r/esp8266

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • pubsubclient

    A client library for the Arduino Ethernet Shield that provides support for MQTT.

  • Before I hit "post" I did a little more digging and determined that I had installed the wrong library. The correct one is https://pubsubclient.knolleary.net/. But that doesn't answer my question if I am using "the right" library for my projects. In connection with that, links to any tutorials that use that library would also be useful.

  • pubsubclient

    A client library for the ESP8266 that provides support for MQTT (by Imroy)

  • I got the built in LED blinking within a couple minutes. (Great Success! :D ) I haven't done as well with MQTT. :-/ I started following a tutorial at https://vimalb.github.io/IoT-ESP8266-Starter/Lesson_04/lesson.html and immediately ran into the header PubSubClient.h not found. I went into Tools -> Manage Libraries, entered "MQTT" in the search field and came up with over 30 libraries! Next I did a search for the missing header error message and that led me to https://github.com/Imroy/pubsubclient. I installed that and it gets me past the missing header, but when I try to create a PubSubClient I get error: no matching function for call to 'PubSubClient::PubSubClient()' which means there is no default constructor for this class. So I'm not sure if I have the wrong library or if it has been modified since the tutorial was written.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • WiFiManager

    ESP8266 WiFi Connection manager with web captive portal

  • #include //https://github.com/tzapu/WiFiManager

  • Adafruit_MQTT_Library

    Arduino library for MQTT support

  • Well maintained library from Adafruit https://github.com/adafruit/Adafruit_MQTT_Library

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Trouble changing clock format from 24 hour to 12 hour

    1 project | /r/arduino | 14 May 2023
  • I built a website running in ESP32 with separate frontend and backend. The frontend is made with VueJS + TailwindCSS, the backend is coded in C++

    1 project | /r/embedded | 13 Apr 2023
  • Best way to communicate WiFi details to Adafruit Feather Huzzah ESP8266

    1 project | /r/arduino | 7 Mar 2023
  • Easy way to program wifi credentials on a pre- programmed board?

    1 project | /r/arduino | 18 Feb 2023
  • Making it easy for customer/ client to put in wifi credentials onto a pre-programmed IoT device

    4 projects | /r/esp32 | 18 Feb 2023