WiFiManager VS pubsubclient

Compare WiFiManager vs pubsubclient and see what are their differences.

WiFiManager

ESP8266 WiFi Connection manager with web captive portal (by tzapu)

pubsubclient

A client library for the ESP8266 that provides support for MQTT (by Imroy)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
WiFiManager pubsubclient
41 1
6,344 431
- -
7.7 0.0
17 days ago 11 months ago
C++ C++
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

WiFiManager

Posts with mentions or reviews of WiFiManager. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-27.
  • Need some opinions on a clock I'm planning to sell online that involves ESP8266
    2 projects | /r/esp8266 | 27 May 2023
  • Esp-Idf wifi manager
    3 projects | /r/esp32 | 20 Mar 2023
    Hello. Some time ago I' ve strugled with seting up wifi manager in esp_idf framework. Most popular wifi manager made by tzapu was not working on esp-idf framework inside PlatformIo. So I have found tonyp7. It started to work after many changes in library code and makefiles. I have some free time and I can make WifiManager suited to bare esp-idf and esp-idf inside PlatformIo. My question is- do somebody need this ? Maybe there are alternatives which i did not find and my work is pointless. Please share your opinion
  • Making it easy for customer/ client to put in wifi credentials onto a pre-programmed IoT device
    4 projects | /r/esp32 | 18 Feb 2023
    Is that fork needed still? It seems like the main project claims support for esp32 now? https://github.com/tzapu/WiFiManager
  • SOFT AP Mode for ws2812b LED Matrix Sign using esp8266 and Adafruit Neomatrix library.
    3 projects | /r/esp8266 | 6 Feb 2023
  • How are folks handling WiFi credentials?
    4 projects | /r/esp32 | 27 Dec 2022
    I use WifiManager (https://github.com/tzapu/WiFiManager) .. it will setup the device as an access point you connect to and configure the wifi.
  • I made a Wifi Manager for ESP32 and would like some critique
    2 projects | /r/esp32 | 8 Nov 2022
    Reminds me of this. I will try it out.
  • Provisioning Alternatives
    2 projects | /r/esp32 | 16 Jun 2022
    WifiManager (https://github.com/tzapu/WiFiManager or https://registry.platformio.org/libraries/khoih-prog/ESP_WiFiManager_Lite):
  • ESP32 keeps triggering WDT while running WiFi Manager on Core0. Could you help me?
    2 projects | /r/esp32 | 18 May 2022
    If you have other code that does not rely on being connected to WiFi I would look into running WiFi manager in none blocking mode. There is an example here: https://github.com/tzapu/WiFiManager/blob/master/examples/NonBlocking/AutoConnectNonBlocking/AutoConnectNonBlocking.ino
    2 projects | /r/esp32 | 18 May 2022
    // I won't hide these informations bellow because this is just a test. You can compile on your esp32 #define BLYNK_TEMPLATE_ID "TMPLc9VK-ym3" #define BLYNK_DEVICE_NAME "Wifi Bluetooth ESP32 DHT Station" #define BLYNK_AUTH_TOKEN "IzH-vvhVf0uLJaV54Ziero7kjUiFeq5g" #include // https://github.com/tzapu/WiFiManager #include #define TRIGGER_PIN 22 #define LED_PIN 23 TaskHandle_t Task1; int timeout = 120; unsigned long blink_timer; char auth[] = BLYNK_AUTH_TOKEN; WiFiManager wm; void wifi_stuff( void * pvParameters ){ Serial.print("wifi_stuff running on core "); Serial.println(xPortGetCoreID()); for(;;){ if(!Blynk.connected()){ wm.autoConnect(); Blynk.config(auth); Blynk.connect(5000); } if ( digitalRead(TRIGGER_PIN) == LOW) { WiFiManager wm; wm.resetSettings(); wm.setConfigPortalTimeout(timeout); if (!wm.startConfigPortal("OnDemandAP")) { Serial.println("failed to connect and hit timeout"); } wm.setEnableConfigPortal(false); } } } void setup() { WiFi.mode(WIFI_STA); // explicitly set mode, esp defaults to STA+AP Serial.begin(115200); Serial.println("\n Starting"); pinMode(TRIGGER_PIN, INPUT_PULLUP); pinMode(LED_PIN, OUTPUT); wm.setEnableConfigPortal(false); wm.autoConnect(); Blynk.config(auth); Blynk.connect(5000); //blynk connect timeout xTaskCreatePinnedToCore( wifi_stuff, /* Task function. */ "Task1", /* name of task. */ 10000, /* Stack size of task */ NULL, /* parameter of the task */ tskIDLE_PRIORITY, /* priority of the task */ &Task1, /* Task handle to keep track of created task */ 0); } void loop() { Blynk.run(); //bellow is for debug if (millis() - blink_timer > 300){ digitalWrite(LED_PIN, !digitalRead(LED_PIN)); blink_timer = millis(); Serial.println(Blynk.connected()); } }
  • IoT Cheese Press
    3 projects | /r/esp8266 | 7 Dec 2021
    Oh and if you're implementing it yourself and want a captive portal look into WifiManager. It's pretty much the standard ESP captive portal.

pubsubclient

Posts with mentions or reviews of pubsubclient. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-01.
  • Choosing an MQTT library
    5 projects | /r/esp8266 | 1 Nov 2021
    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.

What are some alternatives?

When comparing WiFiManager and pubsubclient you can also consider the following projects:

esp-idf - Espressif IoT Development Framework. Official development framework for Espressif SoCs.

ESPAsyncWiFiManager - Port WiFiManager to ESP Async Server

esp_wifi_repeater - A full functional WiFi Repeater (correctly: a WiFi NAT Router)

NTP-time-for-ESP8266-and-ESP32 - NTP time example for ESP8266 and ESP32 based on standard functionality

ESP_WiFiManager - This is an ESP32 / ESP8266 WiFi Connection Manager with fallback web configuration portal. Use this library for configuring ESP32 (including ESP32-S2 and ESP32-C3), ESP8266 modules' WiFi, etc. Credentials at runtime. You can also specify static DNS servers, personalized HostName, fixed or random AP WiFi channel. With examples supporting ArduinoJson

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

Adafruit_MQTT_Library - Arduino library for MQTT support

wifi-setup - get an IoT device online by first broadcasting a private wifi network that users can connect to to configure your device

raspap-webgui - Simple AP setup & WiFi management for Debian-based devices [Moved to: https://github.com/billz/raspap]

esp8266-wifi-setup - ESP8266 Wifi setup using SoftAP, Captive Portal and EEPROM.

RaspiWiFi - Headless WiFi configuration for the Raspberry Pi (or most other devices running Linux) by using a temporary WiFi access point and web interface

WiFiConnectLite - WiFi connection manager for ESP32 and ESP8266