mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 16:59:50 +03:00
minor dimension of JSON msg.
This commit is contained in:
@@ -971,7 +971,7 @@ bool publishEMSValues_thermostat() {
|
|||||||
|
|
||||||
// publish Settings parameters via MQTT
|
// publish Settings parameters via MQTT
|
||||||
bool publishEMSValues_settings() {
|
bool publishEMSValues_settings() {
|
||||||
const size_t capacity = JSON_OBJECT_SIZE(5); // must recalculate if more objects added https://arduinojson.org/v6/assistant/
|
const size_t capacity = JSON_OBJECT_SIZE(6); // must recalculate if more objects added https://arduinojson.org/v6/assistant/
|
||||||
DynamicJsonDocument doc(capacity);
|
DynamicJsonDocument doc(capacity);
|
||||||
JsonObject rootSettings = doc.to<JsonObject>();
|
JsonObject rootSettings = doc.to<JsonObject>();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user