Rolling 20220215

This commit is contained in:
jomjol
2022-02-15 21:26:38 +01:00
parent 1371be6f2c
commit 1f5486e8cc
16 changed files with 106 additions and 97 deletions

View File

@@ -157,7 +157,7 @@ bool ClassFlowMQTT::doFlow(string zwtime)
sprintf(freeheapmem, "%zu", esp_get_free_heap_size());
MQTTPublish(zw, freeheapmem);
zw = maintopic + "/" + "Wifi RSSI";
zw = maintopic + "/" + "wifiRSSI";
char rssi[11];
sprintf(rssi, "%d", get_WIFI_RSSI());
MQTTPublish(zw, rssi);
@@ -169,7 +169,7 @@ bool ClassFlowMQTT::doFlow(string zwtime)
for (int i = 0; i < (*NUMBERS).size(); ++i)
{
result = (*NUMBERS)[i]->ReturnValueNoError;
result = (*NUMBERS)[i]->ReturnValue;
resultraw = (*NUMBERS)[i]->ReturnRawValue;
resulterror = (*NUMBERS)[i]->ErrorMessageText;
resultrate = (*NUMBERS)[i]->ReturnRateValue;