Recently, I’ve been working on setting up a wireless sensor using NodeMCU and DHT22 with ESPeasy software. The goal was to integrate it into my home automation system via MQTT. However, despite multiple attempts, I’m unable to establish a successful connection. I suspect the issue might be with the MQTT broker configuration or the ESPeasy setup.
Here’s what I’ve done so far:
- Configured the ESPeasy device named sensor with MQTT settings.
- Set up the MQTT broker and controller as shown in the attached images.
- Verified that the sensor is working and publishing data.
- Checked the OpenHAB (OH) configuration, including the item and sitemap setup.
Despite these steps, the MQTT connection remains unstable. I’ve tried troubleshooting by reviewing logs and ensuring all configurations align, but the issue persists. I’d appreciate any insights or suggestions from the community to resolve this connectivity problem. Thanks in advance for your help!