Guest User

Untitled

a guest
Sep 19th, 2024
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 10.28 KB | None | 0 0
  1. # AUTOTEMP
  2.  
  3. # room 5 slaapkamer
  4.     - name: Itho temperatuur slaapkamer
  5.       state_topic: "ithoautotemp/ithostatus"
  6.       value_template: "{{ value_json['Room 5 temp'] }}"
  7.       unique_id: "itho_autotemp_room_5_temp"
  8.       state_class: "measurement"
  9.       device_class: "temperature"
  10.       unit_of_measurement: "°C"
  11.  
  12.     - name: Itho setpoint slaapkamer
  13.       state_topic: "ithoautotemp/ithostatus"
  14.       value_template: "{{ value_json['Room 5 setp'] }}"
  15.       unique_id: "itho_autotemp_room_5_setp"
  16.       state_class: "measurement"
  17.       device_class: "temperature"
  18.       unit_of_measurement: "°C"
  19.  
  20.     - name: Itho Power % slaapkamer
  21.       state_topic: "ithoautotemp/ithostatus"
  22.       value_template: "{{ value_json['Room 5 power % (%)'] }}"
  23.       unique_id: "itho_autotemp_room_5_powerfactor"
  24.       state_class: "measurement"
  25.       device_class: "power_factor"
  26.       unit_of_measurement: "%"
  27.  
  28.     - name: Itho Power slaapkamer
  29.       state_topic: "ithoautotemp/ithostatus"
  30.       value_template: "{{ value_json['Room 5 power kW (kW)'] }}"
  31.       unique_id: "itho_autotemp_room_5_power"
  32.       state_class: "measurement"
  33.       device_class: "power"
  34.       unit_of_measurement: "kW"
  35.  
  36.  
  37. # room 4 Werkkamer CENSORED
  38.     - name: Itho temperatuur werkkamer CENSORED
  39.       state_topic: "ithoautotemp/ithostatus"
  40.       value_template: "{{ value_json['Room 4 temp'] }}"
  41.       unique_id: "itho_autotemp_room_4_temp"
  42.       state_class: "measurement"
  43.       device_class: "temperature"
  44.       unit_of_measurement: "°C"
  45.  
  46.     - name: Itho setpoint werkkamer CENSORED
  47.       state_topic: "ithoautotemp/ithostatus"
  48.       value_template: "{{ value_json['Room 4 setp'] }}"
  49.       unique_id: "itho_autotemp_room_4_setp"
  50.       state_class: "measurement"
  51.       device_class: "temperature"
  52.       unit_of_measurement: "°C"
  53.  
  54.     - name: Itho Power % werkkamer CENSORED
  55.       state_topic: "ithoautotemp/ithostatus"
  56.       value_template: "{{ value_json['Room 4 power % (%)'] }}"
  57.       unique_id: "itho_autotemp_room_4_powerfactor"
  58.       state_class: "measurement"
  59.       unit_of_measurement: "%"
  60.  
  61.     - name: Itho Power werkkamer CENSORED
  62.       state_topic: "ithoautotemp/ithostatus"
  63.       value_template: "{{ value_json['Room 4 power kW (kW)'] }}"
  64.       unique_id: "itho_autotemp_room_4_power"
  65.       state_class: "measurement"
  66.       device_class: "power"
  67.       unit_of_measurement: "kW"
  68.  
  69. # room 6 Werkkamer CENSORED
  70.     - name: Itho temperatuur werkkamer CENSORED
  71.       state_topic: "ithoautotemp/ithostatus"
  72.       value_template: "{{ value_json['Room 6 temp'] }}"
  73.       unique_id: "itho_autotemp_room_6_temp"
  74.       state_class: "measurement"
  75.       device_class: "temperature"
  76.       unit_of_measurement: "°C"
  77.  
  78.     - name: Itho setpoint werkkamer CENSORED
  79.       state_topic: "ithoautotemp/ithostatus"
  80.       value_template: "{{ value_json['Room 6 setp'] }}"
  81.       unique_id: "itho_autotemp_room_6_setp"
  82.       state_class: "measurement"
  83.       device_class: "temperature"
  84.       unit_of_measurement: "°C"
  85.  
  86.     - name: Itho Power % werkkamer CENSORED
  87.       state_topic: "ithoautotemp/ithostatus"
  88.       value_template: "{{ value_json['Room 6 power % (%)'] }}"
  89.       unique_id: "itho_autotemp_room_6_powerfactor"
  90.       state_class: "measurement"
  91.       unit_of_measurement: "%"
  92.  
  93.     - name: Itho Power werkkamer CENSORED
  94.       state_topic: "ithoautotemp/ithostatus"
  95.       value_template: "{{ value_json['Room 6 power kW (kW)'] }}"
  96.       unique_id: "itho_autotemp_room_6_power"
  97.       state_class: "measurement"
  98.       device_class: "power"
  99.       unit_of_measurement: "kW"
  100.  
  101. # room 1 Woonkamer
  102.     - name: Itho temperatuur Woonkamer
  103.       state_topic: "ithoautotemp/ithostatus"
  104.       value_template: "{{ value_json['Room 1 temp'] }}"
  105.       unique_id: "itho_autotemp_room_1_temp"
  106.       state_class: "measurement"
  107.       device_class: "temperature"
  108.       unit_of_measurement: "°C"
  109.  
  110.     - name: Itho setpoint Woonkamer
  111.       state_topic: "ithoautotemp/ithostatus"
  112.       value_template: "{{ value_json['Room 1 setp'] }}"
  113.       unique_id: "itho_autotemp_room_1_setp"
  114.       state_class: "measurement"
  115.       device_class: "temperature"
  116.       unit_of_measurement: "°C"
  117.  
  118.     - name: Itho Power % Woonkamer
  119.       state_topic: "ithoautotemp/ithostatus"
  120.       value_template: "{{ value_json['Room 1 power % (%)'] }}"
  121.       unique_id: "itho_autotemp_room_1_powerfactor"
  122.       state_class: "measurement"
  123.       device_class: "power_factor"
  124.       unit_of_measurement: "%"
  125.  
  126.     - name: Itho Power Woonkamer
  127.       state_topic: "ithoautotemp/ithostatus"
  128.       value_template: "{{ value_json['Room 1 power kW (kW)'] }}"
  129.       unique_id: "itho_autotemp_room_1_power"
  130.       state_class: "measurement"
  131.       device_class: "power"
  132.       unit_of_measurement: "kW"
  133.  
  134. # woonkamer / bgg
  135.     - name: Itho BGG Valve 1
  136.       state_topic: "ithoautotemp/ithostatus"
  137.       value_template: "{{ value_json['Distributor 1 valve 1'] }}"
  138.       unique_id: "itho_autotemp_d1_v1"
  139.       state_class: "measurement"
  140.     - name: Itho BGG Valve 2
  141.       state_topic: "ithoautotemp/ithostatus"
  142.       value_template: "{{ value_json['Distributor 1 valve 2'] }}"
  143.       unique_id: "itho_autotemp_d1_v2"
  144.       state_class: "measurement"
  145.     - name: Itho BGG Valve 3
  146.       state_topic: "ithoautotemp/ithostatus"
  147.       value_template: "{{ value_json['Distributor 1 valve 3'] }}"
  148.       unique_id: "itho_autotemp_d1_v3"
  149.       state_class: "measurement"
  150.     - name: Itho BGG Valve 4
  151.       state_topic: "ithoautotemp/ithostatus"
  152.       value_template: "{{ value_json['Distributor 1 valve 4'] }}"
  153.       unique_id: "itho_autotemp_d1_v4"
  154.       state_class: "measurement"
  155. # verdiepingsverdeler
  156.  
  157.     - name: Itho D2 Valve 1
  158.       state_topic: "ithoautotemp/ithostatus"
  159.       value_template: "{{ value_json['Distributor 2 valve 1'] }}"
  160.       unique_id: "itho_autotemp_d2_v1"
  161.       state_class: "measurement"
  162.  
  163.     - name: Itho D2 Valve 2
  164.       state_topic: "ithoautotemp/ithostatus"
  165.       value_template: "{{ value_json['Distributor 2 valve 2'] }}"
  166.       unique_id: "itho_autotemp_d2_v2"
  167.       state_class: "measurement"
  168.  
  169.     - name: Itho D2 Valve 3
  170.       state_topic: "ithoautotemp/ithostatus"
  171.       value_template: "{{ value_json['Distributor 2 valve 3'] }}"
  172.       unique_id: "itho_autotemp_d2_v3"
  173.       state_class: "measurement"
  174.  
  175.     - name: Itho D2 Valve 4
  176.       state_topic: "ithoautotemp/ithostatus"
  177.       value_template: "{{ value_json['Distributor 2 valve 4'] }}"
  178.       unique_id: "itho_autotemp_d2_v4"
  179.       state_class: "measurement"
  180.  
  181.     - name: Itho D2 Valve 5
  182.       state_topic: "ithoautotemp/ithostatus"
  183.       value_template: "{{ value_json['Distributor 2 valve 5'] }}"
  184.       unique_id: "itho_autotemp_d2_v5"
  185.       state_class: "measurement"
  186.  
  187.     - name: Itho D2 Valve 6
  188.       state_topic: "ithoautotemp/ithostatus"
  189.       value_template: "{{ value_json['Distributor 2 valve 6'] }}"
  190.       unique_id: "itho_autotemp_d2_v6"
  191.       state_class: "measurement"
  192.  
  193.     - name: Itho D2 Valve 7
  194.       state_topic: "ithoautotemp/ithostatus"
  195.       value_template: "{{ value_json['Distributor 2 valve 7'] }}"
  196.       unique_id: "itho_autotemp_d2_v7"
  197.       state_class: "measurement"
  198.  
  199.     - name: Itho D2 Valve 8
  200.       state_topic: "ithoautotemp/ithostatus"
  201.       value_template: "{{ value_json['Distributor 2 valve 8'] }}"
  202.       unique_id: "itho_autotemp_d2_v8"
  203.       state_class: "measurement"
  204.  
  205.     - name: Itho D2 Valve 9
  206.       state_topic: "ithoautotemp/ithostatus"
  207.       value_template: "{{ value_json['Distributor 2 valve 9'] }}"
  208.       unique_id: "itho_autotemp_d2_v9"
  209.       state_class: "measurement"
  210.  
  211.     - name: Itho Autotemp state
  212.       state_topic: "ithoautotemp/ithostatus"
  213.       value_template: >
  214.            {% if value_json['State off']  == 1 %}Off {% endif %}
  215.             {% if value_json['State cool'] == 1 %}Cooling {% endif %}
  216.             {% if value_json['State heating'] == 1 %}Heating {% endif %}
  217.             {% if value_json['State hand'] == 1 %}Hand {% endif %}
  218.       unique_id: "itho_autotemp_state"
  219. #
  220. #  Uit installatiehandleiding Autotemp:
  221. #  Opstartfase, Initialiseren, IBS, Bedrijf, Configuratie of
  222. #  Handbediening.
  223.     - name: Itho Autotemp mode
  224.       state_topic: "ithoautotemp/ithostatus"
  225.       value_template: >
  226.            {% set st = value_json.Mode | int %}
  227.             {% if st == 0 %}
  228.             Opstartfase
  229.             {% elif st == 1 %}
  230.             Init
  231.             {% elif st == 2 %}
  232.             IBS
  233.             {% elif st == 3 %}
  234.             Bedrijf
  235.             {% elif st == 4 %}
  236.             Configuratie
  237.             {% elif st == 5 %}
  238.             Handbediening
  239.             {% endif %}
  240.       unique_id: "itho_autotemp_mode"
  241.  
  242.     - name: Itho Autotemp condition
  243.       state_topic: "ithoautotemp/ithostatus"
  244.       value_template: "{{ value_json['Condition'] }}"
  245.       unique_id: "itho_autotemp_condition"
  246.  
  247.     - name: Itho Autotemp particular
  248.       state_topic: "ithoautotemp/ithostatus"
  249.       value_template: "{{ value_json['Particulars'] }}"
  250.       unique_id: "itho_autotemp_particulars"
  251.  
  252.     - name: Itho Autotemp heat source
  253.       state_topic: "ithoautotemp/ithostatus"
  254.       #value_template: "{{ value_json['Heat source'] }}"
  255.       value_template: >
  256.            {% set st = value_json['Heat source'] | int %}
  257.             {% if st == 0 %}
  258.             Off
  259.             {% elif st == 1 %}
  260.             Cooling
  261.             {% elif st == 2 %}
  262.             CV
  263.             {% elif st == 4 %}
  264.             DHW
  265.             {% elif st == 5 %}
  266.             DHW_Cooling
  267.             {% else %}
  268.             Unknown {{ st }}
  269.             {% endif %}
  270.       unique_id: "itho_autotemp_heat_source"
  271.  
  272.     - name: Itho Autotemp error
  273.       state_topic: "ithoautotemp/ithostatus"
  274.       value_template: "{{ value_json['Error'] }}"
  275.       unique_id: "itho_autotemp_error"
  276.  
  277.     - name: Itho Autotemp Heat demand
  278.       state_topic: "ithoautotemp/ithostatus"
  279.       value_template: "{{ value_json['Desired power (%)'] }}"
  280.       unique_id: "itho_autotemp_desired_power"
  281.       state_class: "measurement"
  282.       unit_of_measurement: "%"
  283.  
  284.     - name: Itho Autotemp outdoor temp
  285.       state_topic: "ithoautotemp/ithostatus"
  286.       value_template: "{{ value_json['Outdoor temp (°C)'] }}"
  287.       unique_id: "itho_autotemp_outdoor_temp"
  288.       state_class: "measurement"
  289.       device_class: "temperature"
  290.       unit_of_measurement: "°C"
Advertisement
Add Comment
Please, Sign In to add comment