← Back to downloads
============================================================
ProjectUNION MQTT Library v0.3.2 MQTT Communication Extension for
ProjectUNION
============================================================

INTRODUCTION

ProjectUNION MQTT extends the ProjectUNION Core library with easy-to-use
MQTT communication for ESP32 based applications.

It provides a consistent framework for publishing and subscribing to
MQTT topics while using the common ProjectUNION web interface,
configuration pages and OTA firmware updates.

PROJECTUNION PLATFORM

ProjectUNION consists of:

-   ProjectUNION Core
-   ProjectUNION MQTT
-   ProjectUNION DCC

ProjectUNION Core must be installed before using this library.

MAIN FEATURES

-   MQTT client support
-   Publish messages
-   Subscribe to topics
-   Automatic reconnect
-   MQTT broker configuration
-   JSON message support
-   Integration with ProjectUNION Core
-   Designed for ESP32 model railway applications

SYSTEM REQUIREMENTS

-   Arduino IDE 2.x
-   ESP32 Arduino Core
-   ProjectUNION Core Library
-   ESP32 Dev Module

INSTALLATION

1.  Install ProjectUNION Core.

2.  Copy the ProjectUNION_MQTT folder into:

    Documents/Arduino/libraries

3.  Restart Arduino IDE.

4.  Open one of the included MQTT examples.

5.  Compile and upload.

INCLUDED EXAMPLES

The library includes compact example projects demonstrating:

-   MQTT connection
-   Publish
-   Subscribe
-   JSON messaging
-   Integration with ProjectUNION Core

TYPICAL APPLICATION

Your Application | V ProjectUNION MQTT | MQTT Broker | Other Devices

RECOMMENDED LEARNING ORDER

1.  ProjectUNION Core
2.  ProjectUNION MQTT
3.  ProjectUNION DCC
4.  Project Examples

VERSION HISTORY

Version 0.3.2

-   Compact example collection
-   Language improvements
-   Current production release

LICENSE

ProjectUNION is intended for hobby and educational use.

No warranty or support is provided.

Use the software entirely at your own risk.