marcoboers / home-assistant-quatt

Unofficial Quatt heat pump integration for Home Assistant
MIT License
32 stars 5 forks source link

Logfile flooding with warnings: "Could not find hp2 of hp.temperatureWaterOut" #86

Closed patrickvorgers closed 2 months ago

patrickvorgers commented 9 months ago

System Health details

-

Checklist

Describe the issue

The Home Assistant log is flooded with the following warning: WARNING (MainThread) [custom_components.quatt] Could not find hp2 of hp2.temperatureWaterOut. I have a single Quatt installation so the JSON file does not contain any hp2 information therefore it is correct that the JSON field cannot be found.

2024-02-28 11:17:48.808 DEBUG (MainThread) [custom_components.quatt.api] Fetching data from url: http://quatt.home.local:8080/beta/feed/data.json
2024-02-28 11:17:48.845 DEBUG (MainThread) [custom_components.quatt] Finished fetching quatt data in 0.037 seconds (success: True)
2024-02-28 11:17:48.846 DEBUG (MainThread) [custom_components.quatt] hp1.computedWaterDelta.temperatureWaterOut 28.33
2024-02-28 11:17:48.847 DEBUG (MainThread) [custom_components.quatt] hp1.computedWaterDelta.temperatureWaterIn 23.91
2024-02-28 11:17:48.847 WARNING (MainThread) [custom_components.quatt] Could not find hp2 of hp2.temperatureWaterOut
2024-02-28 11:17:48.847 DEBUG (MainThread) [custom_components.quatt] in {'boiler': {'oTtbTurnOnOffBoilerOn': False, 'otFbChModeActive': False, 'otFbDhwActive': False, 'otFbFlameOn': False, 'otFbSupplyInletTemperature': 67.0, 'otFbSupplyOutletTemperature': 47.0, 'otTbCH': False}, 'flowMeter': {'waterSupplyTemperature': 28.469662}, 'hp1': {'getMainWorkingMode': 2, 'limitedByCop': False, 'modbusSlaveId': 1, 'power': 4188.177787, 'powerInput': 1089.794454, 'silentModeStatus': False, 'temperatureOutside': 4.13, 'temperatureWaterIn': 23.91, 'temperatureWaterOut': 28.33}, 'qc': {'flowRateFiltered': 804.0, 'stickyPumpProtectionEnabled': False, 'supervisoryControlMode': 2}, 'system': {'hostName': 'CIC-xxx'}, 'thermostat': {'otFtChEnabled': True, 'otFtControlSetpoint': 33.0, 'otFtCoolingEnabled': False, 'otFtDhwEnabled': True, 'otFtRoomSetpoint': 19.0, 'otFtRoomTemperature': 18.75}, 'time': {'ts': 1709115454662, 'tsHuman': '2024-02-28T10:17:34Z'}}
2024-02-28 11:17:48.848 DEBUG (MainThread) [custom_components.quatt] .computedWaterDelta.temperatureWaterOut None
2024-02-28 11:17:48.848 DEBUG (MainThread) [custom_components.quatt] .computedWaterDelta.temperatureWaterIn 23.91
2024-02-28 11:17:48.848 DEBUG (MainThread) [custom_components.quatt] computedHeatPower.computedWaterDelta None
2024-02-28 11:17:48.848 DEBUG (MainThread) [custom_components.quatt] computedHeatPower.flowRate 804.0
2024-02-28 11:17:48.850 DEBUG (MainThread) [custom_components.quatt] hp1.computedQuattCop.powerInput 1089.794454
2024-02-28 11:17:48.850 DEBUG (MainThread) [custom_components.quatt] hp1.computedQuattCop.powerOutput 4188.177787
2024-02-28 11:17:48.851 DEBUG (MainThread) [custom_components.quatt] electicalPower <state sensor.quatt_warmtepomp_meter_electric_consumption_w=1023.6; state_class=measurement, meter_type=1, meter_type_name=ELECTRIC, unit_of_measurement=W, device_class=power, friendly_name=Quatt warmtepomp meter Electric Consumption [W] @ 2024-02-28T11:16:29.577946+01:00>
2024-02-28 11:17:48.851 WARNING (MainThread) [custom_components.quatt] Could not find hp2 of hp2.temperatureWaterOut
2024-02-28 11:17:48.851 DEBUG (MainThread) [custom_components.quatt] in {'boiler': {'oTtbTurnOnOffBoilerOn': False, 'otFbChModeActive': False, 'otFbDhwActive': False, 'otFbFlameOn': False, 'otFbSupplyInletTemperature': 67.0, 'otFbSupplyOutletTemperature': 47.0, 'otTbCH': False}, 'flowMeter': {'waterSupplyTemperature': 28.469662}, 'hp1': {'getMainWorkingMode': 2, 'limitedByCop': False, 'modbusSlaveId': 1, 'power': 4188.177787, 'powerInput': 1089.794454, 'silentModeStatus': False, 'temperatureOutside': 4.13, 'temperatureWaterIn': 23.91, 'temperatureWaterOut': 28.33}, 'qc': {'flowRateFiltered': 804.0, 'stickyPumpProtectionEnabled': False, 'supervisoryControlMode': 2}, 'system': {'hostName': 'CIC-xxx'}, 'thermostat': {'otFtChEnabled': True, 'otFtControlSetpoint': 33.0, 'otFtCoolingEnabled': False, 'otFtDhwEnabled': True, 'otFtRoomSetpoint': 19.0, 'otFtRoomTemperature': 18.75}, 'time': {'ts': 1709115454662, 'tsHuman': '2024-02-28T10:17:34Z'}}
2024-02-28 11:17:48.852 DEBUG (MainThread) [custom_components.quatt] .computedWaterDelta.temperatureWaterOut None
2024-02-28 11:17:48.852 DEBUG (MainThread) [custom_components.quatt] .computedWaterDelta.temperatureWaterIn 23.91
2024-02-28 11:17:48.852 DEBUG (MainThread) [custom_components.quatt] computedHeatPower.computedWaterDelta None
2024-02-28 11:17:48.852 DEBUG (MainThread) [custom_components.quatt] computedHeatPower.flowRate 804.0
2024-02-28 11:17:48.852 DEBUG (MainThread) [custom_components.quatt] computedCop.electicalPower 1023.6
2024-02-28 11:17:48.852 DEBUG (MainThread) [custom_components.quatt] computedCop.computedHeatPower None
2024-02-28 11:17:48.854 DEBUG (MainThread) [custom_components.quatt] hp1.computedDefrost.powerInput 1089.794454
2024-02-28 11:17:48.854 DEBUG (MainThread) [custom_components.quatt] hp1.computedDefrost.powerOutput 4188.177787

Reproduction steps

  1. Quatt installation with one heatpump
  2. Check Home Assistant logfile

Debug logs

-

Diagnostics dump

No response

bertdeelman commented 5 months ago

I’ve got the same issue.

bertdeelman commented 3 months ago

This error message is really annoying. It did not have a hp2. Are we the only ones who have these errors?

Any hints to solve it?

marceldejongnl commented 3 months ago

I also have this error message, I have single Quatt. I haven't found a solution yet

patrickvorgers commented 3 months ago

@marceldejongnl, @bertdeelman I fixed the issue and created a pull-request for the maintainer to merge.

@marcoboers, could you have a look at the pull-request?