kamaradclimber / heishamon-homeassistant

An integration for heatpumps handled by heishamon
Apache License 2.0
50 stars 25 forks source link

Please add Pump Duty and Demand Control #110

Closed supersjimmie closed 1 year ago

supersjimmie commented 1 year ago

We have some old radiators in our house, which we only need during some times in the winter. To avoid that the water makes too much noise, we need to change Pump Duty a couple of time per season.

Please make it possible to use: panasonic_heat_pump/commands/SetMaxPumpDuty

Also, please make Demand Control available? panasonic_heat_pump/main/SetDemandControl

It can now be done by manual setup (also via heishamon, but manually created in HA) E.g.:

- id: 1264e8eb3ac74d55b1bc5d2bad7ed5c8
  alias: Set pump speed
  trigger:
  - platform: state
    entity_id: input_number.heishamon_pump_speed
  condition: []
  action:
  - delay: '5'
  - service: mqtt.publish
    data_template:
      topic: panasonic_heat_pump/commands/SetMaxPumpDuty
      retain: false
      payload_template: '{{ "%.0f" % (states(''input_number.heishamon_pump_speed'')
        | int) }}'
  mode: single
kamaradclimber commented 1 year ago

Hello @supersjimmie ,

I can add those two tunables of course. However:

Your input would be very valuable here!

geduxas commented 1 year ago

Hello @supersjimmie ,

I can add those two tunables of course. However:

  • I don't really understand what MaxPumpDuty represents so I would be glad to get input (or pull requests) to improve representation of that entity (to have the proper unit for instance)
  • demand control is linked to the optional PCB so it will not be enabled by default. Also since I don't understand what it controls, I don't know what is the mqtt topic to read the current value, it means HA will never know what the current value is (especially after a restart of HA).

Your input would be very valuable here!

MaxPumpDuty, this value are set only from service menu of heatpump. It's represent maximum circulation pump work capacity. So by lowering it it will reduce flow rate..

DemandControl physically controlled from optional PCB, so if you have optional PCB you need to add external hardware to control demand. In heishamon you can emulate optional PCB and imitate it's hardware to set demand.

geduxas commented 1 year ago

And by pump duty, heatpump tries to hold it's delta heat value.. so with max duty you set maximum value for pump.. usually it's not given to control it.. because with wrong setting you can lose efficient.. usually it's lowered in smaller systems to reduce flow noice. And it's set by installer once.. @supersjimmie maybe you could make clear why it's important to have ability to control it?

supersjimmie commented 1 year ago

@geduxas I see this has been closed, but to answer your last pump duty question: I do need to reduce the pump speed (water flow) in my system because the system is partially too old to have a high flow (makes too much noice). Under normal operation the heat delta controls the flow, but it is possible to change the heat pump to maintain a constant flow. That way the flow is no longer managed by heat delta and then the flow is only controlled by this parameter.