Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Loads default set of integrations. Do not remove.
- default_config:
- # Text to speech
- tts:
- - platform: google_translate
- mqtt:
- sensor:
- - name: Operame CO2
- state_topic: "operame-54220d"
- value_template: "{{ value_json['value'] }}"
- unique_id: "operame1_co2"
- state_class: "measurement"
- device_class: "carbon_dioxide"
- unit_of_measurement: "ppm"
- expire_after: 1800
- - name: Operame temperature
- state_topic: "operame-54220d/t"
- value_template: "{{ value_json['value'] }}"
- unique_id: "operame1_temp"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- expire_after: 1800
- - name: Operame humidity
- state_topic: "operame-54220d/h"
- value_template: "{{ value_json['value'] }}"
- unique_id: "operame1_hm"
- state_class: "measurement"
- device_class: "humidity"
- unit_of_measurement: "%"
- expire_after: 1800
- - name: Operame2 CO2
- state_topic: "operame-a8110d"
- value_template: "{{ value_json['value'] }}"
- unique_id: "operame2_co2"
- state_class: "measurement"
- device_class: "carbon_dioxide"
- unit_of_measurement: "ppm"
- expire_after: 1800
- - name: Itho WPU Outside Temperature
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Outside temp (°C)'] }}"
- unique_id: "itho_wpu_outside_temp"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho WPU CV Pressure
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['CV pressure (Bar)'] }}"
- unique_id: "itho_wpu_bar"
- state_class: "measurement"
- device_class: "pressure"
- unit_of_measurement: "bar"
- - name: Itho WPU Flow rate (l/h)
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Flow sensor (lt_hr)'] }}"
- unique_id: "itho_wpu_flowrate"
- state_class: "measurement"
- - name: Itho WPU Latest valid source supply temp
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Latest valid source supply temp. (°C)'] }}"
- unique_id: "itho_wpu_validsourcesuppytemp"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho WPU CV Return
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['CV return temp (°C)'] }}"
- unique_id: "itho_wpu_cv_return"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho WPU Status
- state_topic: "ithowpu/ithostatus"
- value_template: >
- {% set st = value_json.Status| int %}
- {% if st == 0 %}
- Init
- {% elif st == 1 %}
- Off
- {% elif st == 2 %}
- CV
- {% elif st == 3 %}
- Boiler
- {% elif st == 4 %}
- Cooling
- {% elif st == 5 %}
- Venting
- {% endif %}
- unique_id: "itho_wpu_status"
- - name: Itho WPU Sub_status
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Sub_status'] }}"
- unique_id: "itho_wpu_sub_status"
- state_class: "measurement"
- - name: Itho WPU Boiler temp up
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Boiler temp up (°C)'] }}"
- unique_id: "itho_wpu_boiler_temp_up"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho WPU Boiler temp down
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Boiler temp down (°C)'] }}"
- unique_id: "itho_wpu_boiler_temp_down"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho WPU Compressor evaporator temp T4
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Evaporator temp (°C)'] }}"
- unique_id: "itho_wpu_compressor_evaporator_T4"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho WPU Compressor suction gas temp T5
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Suction gas temp (°C)'] }}"
- unique_id: "itho_wpu_compressor_suctiongas_T5"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho WPU Compressor compressed gas temp T6
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Compressed gas temp (°C)'] }}"
- unique_id: "itho_wpu_compressor_compressedgas_T4"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho WPU Compressor liquid temp T7
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Liquid temp (°C)'] }}"
- unique_id: "itho_wpu_compressor_liquid_T7"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho WPU CV Supply
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['CV supply temp (°C)'] }}"
- unique_id: "itho_wpu_cv_supply"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho WPU Requested temp
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Requested room temp (°C)'] }}"
- unique_id: "itho_wpu_cv_req_temp"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho WPU Temp from source
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Temp from source (°C)'] }}"
- unique_id: "itho_wpu_temp_from_source"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho WPU Temp to source
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Temp to source (°C)'] }}"
- unique_id: "itho_wpu_temp_to_source"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho WPU delta source temp
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Correction measurement delta source temperature (K)'] }}"
- unique_id: "itho_wpu_delta_source_temp"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "K"
- - name: Itho WPU PI error sourceflow
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Pi error sourceflow'] }}"
- unique_id: "itho_wpu_pi_error_sourceflow"
- state_class: "measurement"
- - name: Itho Compressor current (A)
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Compressor current (A)'] }}"
- unique_id: "itho_wpu_compressor_current"
- state_class: "measurement"
- device_class: "current"
- unit_of_measurement: "A"
- - name: Itho Free cooling valve (%)
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Free cooling valve (%)'] }}"
- unique_id: "itho_wpu_free_cooling_valve"
- state_class: "measurement"
- - name: Itho CV_DHW or cooling temp valve (%)
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['CV_DHW or cooling temp valve (%)'] }}"
- unique_id: "itho_wpu_cv_dw_cooling_temp_valve"
- state_class: "measurement"
- - name: Itho WPU Free cooling block time (min)
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Free cooling block time (min)'] }}"
- unique_id: "itho_wpu_free_cooling_block_time"
- state_class: "measurement"
- device_class: "duration"
- unit_of_measurement: "min"
- - name: Itho WPU Stabilisation waiting time-free cooling (sec.)
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Stabilisation waiting time-free cooling (sec.)'] }}"
- unique_id: "itho_wpu_free_cooling_stabilisation_time"
- state_class: "measurement"
- device_class: "duration"
- unit_of_measurement: "second"
- - name: Itho WPU Cooling temp control valve setpoint (%)
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Cooling temp control valve setpoint (%)'] }}"
- unique_id: "itho_wpu_cooling_temp_control_valve_setp"
- state_class: "measurement"
- - name: Itho WPU Regeneration active
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Regeneration active'] }}"
- unique_id: "itho_wpu_regeneration_active"
- state_class: "measurement"
- - name: Itho Compressor active
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Compressor'] }}"
- unique_id: "itho_wpu_compressor_active"
- - name: Itho Calculated CV condensation temp
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Calculated CV condensation temp (°C)'] }}"
- unique_id: "itho_wpu_calc_cv_condensation_temp"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho WPU Total Power Used
- state_topic: "ithowpu/ithostatus"
- value_template: >
- {% if is_number(value_json['E-consumption during stand-by (kWh)']) %}
- {{ (value_json['E-consumption during stand-by (kWh)']| float + value_json['E-consumption during DHW (kWh)']| float + value_json['E-consumption during heating (kWh)']| float + value_json['E-consumption during cooling (kWh)']| float) | float | round(0) }}
- {% else %}
- None
- {% endif %}
- unique_id: "itho_wpu_total_energy"
- state_class: "total"
- device_class: "energy"
- unit_of_measurement: "kWh"
- - name: Itho WPU Power Used Cooling
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['E-consumption during cooling (kWh)'] }}"
- unique_id: "itho_wpu_cooling_energy"
- state_class: "total"
- device_class: "energy"
- unit_of_measurement: "kWh"
- - name: Itho WPU Power Used Heating
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['E-consumption during heating (kWh)'] }}"
- unique_id: "itho_wpu_heating_energy"
- state_class: "total"
- device_class: "energy"
- unit_of_measurement: "kWh"
- - name: Itho WPU Power Used DHW
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['E-consumption during DHW (kWh)'] }}"
- unique_id: "itho_wpu_dwh_energy"
- state_class: "total"
- device_class: "energy"
- unit_of_measurement: "kWh"
- - name: Itho WPU Power Used Standby
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['E-consumption during stand-by (kWh)'] }}"
- unique_id: "itho_wpu_standby_energy"
- state_class: "total"
- device_class: "energy"
- unit_of_measurement: "kWh"
- - name: Itho WPU Current Room temp
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Room temp (°C)'] }}"
- unique_id: "itho_wpu_roomtemp"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho WPU Heat demand thermostat
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Heat demand thermost. (%)'] }}"
- unique_id: "itho_wpu_heatdemand_spider"
- state_class: "measurement"
- unit_of_measurement: "%"
- - name: Itho WPU Heat demand total
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Heat demand total (%)'] }}"
- unique_id: "itho_wpu_heatdemand_total"
- state_class: "measurement"
- unit_of_measurement: "%"
- - name: Itho WPU CV pump percent
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Cv pump (%)'] }}"
- unique_id: "itho_wpu_cv_pump"
- state_class: "measurement"
- unit_of_measurement: '%'
- - name: Itho WPU Source pump percent
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Well pump (%)'] }}"
- unique_id: "itho_wpu_well_pump"
- state_class: "measurement"
- unit_of_measurement: '%'
- - name: Itho WPU Thermostat mode
- state_topic: "ithowpu/ithostatus"
- value_template: >
- {% if value_json['ECO selected on thermostat'] == 1 %}Eco{% endif %}
- {% if value_json['Comfort selected on thermostat'] == 1 %}Comfort{% endif %}
- {% if value_json['Boiler boost from thermostat'] == 1 %}Boost{% endif %}
- {% if value_json['Venting from thermostat'] == 1 %}Venting{% endif %}
- {% if value_json['Tariff low from thermostat'] == 1 %}Low{% endif %}
- {% if value_json['Boiler blocked from thermostat'] == 1 %}Off{% endif %}
- unique_id: "itho_wpu_thermostat_mode"
- - name: Itho WPU Delay cv start
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Delay cv start (sec)'] }}"
- unique_id: "itho_wpu_delay_cv_start"
- state_class: "measurement"
- unit_of_measurement: 's'
- - name: Itho WPU Delay cv stop
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Delay cv stop (sec)'] }}"
- unique_id: "itho_wpu_delay_cv_stop"
- state_class: "measurement"
- unit_of_measurement: 's'
- - name: Itho WPU Free cooling interval
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Free cooling interval (sec)'] }}"
- unique_id: "itho_wpu_free_cooling_interval"
- state_class: "measurement"
- unit_of_measurement: 's'
- - name: Itho WPU Manual Operation
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Manual operation'] }}"
- unique_id: "itho_wpu_manual_operation"
- - name: Itho WPU Manual Operation Timer
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Manual control (sec)'] }}"
- unique_id: "itho_wpu_manual_operation_timer"
- state_class: "measurement"
- unit_of_measurement: 's'
- - name: Itho WPU Tariff
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Tariff'] }}"
- unique_id: "itho_wpu_tariff"
- - name: Itho WPU Error code
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Fault highest priority'] }}"
- unique_id: "itho_wpu_error_code"
- # AUTOTEMP
- # room 5 slaapkamer
- - name: Itho temperatuur slaapkamer
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Room 5 temp'] }}"
- unique_id: "itho_autotemp_room_5_temp"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho setpoint slaapkamer
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Room 5 setp'] }}"
- unique_id: "itho_autotemp_room_5_setp"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho Power % slaapkamer
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Room 5 power % (%)'] }}"
- unique_id: "itho_autotemp_room_5_powerfactor"
- state_class: "measurement"
- device_class: "power_factor"
- unit_of_measurement: "%"
- - name: Itho Power slaapkamer
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Room 5 power kW (kW)'] }}"
- unique_id: "itho_autotemp_room_5_power"
- state_class: "measurement"
- device_class: "power"
- unit_of_measurement: "kW"
- # room 2 Femke
- - name: Itho temperatuur kamer Femke
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Room 2 temp'] }}"
- unique_id: "itho_autotemp_room_2_temp"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho setpoint kamer Femke
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Room 2 setp'] }}"
- unique_id: "itho_autotemp_room_2_setp"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho Power % kamer Femke
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Room 2 power % (%)'] }}"
- unique_id: "itho_autotemp_room_2_powerfactor"
- state_class: "measurement"
- device_class: "power_factor"
- unit_of_measurement: "%"
- - name: Itho Power kamer Femke
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Room 2 power kW (kW)'] }}"
- unique_id: "itho_autotemp_room_2_power"
- state_class: "measurement"
- device_class: "power"
- unit_of_measurement: "kW"
- # room 3 Nienke
- - name: Itho temperatuur kamer Nienke
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Room 3 temp'] }}"
- unique_id: "itho_autotemp_room_3_temp"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho setpoint kamer Nienke
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Room 3 setp'] }}"
- unique_id: "itho_autotemp_room_3_setp"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho Power % kamer Nienke
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Room 3 power % (%)'] }}"
- unique_id: "itho_autotemp_room_3_powerfactor"
- state_class: "measurement"
- device_class: "power_factor"
- unit_of_measurement: "%"
- - name: Itho Power kamer Nienke
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Room 3 power kW (kW)'] }}"
- unique_id: "itho_autotemp_room_3_power"
- state_class: "measurement"
- device_class: "power"
- unit_of_measurement: "kW"
- # room 4 Werkkamer Tom
- - name: Itho temperatuur werkkamer Tom
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Room 4 temp'] }}"
- unique_id: "itho_autotemp_room_4_temp"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho setpoint werkkamer Tom
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Room 4 setp'] }}"
- unique_id: "itho_autotemp_room_4_setp"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho Power % werkkamer Tom
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Room 4 power % (%)'] }}"
- unique_id: "itho_autotemp_room_4_powerfactor"
- state_class: "measurement"
- unit_of_measurement: "%"
- - name: Itho Power werkkamer Tom
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Room 4 power kW (kW)'] }}"
- unique_id: "itho_autotemp_room_4_power"
- state_class: "measurement"
- device_class: "power"
- unit_of_measurement: "kW"
- # room 6 Werkkamer Renate
- - name: Itho temperatuur werkkamer Renate
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Room 6 temp'] }}"
- unique_id: "itho_autotemp_room_6_temp"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho setpoint werkkamer Renate
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Room 6 setp'] }}"
- unique_id: "itho_autotemp_room_6_setp"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho Power % werkkamer Renate
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Room 6 power % (%)'] }}"
- unique_id: "itho_autotemp_room_6_powerfactor"
- state_class: "measurement"
- unit_of_measurement: "%"
- - name: Itho Power werkkamer Renate
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Room 6 power kW (kW)'] }}"
- unique_id: "itho_autotemp_room_6_power"
- state_class: "measurement"
- device_class: "power"
- unit_of_measurement: "kW"
- # room 1 Woonkamer
- - name: Itho temperatuur Woonkamer
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Room 1 temp'] }}"
- unique_id: "itho_autotemp_room_1_temp"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho setpoint Woonkamer
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Room 1 setp'] }}"
- unique_id: "itho_autotemp_room_1_setp"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- - name: Itho Power % Woonkamer
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Room 1 power % (%)'] }}"
- unique_id: "itho_autotemp_room_1_powerfactor"
- state_class: "measurement"
- device_class: "power_factor"
- unit_of_measurement: "%"
- - name: Itho Power Woonkamer
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Room 1 power kW (kW)'] }}"
- unique_id: "itho_autotemp_room_1_power"
- state_class: "measurement"
- device_class: "power"
- unit_of_measurement: "kW"
- # woonkamer / bgg
- - name: Itho BGG Valve 1
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Distributor 1 valve 1'] }}"
- unique_id: "itho_autotemp_d1_v1"
- state_class: "measurement"
- - name: Itho BGG Valve 2
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Distributor 1 valve 2'] }}"
- unique_id: "itho_autotemp_d1_v2"
- state_class: "measurement"
- - name: Itho BGG Valve 3
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Distributor 1 valve 3'] }}"
- unique_id: "itho_autotemp_d1_v3"
- state_class: "measurement"
- - name: Itho BGG Valve 4
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Distributor 1 valve 4'] }}"
- unique_id: "itho_autotemp_d1_v4"
- state_class: "measurement"
- # verdiepingsverdeler
- - name: Itho D2 Valve 1
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Distributor 2 valve 1'] }}"
- unique_id: "itho_autotemp_d2_v1"
- state_class: "measurement"
- - name: Itho D2 Valve 2
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Distributor 2 valve 2'] }}"
- unique_id: "itho_autotemp_d2_v2"
- state_class: "measurement"
- - name: Itho D2 Valve 3
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Distributor 2 valve 3'] }}"
- unique_id: "itho_autotemp_d2_v3"
- state_class: "measurement"
- - name: Itho D2 Valve 4
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Distributor 2 valve 4'] }}"
- unique_id: "itho_autotemp_d2_v4"
- state_class: "measurement"
- - name: Itho D2 Valve 5
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Distributor 2 valve 5'] }}"
- unique_id: "itho_autotemp_d2_v5"
- state_class: "measurement"
- - name: Itho D2 Valve 6
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Distributor 2 valve 6'] }}"
- unique_id: "itho_autotemp_d2_v6"
- state_class: "measurement"
- - name: Itho D2 Valve 7
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Distributor 2 valve 7'] }}"
- unique_id: "itho_autotemp_d2_v7"
- state_class: "measurement"
- - name: Itho D2 Valve 8
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Distributor 2 valve 8'] }}"
- unique_id: "itho_autotemp_d2_v8"
- state_class: "measurement"
- - name: Itho D2 Valve 9
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Distributor 2 valve 9'] }}"
- unique_id: "itho_autotemp_d2_v9"
- state_class: "measurement"
- - name: Itho Autotemp state
- state_topic: "ithoautotemp/ithostatus"
- value_template: >
- {% if value_json['State off'] == 1 %}Off {% endif %}
- {% if value_json['State cool'] == 1 %}Cooling {% endif %}
- {% if value_json['State heating'] == 1 %}Heating {% endif %}
- {% if value_json['State hand'] == 1 %}Hand {% endif %}
- unique_id: "itho_autotemp_state"
- #
- # Uit installatiehandleiding Autotemp:
- # Opstartfase, Initialiseren, IBS, Bedrijf, Configuratie of
- # Handbediening.
- - name: Itho Autotemp mode
- state_topic: "ithoautotemp/ithostatus"
- value_template: >
- {% set st = value_json.Mode | int %}
- {% if st == 0 %}
- Opstartfase
- {% elif st == 1 %}
- Init
- {% elif st == 2 %}
- IBS
- {% elif st == 3 %}
- Bedrijf
- {% elif st == 4 %}
- Configuratie
- {% elif st == 5 %}
- Handbediening
- {% endif %}
- unique_id: "itho_autotemp_mode"
- - name: Itho Autotemp condition
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Condition'] }}"
- unique_id: "itho_autotemp_condition"
- - name: Itho Autotemp particular
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Particulars'] }}"
- unique_id: "itho_autotemp_particulars"
- - name: Itho Autotemp heat source
- state_topic: "ithoautotemp/ithostatus"
- #value_template: "{{ value_json['Heat source'] }}"
- value_template: >
- {% set st = value_json['Heat source'] | int %}
- {% if st == 0 %}
- Off
- {% elif st == 1 %}
- Cooling
- {% elif st == 2 %}
- CV
- {% elif st == 4 %}
- DHW
- {% elif st == 5 %}
- DHW_Cooling
- {% else %}
- Unknown {{ st }}
- {% endif %}
- unique_id: "itho_autotemp_heat_source"
- - name: Itho Autotemp error
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Error'] }}"
- unique_id: "itho_autotemp_error"
- - name: Itho Autotemp Heat demand
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Desired power (%)'] }}"
- unique_id: "itho_autotemp_desired_power"
- state_class: "measurement"
- unit_of_measurement: "%"
- - name: Itho Autotemp outdoor temp
- state_topic: "ithoautotemp/ithostatus"
- value_template: "{{ value_json['Outdoor temp (°C)'] }}"
- unique_id: "itho_autotemp_outdoor_temp"
- state_class: "measurement"
- device_class: "temperature"
- unit_of_measurement: "°C"
- #
- # WPU Counters
- #
- - name: Itho WPU Counters Energy out of source
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Energy out of source (MWh)'] }}"
- unique_id: "itho_wpu_counters_energy_out_of_source"
- state_class: "measurement"
- unit_of_measurement: 'MWh'
- - name: Itho WPU Counters Energy returned to source
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Energy returned to source (MWh)'] }}"
- unique_id: "itho_wpu_counters_energy_return_to_source"
- state_class: "measurement"
- unit_of_measurement: 'MWh'
- - name: Itho WPU Counters Compressor starts
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Compressor starts'] }}"
- unique_id: "itho_wpu_counters_compressor_starts"
- - name: Itho WPU Counters Compressor on
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Compressor on (h)'] }}"
- unique_id: "itho_wpu_counters_compressor_on"
- state_class: "measurement"
- unit_of_measurement: 'h'
- - name: Itho WPU Counters Total runtime
- state_topic: "ithowpu/ithostatus"
- value_template: "{{ value_json['Total runtime (h)'] }}"
- unique_id: "itho_wpu_counters_total_runtime"
- state_class: "measurement"
- unit_of_measurement: 'h'
- sensor:
- - platform: integration
- name: "Itho WPU Source Energy"
- source: sensor.itho_wpu_source_power
- method: left
- unique_id: "itho_wpu_source_energy"
- unit_prefix: "k"
- unit_time: "h"
- - platform: integration
- name: "ELVICE Smart Plug 16A Energy"
- source: sensor.elvico_smart_plug_16a_power
- unique_id: "elvico_smart_plug_16a_energy_kWh"
- unit_prefix: "k"
- unit_time: "h"
- - platform: integration
- name: "Tuya smart plug 1 Energy"
- source: sensor.tuya_smart_plug_1_power
- method: left
- unique_id: "tuya_smart_plug_1_energy_kWh"
- unit_prefix: "k"
- unit_time: "h"
- - platform: integration
- name: "Tuya smart plug 2 Energy"
- source: sensor.tuya_smart_plug_2_power
- method: left
- unique_id: "tuya_smart_plug_2_energy_kWh"
- unit_prefix: "k"
- unit_time: "h"
- - platform: integration
- name: "Tuya smart plug 3 Energy"
- source: sensor.tuya_smart_plug_3_calibrated_power
- method: left
- unique_id: "tuya_smart_plug_3_energy_kWh"
- unit_prefix: "k"
- unit_time: "h"
- - platform: nordpool
- # Country/region to get the energy prices for.
- region: "NL"
- # Override HA local currency used to fetch the prices from the API.
- currency: "EUR"
- # Add Value Added Taxes (VAT)?
- VAT: False
- # Energy price rounding precision.
- precision: 3
- # Percentage of average price to set the low price attribute
- # low_price = hour_price < average * low_price_cutoff
- low_price_cutoff: 0.95
- # Display price in cents in stead of (for example) Euros.
- price_in_cents: True
- # Price displayed for MWh, kWh or Wh
- price_type: kWh
- # Template to specify additional cost to be added to the tariff.
- # The template price is in EUR, DKK, NOK or SEK (not in cents).
- additional_costs: "{{ current_price * 0.21 + 0.15 | float}}"
- #additional_costs: "{{0.0|float}}"
- #
- # not needed since HA 2022.10?
- #sensor:
- # - platform: dsmr_reader
- template:
- - trigger:
- - platform: state
- entity_id: sensor.itho_compressor_active
- to: '1'
- for:
- minutes: 20
- sensor:
- - name: WPU Bron Temperatuur
- state: "{{ states('sensor.temp_from_source_cleaned') | float }}"
- unit_of_measurement: "°C"
- - sensor:
- - name: "Itho WPU Source Power"
- unit_of_measurement: "W"
- state_class: "measurement"
- device_class: "power"
- state: >
- {% set tempFROMsource = (states('sensor.temp_from_source_cleaned') | float(0)) %}
- {% set tempTOsource = (states('sensor.temp_to_source_cleaned') | float(0)) %}
- {% set delta_temp = (states('sensor.itho_wpu_delta_source_temp') | float) %}
- {% if (tempFROMsource < 19) and (tempTOsource < 20) %}
- {% set tempDiff = tempFROMsource - tempTOsource %}
- {% set literPerSecond = (states('sensor.itho_wpu_flow_rate_l_h') | float) / 3600 %}
- {{ (4186 * tempDiff * literPerSecond) | round() }}
- {% else %}
- 0.
- {% endif %}
- - sensor:
- - name: "Temp from source cleaned"
- unit_of_measurement: "°C"
- state_class: "measurement"
- device_class: "temperature"
- state: >
- {% if is_state('sensor.itho_compressor_active', '1') or is_state('sensor.itho_wpu_status', 'Cooling') %}
- {{ states('sensor.itho_wpu_temp_from_source') | float | round(1) }}
- {% endif %}
- - sensor:
- - name: "Temp to source cleaned"
- unit_of_measurement: "°C"
- state_class: "measurement"
- device_class: "temperature"
- state: >
- {% if is_state('sensor.itho_compressor_active', '1') or is_state('sensor.itho_wpu_status', 'Cooling') %}
- {{ states('sensor.itho_wpu_temp_to_source') | float | round(1) }}
- {% endif %}
- - sensor:
- - name: "WTW heat-exchanger exhaust power"
- unit_of_measurement: "W"
- state_class: "measurement"
- device_class: "power"
- state: >
- {% set tempDiff = (states('sensor.32_134446_exhaust_temperature') | float(0)) - (states('sensor.32_134446_indoor_temperature') | float(0)) %}
- {% set literPerSecond = (states('sensor.32_134446_exhaust_flow') | float) %}
- {{ (1.3 * 0.7 * tempDiff * literPerSecond) | round() }}
- - sensor:
- - name: "WTW heat-exchanger supply power"
- unit_of_measurement: "W"
- state_class: "measurement"
- device_class: "power"
- state: >
- {% set tempDiff = (states('sensor.32_134446_supply_temperature') | float(0)) - (states('sensor.32_134446_outdoor_temperature') | float(0)) %}
- {% set literPerSecond = (states('sensor.32_134446_supply_flow') | float) %}
- {{ (1.3 * 0.7 * tempDiff * literPerSecond) | round() }}
- # COP tov ELVICO power plug
- - sensor:
- - name: "WPU COP"
- unit_of_measurement: ""
- state_class: "measurement"
- device_class: "power"
- state: >
- {% set OutputPower = (states('sensor.itho_wpu_source_power') | float(0)) %}
- {% set InputPower = (states('sensor.elvico_smart_plug_16a_power') | float) %}
- {% set CompressorPower = (states('sensor.elvico_smart_plug_16a_power') | float) %}
- {% if OutputPower > 100 %}
- {{ ((OutputPower + CompressorPower)/InputPower) | float | round(2) }}
- {% elif OutputPower < 0 %}
- {{ (-OutputPower / InputPower) | float | round(1) }}
- {% else %}
- 0.
- {% endif %}
- # Calibrate power of tuya plug 3 by factor 235/251
- # mismeasurement is due to voltage: 251 measured, 235 real voltage
- - sensor:
- - name: "Tuya smart plug 3 calibrated power"
- unit_of_measurement: "W"
- device_class: "power"
- state: >
- {% set factor = (235/251 | float) %}
- {% set cal_power = (states('sensor.tuya_smart_plug_3_power') | float) * factor %}
- {{ cal_power | round(1) }}
- # Compressor power tov Compressor Current * ELVICO power plug voltage
- - sensor:
- - name: "WPU Compressor Power"
- unit_of_measurement: "W"
- state_class: "measurement"
- device_class: "power"
- state: >
- {% set CompressorCurrent = (states('sensor.itho_compressor_current_a') | float(0)) %}
- {% set Voltage = 230 %}
- {{ (CompressorCurrent * Voltage) | float | round(0) }}
- #
- # ELVICO Smart plug 16A
- - sensor:
- - name: "Elvico smart plug 16A Voltage"
- unit_of_measurement: "V"
- device_class: "voltage"
- state: "{{ state_attr('switch.elvico_smart_plug_16a', 'voltage') }}"
- - sensor:
- - name: "Elvico smart plug 16A Current"
- unit_of_measurement: "mA"
- device_class: "current"
- state: "{{ state_attr('switch.elvico_smart_plug_16a', 'current') }}"
- - sensor:
- - name: "Elvico smart plug 16A Power"
- unit_of_measurement: "W"
- device_class: "power"
- state: "{{ state_attr('switch.elvico_smart_plug_16a', 'current_consumption') }}"
- # Tuya smart plug 1 (16a!)
- #
- - sensor:
- - name: "Tuya smart plug 1 Voltage"
- unit_of_measurement: "V"
- device_class: "voltage"
- state: "{{ state_attr('switch.tuya_smart_plug_1', 'voltage') }}"
- - sensor:
- - name: "Tuya smart plug 1 Current"
- unit_of_measurement: "mA"
- device_class: "current"
- state: "{{ state_attr('switch.tuya_smart_plug_1', 'current') }}"
- - sensor:
- - name: "Tuya smart plug 1 Power"
- unit_of_measurement: "W"
- device_class: "power"
- state: "{{ state_attr('switch.tuya_smart_plug_1', 'current_consumption') }}"
- # Tuya smart plug 2 (16a!)
- #
- - sensor:
- - name: "Tuya smart plug 2 Voltage"
- unit_of_measurement: "V"
- device_class: "voltage"
- state: "{{ state_attr('switch.tuya_smart_plug_2', 'voltage') }}"
- - sensor:
- - name: "Tuya smart plug 2 Current"
- unit_of_measurement: "mA"
- device_class: "current"
- state: "{{ state_attr('switch.tuya_smart_plug_2', 'current') }}"
- - sensor:
- - name: "Tuya smart plug 2 Power"
- unit_of_measurement: "W"
- device_class: "power"
- state: "{{ state_attr('switch.tuya_smart_plug_2', 'current_consumption') }}"
- # Tuya smart plug 3 (16a!) voltage is unreliable (>250V (+10%) )
- #
- - sensor:
- - name: "Tuya smart plug 3 Voltage"
- unit_of_measurement: "V"
- device_class: "voltage"
- state: "{{ state_attr('switch.tuya_smart_plug_3', 'voltage') }}"
- - sensor:
- - name: "Tuya smart plug 3 Current"
- unit_of_measurement: "mA"
- device_class: "current"
- state: "{{ state_attr('switch.tuya_smart_plug_3', 'current') }}"
- - sensor:
- - name: "Tuya smart plug 3 Power"
- unit_of_measurement: "W"
- device_class: "power"
- state: "{{ state_attr('switch.tuya_smart_plug_3', 'current_consumption') }}"
- # Tuya smart plug 4 (16a!) VERY UNRELIABLE Voltage sensor 260V !!
- #
- - sensor:
- - name: "Tuya smart plug 4 Voltage"
- unit_of_measurement: "V"
- device_class: "voltage"
- state: "{{ state_attr('switch.tuya_smart_plug_4', 'voltage') }}"
- - sensor:
- - name: "Tuya smart plug 4 Current"
- unit_of_measurement: "mA"
- device_class: "current"
- state: "{{ state_attr('switch.tuya_smart_plug_4', 'current') }}"
- - sensor:
- - name: "Tuya smart plug 4 Power"
- unit_of_measurement: "W"
- device_class: "power"
- state: "{{ state_attr('switch.tuya_smart_plug_4', 'current_consumption') }}"
- binary_sensor:
- - platform: generic_hygrostat
- name: Bathroom Hygrostat
- sensor: sensor.32_134446_indoor_humidity # Source humidity sensor
- delta_trigger: 4 # Optional humidity swing to detect. Default = 3
- target_offset: 3 # Optional dehumidification target offset. Default = 3
- min_on_time: 300 # Optional min on time in seconds. Default = 0 seconds
- max_on_time: 7200 # Optional safety max on time in seconds. Default = 7200 seconds
- sample_interval: 120 # Optional time between taking humidity samples in seconds, default 300 seconds
- min_humidity: 45 # Optional minimum humidity to enable dehumidification. Default = 0
- unique_id: bathroom_hygrostat
- ramses_cc:
- serial_port: /dev/ttyACM0 # SSM-D2
- #serial_port: /dev/serial/by-id/usb-Texas_Instruments_TUSB3410_Boot_Device_TUSB3410-if00-port0
- #serial_port: /dev/ttyUSB2 # docker container does not allow/support udev symlink forwarding
- #serial_port: /dev/ttyUSB.HIG80
- #serial_port: /dev/ttyUSB.nanocul
- orphans_hvac: [32:134446, 29:123456, 32:132403, 37:005302, 37:005608, 37:171685, 29:162275, 18:203011, 02:250708, 37:111111]
- restore_cache: true
- packet_log:
- file_name: packet.log
- rotate_backups: 300
- known_list:
- 32:134446: {class: FAN} # WTW HRC400
- 32:132403: {class: HVC} # zone valve unit
- 37:005302: {class: CO2} # CO2 woonkamer
- 37:005608: {class: CO2} # CO2 slaapkamer
- 37:171685: {class: DIS} # RF15 display
- 02:250704: {class: UFC} # autotemp master beneden
- 02:250708: {class: UFC} # autotemp master BUREN
- 02:250984: {class: UFC} # autotemp slave boven
- 21:033160: {class: THM} # Itho spider livingroom
- 21:043468: {class: THM}
- 21:043352: {class: THM}
- 21:043436: {class: THM}
- 21:043273: {class: THM}
- 18:203011:
- class: HGI
- _note: SSM-D2
- 29:162275: # RF15 switch bathroom
- class: REM
- faked: True # real RF15 but not operational, fake it...
- _note: Orcon 15RF
- commands:
- request31DA: 'RQ --- 29:162275 32:134446 --:------ 31DA 001 00'
- request10D0: 'RQ --- 18:203011 32:134446 --:------ 10D0 001 00' # filter note sender
- low: ' I --- 29:162275 32:134446 --:------ 22F1 003 000107'
- high: ' I --- 29:162275 32:134446 --:------ 22F1 003 000307'
- away: ' I --- 29:162275 32:134446 --:------ 22F1 003 000007'
- medium: ' I --- 29:162275 32:134446 --:------ 22F1 003 000207'
- auto: ' I --- 29:162275 32:134446 --:------ 22F1 003 000407'
- auto2: ' I --- 29:162275 32:134446 --:------ 22F1 003 000507'
- boost: ' I --- 29:162275 32:134446 --:------ 22F1 003 000607'
- disable: ' I --- 29:162275 32:134446 --:------ 22F1 003 000707'
- bypass_open: ' W --- 29:162275 32:134446 --:------ 22F7 003 00C8EF'
- bypass_close: ' W --- 29:162275 32:134446 --:------ 22F7 003 0000EF'
- bypass_auto: ' W --- 29:162275 32:134446 --:------ 22F7 003 00FFEF'
- high_60: ' I --- 29:162275 32:134446 --:------ 22F3 007 00123C03040404'
- med_60: ' I --- 29:162275 32:134446 --:------ 22F3 007 00123C02040404'
- high_30: ' I --- 29:162275 32:134446 --:------ 22F3 007 00121E03040404'
- high_15: ' I --- 29:162275 32:134446 --:------ 22F3 007 00120F03040404'
- reset_filter: ' W --- 29:162275 32:134446 --:------ 10D0 002 00FF'
- 29:123456: # RF15 CO2 Fake
- class: CO2
- faked: True # real RF15 but not operational, fake it...
- _note: Orcon RF15 CO2
- commands:
- high: ' I --- 29:123456 32:134446 --:------ 22F1 003 000307'
- 37:111111: # Fake CO2 REM
- class: REM
- faked: True
- _note: Orcon 15RF CO2
- commands:
- demand_idle: ' I --- 37:005608 32:132403 --:------ 31E0 008 0000000001006400'
- demand_85: ' I --- 37:005608 32:132403 --:------ 31E0 008 0000AA000100AA00'
- scan_interval: 60
- block_list:
- 18:111262: {} # identified as HGI. Neighbours?
- advanced_features:
- message_events: '(I|RP).* 32:134446.* 10D0' # WTW filter
- #message_events: None
- send_packet: true
- ramses_rf:
- enforce_known_list: true
- #enable_eavesdrop: false
- backup:
- logger:
- default: warn # prefer warn over info, avoid debug
- logs:
- asyncio: error
- #homeassistant.core: debug # to see: Event state_changed, or not
- ramses_rf.message: info # MSGs rcvd (excl. RQ/18:), is the one you usually want
- #ramses_rf.dispatcher: info # show packet payloads
- automation: !include automations.yaml
- script: !include scripts.yaml
- scene: !include scenes.yaml
Advertisement
Add Comment
Please, Sign In to add comment