mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-09 09:19:51 +03:00
add enough mqtt memory for all boiler objects
This commit is contained in:
@@ -632,7 +632,7 @@ void publishSensorValues() {
|
||||
|
||||
// publish Boiler data via MQTT
|
||||
void publishEMSValues_boiler() {
|
||||
const size_t capacity = JSON_OBJECT_SIZE(36); // must recalculate if more objects addded https://arduinojson.org/v6/assistant/
|
||||
const size_t capacity = JSON_OBJECT_SIZE(41); // must recalculate if more objects addded https://arduinojson.org/v6/assistant/
|
||||
DynamicJsonDocument doc(capacity);
|
||||
JsonObject rootBoiler = doc.to<JsonObject>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user