diff --git a/src/DisplayManager.cpp b/src/DisplayManager.cpp index 13dcc178..ecddd366 100644 --- a/src/DisplayManager.cpp +++ b/src/DisplayManager.cpp @@ -339,7 +339,7 @@ void DisplayManager_::generateCustomPage(uint16_t id, String payload) void DisplayManager_::generateNotification(String payload) { - StaticJsonDocument<128> doc; + StaticJsonDocument<1024> doc; deserializeJson(doc, payload); notify.duration = doc.containsKey("duration") ? doc["duration"].as() * 1000 : TIME_PER_FRAME; diff --git a/src/Globals.cpp b/src/Globals.cpp index ab280449..32d117a4 100644 --- a/src/Globals.cpp +++ b/src/Globals.cpp @@ -30,7 +30,7 @@ IPAddress gateway; IPAddress subnet; IPAddress primaryDNS; IPAddress secondaryDNS; -const char *VERSION = "0.31"; +const char *VERSION = "0.32"; String MQTT_HOST = ""; uint16_t MQTT_PORT = 1883; String MQTT_USER;