Alexwijn / SAT

The Smart Autotune Thermostat (SAT) is a custom component for Home Assistant that works with an OpenTherm Gateway (OTGW).
GNU General Public License v3.0
51 stars 12 forks source link

Control HCC, AGV and ADC as "action" via "call service" in Home Assistant to further optimise the boiler's efficiency #41

Open critictidier opened 5 months ago

critictidier commented 5 months ago

Context

Note: I believe there are already intentions to tackle the MM=0 problem using different approach, so this github issue is here to outline my system and to help drive the development from the user perspective.

Case 1 Due to my boiler's limitations, which doesn't seem to respect MM=0 command. I can't limit the modulation during the CH warm up cycles [unless the warm up is split into chunks of +0.2 C degree increase + current room temperature at a time].

Case 2 My system has a hot water tank and I could use SAT to control it, but without the ability to turn off "Automatic Duty Cycle" and option to lower values for "Heating Curve Coefficient" and "Automatic Gains Value", during DHW call, SAT would work in ON/OFF 15min intervals, as I would be trying to ramp up the DHW temperature slowly to prevent high modulation [see Case 1].

See boiler's real time data here: https://emoncms.org/app/view?name=MyBoilerIdealLogicH24OpenthermSAT&readkey=1d29c637a4817acdf6e6e271850c9026

Edit: 22 April 2024 @ 15:00

Note: Using automations in HA, I managed to instruct SAT to manage both, CH and DHW demand. The results are quite promising. Couple of challenges that might help to perfect future dev of SAT:

  1. Return temperatures are different during DHW due to the fact that Flow Water takes only goes via Hot Water pipe system, and not the Central Heating System.
  2. Currently, when DHW demand is satisfied, the following CH demand call and its request CS was higher, and the boiler firing failed, because the difference between the last Flow Temp and Requested CS were too high.

End of edit.

User Story

As a SAT user, I can control SAT's HCC, AGV and ADC parameters via Home Assistant service calls, so that I can improve boiler's overall efficiency during CH warm up or DHW cycles.

Acceptance Criteria

In Home Assistant > Automation > Action, I can use three new SAT call service actions

Test Scenarios

Case 1 - (central heating)

Prerequisites

Steps to reproduce At 8am, an HA automation requests SAT that:

Expected Results Boiler fires at the minimum setpoint; ADC is off; temperature ramps up for however long the boiler can handle (overprotection value most likely). Then, using another automation, set HCC, AGV and ADC parameters back when target temperature is reached.

Case 2 - (domestic hot water)

Prerequisites

Steps to reproduce When DHW tank temperature goes down below x, an HA automation requests SAT that:

Expected Results Boiler fires at the minimum setpoint; ADC is off; temperature ramps up for however long the boiler can handle (overprotection value most likely) and allows the DHW tank to slowly warm up. Then, using another automation, set HCC, AGV and ADC parameters back when the target temperature is reached.