mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
fix sys pressure
This commit is contained in:
@@ -601,13 +601,13 @@ void publishValues(bool force) {
|
||||
rootBoiler["outdoorTemp"] = (double)EMS_Boiler.extTemp / 10;
|
||||
if (abs(EMS_Boiler.wWCurTmp) < EMS_VALUE_SHORT_NOTSET)
|
||||
rootBoiler["wWCurTmp"] = (double)EMS_Boiler.wWCurTmp / 10;
|
||||
if (abs(EMS_Boiler.wWCurFlow) < EMS_VALUE_SHORT_NOTSET)
|
||||
if (abs(EMS_Boiler.wWCurFlow) != EMS_VALUE_INT_NOTSET)
|
||||
rootBoiler["wWCurFlow"] = (double)EMS_Boiler.wWCurFlow / 10;
|
||||
if (abs(EMS_Boiler.curFlowTemp) < EMS_VALUE_SHORT_NOTSET)
|
||||
rootBoiler["curFlowTemp"] = (double)EMS_Boiler.curFlowTemp / 10;
|
||||
if (abs(EMS_Boiler.retTemp) < EMS_VALUE_SHORT_NOTSET)
|
||||
rootBoiler["retTemp"] = (double)EMS_Boiler.retTemp / 10;
|
||||
if (abs(EMS_Boiler.sysPress) < EMS_VALUE_SHORT_NOTSET)
|
||||
if (abs(EMS_Boiler.sysPress) != EMS_VALUE_INT_NOTSET)
|
||||
rootBoiler["sysPress"] = (double)EMS_Boiler.sysPress / 10;
|
||||
if (abs(EMS_Boiler.boilTemp) < EMS_VALUE_SHORT_NOTSET)
|
||||
rootBoiler["boilTemp"] = (double)EMS_Boiler.boilTemp / 10;
|
||||
|
||||
Reference in New Issue
Block a user