Rolling 20210708

This commit is contained in:
jomjol
2021-07-08 21:45:33 +02:00
parent 08b0b254f2
commit d7bb147a23
10 changed files with 21 additions and 406 deletions

View File

@@ -160,6 +160,15 @@ bool ClassFlowMQTT::doFlow(string zwtime)
zw = namenumber + "timestamp";
MQTTPublish(zw, resulttimestamp);
std::string json="{\"value\":"+result;
json += ",\"error\":\""+resulterror;
json += "\",\"rate\":"+resultrate;
json += ",\"timestamp\":\""+resulttimestamp+"\"}";
zw = namenumber + "json";
MQTTPublish(zw, json);
}
}
else