MQTT Pocket Broker
We calculate the final price from your selected file. You review and accept it before payment.
Saved on this device.
Standalone ESP8266 Broker & IoT Gateway
- Rating
- 0 / 5
- Likes
- 0
- Downloads
- 7
- Makes
- 0
- Views
- 53
- Reviews
- 0
Updated at source:
Model information
- Source
- Printables
- Category
- Other Gadgets
- License
- GNU General Public License v3.0
MQTT Pocket Broker - Standalone ESP8266 Broker & IoT Gateway
Description
Tired of needing a full Raspberry Pi just to run a simple MQTT broker?
The MQTT Pocket Broker is a compact, dedicated MQTT server built around an ESP8266. It hosts a lightweight local MQTT broker (PicoMQTT), providing a central communication hub for your smart home devices without the power draw or complexity of a larger server.
This project also includes an optional ESP-NOW to MQTT bridge for integrating low-power sensors and features a web-based configuration UI for easy management. The custom 3D printed enclosure is designed to house a Wemos D1 Mini and an internal HLK-PM05 5V AC/DC module, allowing for direct AC mains power—no more external power adapters or messy USB cables!
Key Features:
Integrated MQTT Broker: Hosts a lightweight, reliable broker locally (PicoMQTT) on the ESP8266.
AC Powered: Designed to fit an internal HLK-PM05 5V module for direct mains power.
ESP-NOW Bridge: Optionally routes data from low-power ESP-NOW sensors into your MQTT network.
Web Interface: Manage broker settings, view status, and perform OTA updates via your browser.
Compact Design: A neat 3D printed case for a clean, integrated look.
Bill of Materials (BOM)
Microcontroller: 1x Wemos D1 Mini (ESP8266).
Power Supply: 1x HLK-PM05 AC-DC Module (5V).
Hardware: 4x M3 Heat-set inserts (approx. 4mm or 5mm length) and 4x M3 Socket/Button Head screws (6-8mm).
Wiring: Small gauge wire (22-24AWG) for internal AC/DC connections.
Printing Instructions
Supports: Required. Enable supports for internal mounting structures and connector cutouts.
Orientation: Crucial. Please print both the Top and Bottom shells in the exact orientation shown in the gallery photos to ensure dimensional accuracy and proper support placement.
Material: ABS is recommended for its temperature resistance, but PLA/PETG also works well.
Settings: 0.2mm layer height with 15-20% infill.
Assembly & Software
Press the M3 heat-set inserts into the bottom shell.
Follow the wiring diagram on the GitHub repository to connect the HLK-PM05 to the Wemos D1 Mini.
Flash the firmware using the link below.
Secure the boards inside the case, carefully melting the plastic pins
Close it using the M3 screws.
Links & Resources
🚀 Get the Source Code & Firmware: https://github.com/jmgk77/MQTT-Pocket-Broker (Give the repo a ⭐ if you find it useful!)
📺 Watch the Build & Setup Guide: "Coming Soon" I'll be posting a deep-dive on how I built the firmware and designed this case!