Python MQTT Data Logger (GUI Source Code)
🛡️ Security Upgrade (TLS/SSL Encryption)
This tool now supports TLS/SSL encryption. This is mandatory for connecting to industrial-grade and major cloud IoT platforms (like AWS IoT Core, Azure IoT Hub, or EMQX clusters). You can now securely monitor data leaving your local network without risks.
✨ NEW: Standalone EXE Included (Zero Setup Required)
We now include a single, portable Windows executable (.exe) in the download package.
You no longer need to install Python, manage virtual environments, or run any installation scripts. Just download the zip, extract, and double-click the EXE file to run the Modbus/MQTT/CAN Sniffer immediately!
⚡ Stop writing boilerplate MQTT scripts. Start debugging in seconds.
Need to record IoT sensor data but don't want to set up a complex database? Want a clean Python GUI to debug your MQTT Broker connections?
This tool is a lightweight, production-ready MQTT Client built with Python tkinter. It solves the common headache of "just wanting to save telemetry to Excel" without writing code from scratch.
🔥 New in V2.0 (Pro Version): This isn't just a basic script. It has been upgraded for real-world scenarios:
- ✅ Secure Authentication: Full support for Username & Password login (essential for cloud brokers like HiveMQ or EMQX).
- ✅ Custom Port: Connect to any port (not just 1883).
-
✅ Smart Feedback: Instantly detects if the broker REJECTS your subscription (e.g., wrong wildcard usage like
topic#). - ✅ Future-Proof: Built on the latest Paho-MQTT v2.0 engine (compliant with the new Callback API standards).
📂 What You Get:
- 📄 Full Source Code (
main.py): Fully commented and easy to modify. - 📘 Setup Guide (
README.md): Step-by-step instructions. - 🔓 Commercial License: Use it in your own projects or modify it for your clients.
✨ Key Features:
-
Instant CSV Export: Data (
Timestamp,Topic,Payload) is saved automatically. - Non-Blocking UI: Multi-threaded architecture ensures the interface never freezes.
- Zero Heavy Dependencies: Runs on standard Python libraries.
Perfect for Automation Engineers, IoT Developers, and Students.
The easiest way to log MQTT data to CSV. A production-ready GUI tool built with Python & Paho-MQTT v2.0.