-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MQTT Message Buffer Not Long Enough #2
Comments
Branched from #1 |
Short-term fix is to patch Adafruit_MQTT.h and change |
That is odd... you were seeing sensor data come across before, right (at least the partial messages, not necessarily valid JSON)? I'm not sure why changing the buffer length would have had any effect on the sensor data itself. Maybe try a full clean and recompile in case maybe something got weird in the build process? |
Great, glad that was all it took. Hope it continues to work well for you! |
The Adafruit MQTT library by default seems to cut off published messages at 150 characters, without an obvious way to increase that without patching the library. This is not long enough for HA Auto-Registration messages, or for the sensor JSON data in most cases.
Tracked upstream at adafruit/Adafruit_MQTT_Library#200
The text was updated successfully, but these errors were encountered: