Not sure if this does anything, but increased json and mqtt limits to see if Kamstrup list 3 is received

This commit is contained in:
Gunnar Skjold
2020-02-13 20:50:13 +01:00
parent b6efae656f
commit d2f93c07bd
4 changed files with 5 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ void AmsWebServer::loop() {
server.handleClient();
}
void AmsWebServer::setJson(StaticJsonDocument<500> json) {
void AmsWebServer::setJson(StaticJsonDocument<1024> json) {
if(!json.isNull()) {
p = json["data"]["P"].as<int>();