
Completed
Posted
Paid on delivery
I have a simple ESP32 prototype that reads sensor data and sends it to a dashboard via MQTT. The sensor works, but the MQTT connection keeps dropping randomly and losing data. I need someone to look at the code, fix the reconnection logic, and make it stable. Budget is $25 for this quick fix. If you do a good job and are easy to work with, I have a much bigger PCB design and industrial automation project I need a team for
Project ID: 40715087
35 proposals
Remote project
Active 6 days ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

Hey there! I can fix your ESP32 MQTT drop-out issue right now. My engineering team and I build complex industrial IoT systems and embedded hardware all day, so sorting out a WiFi/MQTT reconnection loop is a breeze for us. 90% of the time, this specific issue comes down to a blocking delay in your sensor read loop or a simple keep-alive timeout. We’d love to use this quick $20 debug as a test run to show you our code quality and speed. If you like how we work, we have the exact multidisciplinary team (PCB design, embedded firmware, automation) you need for your bigger upcoming project. Shoot me a message in the chat with your code file, and I’ll get this patched and stable for you today. Let’s get started!
$20 USD in 1 day
0.0
0.0
35 freelancers are bidding on average $34 USD for this job

I’ve reviewed the ESP32 MQTT setup and I can stabilize the path by tightening the reconnect flow, ensuring non-blocking operation, and guarding data with a small queue so messages aren’t dropped during brief network hiccups. My approach is to audit the current code, implement a state-aware reconnect with exponential backoff, and verify broker settings (QoS, keepalive, and session handling) with a lightweight test harness. I have a clarifying question to tailor the fix: Could you share the exact ESP32 MQTT library you’re using (e.g., PubSubClient vs AsyncMqttClient), the broker address/port (TLS or plain), and any logs that show the reconnection pattern so I can reproduce and stabilize the flow? I’ll keep changes minimal, well-commented, and deliver a compact patch with notes so you can review quickly. If accepted, we can scale toward the larger PCB and automation project. Marko Aleksic.
$20 USD in 1 day
6.9
6.9

Hi there, I have carefully reviewed your ESP32 MQTT issue. Since the sensor side is already working, I can focus directly on the unstable MQTT connection, reconnection logic, data-loss handling, and overall communication reliability. I have already worked with ESP32, MQTT, Wi-Fi reconnection, non-blocking firmware, keep-alive handling, buffering, and embedded communication debugging. I can review your existing code, identify why the connection is dropping, and implement a robust reconnection strategy without unnecessarily rewriting the project. This is a straightforward task for my embedded systems background, and I can handle it efficiently within your quick-fix scope. I am also comfortable supporting the larger PCB design and industrial automation project afterward. Send me the source code and MQTT setup details, and I can start immediately. Best regards, Samuel tshibangu
$30 USD in 1 day
6.5
6.5

Hi, how are you doing? I went through your project description and I can help you in your project. your project requirements perfectly match my expertise. We are a team of Electrical and Electronics engineers, we have successfully completed 1000+ Projects for multiple regular clients from OMAN, UK, USA, Australia, Canada, France, Germany, Lebanon and many other countries. We are providing our services in following areas: Antenna Design (CST, HFSS) Embedded C Programming. VHDL/Verilog, Quartus/Vivado, LabVIEW/ Multisim/PSPICE/VLSI MATLAB/SIMULINK Network Simulator NS2/NS3 Microcontroller like Arduino, Raspberry Pi, FPGA, AVR, PIC, STM32 and ESP32. IDEs like Keil MDK V5, ATmel studio and MPLab XC8. PLCs / SCADA PCB Designing Proteus, Eagle, KiCAD and Altium IOT Technologies like Ethernet, GSM GPRS. HTTP Restful APIs connection for IOT Communications. Also, we have good command over report writing, I can show you many samples of our previous reports. Kindly consider us for your project and text me so that we can further discuss specifically about your project's main goals and requirements.
$200 USD in 7 days
6.0
6.0

Hi, I can make a help. I work on freelance projects in my spare time, so I would expect around 2–3 days for this. I’ll first try to locate where the disconnection is coming from. It may be related to the code itself, Wi-Fi conditions, ESP32 version, MQTT library, or the broker/cloud-side configuration. If you can share the current code and some basic information about the setup, I can start from there and check what is causing the instability.
$30 USD in 3 days
4.5
4.5

Hi, I am ready to review your ESP32 prototype code, fix the MQTT reconnection logic, and stabilize the connection so it no longer drops randomly or loses sensor data, following IEEE 802.11, MQTT 3.1.1, and ESP-IDF best practices for a reliable, data-loss-free, production-ready embedded system. Project Deliverables: Code review and root-cause diagnosis Fixed MQTT reconnection logic Data-loss prevention Tested and stable firmware delivery I have a question: Q1: Could you share the ESP32 code and confirm whether the disconnects happen on Wi-Fi, MQTT, or both? Q2:Are you using Arduino-ESP32 or ESP-IDF, and which MQTT library is implemented?" I have over 5 years of experience in ESP32 firmware development. Similar projects I have completed: MQTT Reconnection Stability Fix for an ESP32 Sensor Dashboard System IoT Firmware Debugging with Data Buffering for Intermittent Network Conditions Software I can use: Arduino IDE/ESP-IDF I am ready to start immediately upon receiving the ESP32 code and connection details. Thank you! Warm regards, Abubakar
$25 USD in 7 days
4.3
4.3

Hi, MQTT drops on ESP32 are usually one of a few things: no keepalive, no clean reconnect, blocking code that stalls the loop, or broker timeout settings. I'll review your code and fix the reconnection logic properly. Add keepalive, exponential backoff, and a proper reconnect without blocking the main loop. Buffer unsent data so nothing is lost during drops. $25 is fine for this fix. I can turn it around quickly. One question: which MQTT library are you using, PubSubClient or ESP-IDF MQTT? And which broker, Mosquitto or cloud like HiveMQ or AWS? Send the code and I'll start right away. If this goes well, I'd be glad to talk about the bigger PCB and industrial automation project. Regards, ShengLin Gu.
$25 USD in 1 day
3.5
3.5

I have done similar work a few times where I get the data from sensors and send it server via MQTT protocol and I will fix this issue within a day. I have the ESP32 with me so I can test and verify at my end before consuming your time.
$20 USD in 1 day
3.1
3.1

I have completed similar projects involving ESP32 firmware, MQTT communication, sensor integration, embedded systems, and IoT dashboards. I can review your existing prototype code, identify why the MQTT connection is dropping, and implement reliable reconnection and data-handling logic without unnecessarily changing the working sensor functionality. Scope of Work Review the existing ESP32 firmware and MQTT implementation Identify the cause of random MQTT disconnections Fix Wi-Fi/MQTT reconnection handling Implement reliable connection-state monitoring Prevent data loss during temporary connection drops where practical Add appropriate retry/reconnect delays and error handling Test the updated logic for stable operation Return the cleaned and commented source code Please send the ESP32 source code, MQTT broker details/configuration, and any serial logs showing the disconnects. I can review the code immediately and focus specifically on getting the MQTT connection stable. If the quick fix goes well, I’d also be interested in supporting the larger PCB design and industrial automation project.
$20 USD in 2 days
2.6
2.6

Hi, I can quickly diagnose and fix your **ESP32 MQTT connection drops and data loss**. I have **16 years of embedded/IoT experience** with ESP32, MQTT, Wi-Fi, sensors and real-time data communication, including completed ESP32 IoT systems using MQTT. I’ll review your existing code to identify the actual cause—such as blocking code, Wi-Fi/MQTT timeout handling, keep-alive issues, reconnect sequencing, packet handling or watchdog-related problems—and implement a **robust non-blocking reconnection strategy** without disrupting sensor acquisition. I can also add: * Automatic Wi-Fi/MQTT recovery * Connection-state monitoring * Publish retry/error handling * Keep-alive management * Serial diagnostics * Protection against data loss during temporary outages I’ll test the revised firmware with repeated disconnect/reconnect conditions and provide the cleaned, commented source code. I’m comfortable starting with the quick fix, and I’d also be interested in supporting your **larger PCB design and industrial automation project** afterward. Please send the current ESP32 sketch and MQTT library/broker details. Best regards, Subhash Suman ESP32 | MQTT | Embedded Firmware | IoT | Industrial Automation
$100 USD in 7 days
2.3
2.3

I have 5+ years of embedded hardware, PCB and microcontroller development experience, including ESP32-based systems, sensor integration and industrial communication workflows. I can quickly review your existing code and resolve the MQTT disconnection and data-loss issue. I’ll trace the current MQTT connection/reconnection logic, identify why the connection is dropping, and implement a reliable recovery mechanism with appropriate connection checks, retry timing, keep-alive handling and message publishing safeguards. Deliverables Review of existing ESP32 firmware MQTT disconnect/root-cause analysis Reliable automatic reconnection logic Connection and publish-state handling Data-loss prevention improvements Stability testing and verification Clean updated source code Brief explanation of changes Why Choose Me I’ll keep this focused as a quick $25 fix, without unnecessarily rewriting working parts of your firmware. My goal is to make the existing prototype stable and provide you with clean, maintainable code that can be extended later for your larger PCB and industrial automation project. Please send the current ESP32 code, MQTT library/broker details and any serial logs showing the disconnections. I can start immediately.
$20 USD in 2 days
2.0
2.0

Hi, I've worked extensively with embedded systems and microcontroller firmware, including MQTT-based sensor-to-dashboard pipelines, so this is a familiar problem.
$10 USD in 1 day
0.0
0.0

Hi, I can help fix the random MQTT disconnects and data loss on your ESP32 prototype. I’ll review the code, identify what’s causing the connection drops, and improve the reconnection and error-handling logic to make the connection stable and reliable. I’m comfortable working within the $25 budget for this quick fix and can get started right away. If you’re satisfied with the result, I’d also be happy to support your larger PCB and industrial automation project. Message me now and let’s get started.
$10 USD in 1 day
0.0
0.0

Hi, I can help stabilize your ESP32 prototype by diagnosing the MQTT connection drops and improving the reconnection and data-delivery logic. I’ll review the existing firmware, identify issues around connection handling, timeouts, keep-alive, Wi-Fi recovery, and message loss, then implement a reliable reconnect strategy without disrupting the working sensor functionality. I’ll also test the revised firmware for repeated disconnect/reconnect scenarios and verify that sensor data resumes correctly after network interruptions. I can keep the fix focused on the current prototype and within your $25 budget. Question: Are you using a specific MQTT library such as PubSubClient, AsyncMqttClient, or ESP-MQTT in the current ESP32 firmware? Best regards
$20 USD in 7 days
0.0
0.0

I can help troubleshoot and stabilize the ESP32 MQTT connection by reviewing the current firmware logic and improving the reconnection handling. My experience with embedded systems, microcontroller programming, IoT devices, and hardware-software integration allows me to analyze communication issues and implement reliable solutions. I will check the MQTT connection flow, connection recovery behavior, sensor data transmission, and possible causes of random disconnects. I can also help optimize the firmware structure to make the device more stable during continuous operation. I focus on clean implementation, debugging, and practical solutions that improve reliability for embedded applications.
$25 USD in 3 days
0.0
0.0

Title: Expert ESP32 & MQTT Stability Fix (Non-blocking & LWT) Proposal Content: With extensive experience in ESP32 firmware development (Arduino/ESP-IDF), wireless communication, and MQTT protocols, I am confident I can fix your random dropping issue. The frequent disconnections are likely caused by blocking reconnect loops (triggering the Watchdog Timer), Client ID clashes, or lacking a proper keep-alive/backoff mechanism. My fix will include: Non-blocking Reconnection: Refactoring your code to a state-machine pattern to prevent ESP32 freezes. Exponential Backoff: Implementing retry logic (e.g., 1s, 2s, 4s...) with jitter to prevent network flooding. Unique Client ID: Generating dynamic IDs using the chip's MAC address. LWT & QoS: Adding MQTT Last Will and Testament (LWT) and optimizing QoS settings. WiFi & Keep-alive Check: Ensuring robust WiFi reconnection and proper heartbeat intervals. I work cleanly and communicate clearly. I am also leading a team specialized in industrial automation and PCB design. Looking forward to building a long-term collaboration with you!
$15 USD in 1 day
0.0
0.0

hey, i can help you fix the mqtt connection issue on your esp32 board. I work with esp32 firmware and mqtt brokers regularly, so finding and resolving whatever is dropping the connection or payload should be straightforward. I've fixed similar embedded setups before. let me know if you'd like to chat about the details!
$25 USD in 1 day
0.0
0.0

Being an experienced embedded systems engineer with a focus on low power design and wireless technologies like MQTT, I'm confident in my ability to solve your ESP32 prototype's connectivity issue. With a deep understanding of ESP32 and its MQTT capabilities, I’ve successfully implemented numerous projects involving MQTT-based sensor data transmission with stable connections. I've also designed and debugged PCBs with signal integrity optimization, a skill that will be crucial for ensuring smooth data transfer between your sensors and the dashboard. My proficiency in debugging in real-time alongside my knowledge of UART, SPI, I2C protocols bring additional strength to my capability to identify the issue and cure it efficiently. Lastly, my experience includes end-to-end hardware/firmware development in the industrial automation domain as well. Given that your project has expansion possibilities beyond fixing this MQTT issue, you can be assured that it's not just a momentary collaboration but an opportunity for a long-lasting partnership ensuring a reliable and easily deployable production-ready design. Together, we can take your project from its stagnant state to an efficient one for years to come. Let's connect!
$15 USD in 1 day
0.0
0.0

Hi, I can help fix the ESP32 MQTT instability and make the connection/reconnection logic reliable. I’ll review the existing firmware to identify why the MQTT session is dropping, then fix the reconnect flow, Wi-Fi/MQTT state handling, timeouts, and connection recovery so the device can recover automatically without losing sensor operation.
$10 USD in 2 days
0.0
0.0

Hello, I can help stabilize your ESP32 MQTT prototype by reviewing the existing code and fixing the connection and reconnection logic. I understand the main issue is intermittent MQTT disconnections resulting in lost sensor data, so the focus will be on reliable connectivity and data handling. I would inspect the MQTT client flow, connection state handling, reconnect timing, keep-alive behavior, and error handling, then implement a robust reconnection strategy without disrupting the existing sensor and dashboard functionality. I’ll also test the revised logic under repeated disconnect/reconnect conditions to ensure it behaves consistently. You can expect focused debugging, clean code changes, and clear communication throughout this quick fix. I’d be glad to review the ESP32 code and MQTT setup and get the prototype stable within the stated scope. Thank you,
$20 USD in 7 days
0.0
0.0

Hello M Tushar Khakhi, As per ur posting Random MQTT disconnects on the ESP32 are a very common issue, usually caused by non-blocking loop misconfigurations, WiFi event handling gaps, or unhandled TCP socket timeouts during reconnects.I can take a look at your current code immediately, fix the connection stability, and ensure no sensor payloads are lost during network dips. Please share more details of hardware to go ahead.
$26 USD in 15 days
0.0
0.0

Montreal, Canada
Payment method verified
Member since Aug 2, 2026
$30-250 CAD
$250-750 USD
₹750-1250 INR / hour
$15-25 USD / hour
$250-750 USD
$15-25 USD / hour
$30-250 AUD
$15-25 USD / hour
$250-750 USD
₹750-1250 INR / hour
₹750-1250 INR / hour
$30-250 USD
₹1500-12500 INR
₹12500-37500 INR
₹750-1250 INR / hour
₹12500-37500 INR
₹75000-150000 INR
₹600-1500 INR
$30-250 USD
₹750-1250 INR / hour
$250-750 USD