# 256dpi/arduino-mqtt

MQTT library for Arduino

Repository: https://github.com/256dpi/arduino-mqtt
Canonical: https://ross.abutalabs.com/products/arduino-mqtt
Language: C
License: MIT
License Family: permissive
Topics: arduino, mqtt, iot
Last push: 2026-04-16T06:38:44+00:00

## Health v2 (maintenance only)
Score: 71/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 77, release rhythm 48, longevity 100
- inputs: {"age_days": 4294, "days_push": 139, "days_rel": 139, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1092, forks 243 (observed 2026-08-28T04:03:33.204904+00:00)

## What it is
An Arduino library wrapping the lwmqtt MQTT 3.1.1 client with an Arduino-style API. It supports many Arduino-compatible boards and shields including ESP32, ESP8266, Ethernet, WiFi, and GSM hardware.

## Use cases
- connect an Arduino to an MQTT broker
- publish sensor data over MQTT from ESP32
- subscribe to MQTT topics on ESP8266
- add MQTT messaging to an IoT project
- secure MQTT connection with TLS on Arduino
- use MQTT with Arduino Ethernet or WiFi shield

## When to choose
- you need MQTT 3.1.1 on Arduino-compatible microcontrollers
- you want a lightweight C-based client with an Arduino-friendly API
- you target ESP32/ESP8266 or various network shields

## When to avoid
- you need MQTT 5.0 features
- you are not on an Arduino/embedded platform
- you need a full-featured broker rather than a client

## Facets
- artifact type: library
- maturity: stable
- function: message-queue, networking, iot
- domain: iot, embedded-systems
- platform: embedded, iot, cpp
- tags: mqtt, arduino, esp32, esp8266, lwmqtt, mqtt-3-1-1, messaging

## Member repositories
- 256dpi/arduino-mqtt (main) score 71

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:33.204904+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:48:59.395680+00:00, confidence not recorded.
  - readme: https://github.com/256dpi/arduino-mqtt (fetched 2026-08-28T04:03:33.204904+00:00, sha 6ecd99d9a556)
- Data as of 2026-08-30T08:39:29.467469+00:00.
