[Solved] No data/payload with connected device

The two sensors look the same ( in terms of configuration ). However, this is a problem with a library the firmware is using. So, it’s not a problem with the code you have, just the library.

Here is the problem: MQTT has a payload memory limit. You are sending humidity, tempC, tempF, heatIndexC, and heatIndexF. The default memory limit is not enough to support all of these values. The error is also not apparent, which makes it hard to track.

You can fix this in two ways:

  1. So, you can only send the data you need. You can edit the void report function to seen one or two values.

  2. Or you can increase the memory limit: