Tiffy86

WP Frequenzregelung sanft

Jul 15th, 2026
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.26 KB | Source Code | 0 0
  1. alias: Wärmepumpe Frequenzregelung sanft
  2. description: >-
  3.   Zentrale Weiche: Steuert Aufheizen und Normalbetrieb mit dynamischer
  4.   Ziel-Weiche
  5. triggers:
  6.   - seconds: /30
  7.     trigger: time_pattern
  8.   - trigger: template
  9.     value_template: |-
  10.       {% if is_state('input_boolean.wp_pv_boost', 'on') %}
  11.         {% set boost_temp = states('input_number.wp_pv_boost_temp') | float(45) %}
  12.         {% set ist = states('sensor.vorlauf_stabil') | float(0) %}
  13.         {{ (boost_temp - ist) | abs <= 0.5 }}
  14.       {% else %}
  15.         false
  16.       {% endif %}
  17.     for:
  18.       seconds: 90
  19.     id: boost_landung
  20. actions:
  21.   - variables:
  22.       soll_aktiv: |-
  23.         {% if is_state('input_boolean.wp_pv_boost', 'on') %}
  24.           {{ states('input_number.wp_pv_boost_temp') | float(45) }}
  25.         {% else %}
  26.           {{ states('number.heizkurve') | float(35) }}
  27.         {% endif %}
  28.       ist_raw: "{{ states('sensor.vorlauf_stabil') | float(0) }}"
  29.       at: "{{ states('sensor.outdoor_meter_53_temperatur') | float(0) }}"
  30.       f_vd: "{{ states('sensor.frequenz_vd') | int(0) }}"
  31.   - choose:
  32.       - conditions:
  33.           - condition: or
  34.             conditions:
  35.               - condition: template
  36.                 value_template: >
  37.                  {{ at > 12.0 and ist_raw >= (soll_aktiv - 0.1) and f_vd <= 25
  38.                   }}
  39.               - condition: template
  40.                 value_template: >
  41.                  {{ at <= 12.0 and ist_raw >= (soll_aktiv - 0.1) and f_vd <= 35
  42.                   }}
  43.               - condition: template
  44.                 value_template: |
  45.                  {{ trigger.id == 'boost_landung' }}
  46.         sequence:
  47.           - action: input_boolean.turn_on
  48.             target:
  49.               entity_id: input_boolean.wp_modus_normalbetrieb
  50.           - action: input_boolean.turn_off
  51.             target:
  52.               entity_id: input_boolean.wp_modus_aufheizen
  53.       - conditions:
  54.           - condition: template
  55.             value_template: "{{ ist_raw < (soll_aktiv - 0.5) }}"
  56.         sequence:
  57.           - action: input_boolean.turn_on
  58.             target:
  59.               entity_id: input_boolean.wp_modus_aufheizen
  60.           - action: input_boolean.turn_off
  61.             target:
  62.               entity_id: input_boolean.wp_modus_normalbetrieb
  63.  
Advertisement
Add Comment
Please, Sign In to add comment