Integration of heat pump THZ 5.5 eco from tecalor (Stiebel Eltron) into Home Assistant

Did the pull, no error occures in the ESPHome Log.
My helper value doesn’t affect any entity I can see in Home Assistant, do I have to look the values at the THZ itself?

You should be able to see the update in the logs

image

Reboot after new pull neccessary?

Had my log now running for 15 minutes, alot of requesting and recieving but no sending.
Only one part was obvious now:
image

Did you compile + flash again?

1 Like

After checking all relevant files for me i found

in the esp32-poe-technik.yaml

  entity_room_temperature: "sensor.durchschnittstemperatur_haus_ohne_keller"
  entity_humidity: "sensor.durchschnitt_luftfeuchtigkeit_haus"

which ich replaced with my entity and it works well.
So there is no need for me to access and manipulate the common.yaml.

Thanks alot for your great help! :sunglasses:

1 Like

Hi,
as I just connected my THZ 5.5 flex to Home Assistant I want to give some hints to those who also come across this issue.
I bought a WaveShare Module ESP32-S3-RS485-CAN as I did not want to have several boards in my cabinet.
For Installation I did the following steps:
Home Assistant:
→ Add Add-On ESPHome and ESPHome Device Builder
Use ESPHome Device Builder to setup the WaveShare module the first time.
Steps: Add new device, DON’T use recommend settings, choose “ESP32-S3” → “ESP32-S3 16MB QIO, 8MB OPI PSRAM” and then upload the generated .bin file with USB cable connected using the ESPHome Web (https://web.esphome.io/)).
If this is successful, follow the instructions given by kr0ner at GitHub - kr0ner/OneESP32ToRuleThemAll: OpenSource ISG for Stiebel Eltron & Tecalor heat pumps
You need SSH access to clone the files, so use the HomeAssistant Add-On “SSH and Web Terminal” (this AddOn needs also some configuration, at least put in username (e.g. “root” and a password).
In the Web Terminal put in

cd homeassistant
cd esphome
git clone https://github.com/kr0ner/OneESP32ToRuleThemAll.git

Then go back to ESPHome Device Builder and edit the file that was created when setting up the ESP32.
My content looks as follows:

esphome:
  name: heizung
  friendly_name: Heizung
  platformio_options:
    build_flags:
      - "-std=gnu++2a"
    build_unflags:
      - "-std=gnu++11"
      - "-fno-rtti"

esp32:
  board: esp32s3_120_16_8-qio_opi
  framework:
    type: esp-idf

# Enable logging
logger:
  level: INFO
  baud_rate: 0
  hardware_uart: UART1

# Enable Home Assistant API
api:
  encryption:
    key: "......."

ota:
  - platform: esphome
    password: "....."

#########################################
#                                       #
#   WiFi Configuration              #
#                                       #
#########################################

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Heizung Fallback Hotspot"
    password: "password"

binary_sensor:
  - platform: gpio
    name: "Heizung IO1"
    pin:
      number: GPIO01
      mode:
        input: true
        pullup: true
    filters:
      - delayed_on_off: 10ms
  - platform: gpio
    name: "Heizung IO2"
    pin:
      number: GPIO02
      mode:
        input: true
        pullup: true
    filters:
      - delayed_on_off: 10ms

time:
  - platform: homeassistant
    id: homeassistant_time

substitutions:
  interval_very_fast: 15s
  interval_fast: 30s
  interval_medium: 60s
  interval_slow: 5min
  interval_very_slow: 15min
  interval_once_in_a_while: 1h

  entity_room_temperature: "sensor.durchschnittstemperatur_haus"
  entity_humidity: "sensor.durchschnittsluftfeuchtigkeit_haus"

canbus:
  - id: !extend wp_can
    platform: esp32_can
    tx_pin: GPIO15
    rx_pin: GPIO16
    can_id: "0x6a2"
    bit_rate: 20kbps

#########################################
#                                       #
#   Buttons                             #
#                                       #
#########################################

button:
  - platform: restart
    name: "Restart ESP32"

#########################################
#                                       #
#   Packages                            #
#                                       #
#########################################

# energymeter: !include OneESP32ToRuleThemAll/yaml/energymeter.yaml
# evu: !include OneESP32ToRuleThemAll/yaml/evu.yaml
# watermeter: !include OneESP32ToRuleThemAll/yaml/watermeter.yaml
# sensors: !include OneESP32ToRuleThemAll/yaml/sensors.yaml
# thz404: !include OneESP32ToRuleThemAll/yaml/thz404.yaml
#  thz504: !include OneESP32ToRuleThemAll/yaml/thz504.yaml
thz55eco: !include OneESP32ToRuleThemAll/yaml/thz5_5_eco.yaml
# ttf07: !include OneESP32ToRuleThemAll/yaml/ttf07.yaml
# wpl13: !include OneESP32ToRuleThemAll/yaml/wpl13.yaml
# kondensatpumpe: !include OneESP32ToRuleThemAll/yaml/kondensatpumpe.yaml

Do not overwrite the sections that are already there from the first setup, so use the keys/passwords that were created and just add the missing sections.
Now use “Install” to upload the code, this should work now via WiFi.

Then connect CAN H / L from the ESP32 module to the heater and connect a power supply (USB or 7-36V). When the connection works you should see the blue light flashing and the variables being updated in Home Assistant.

Thank you very much, especially kr0ner for providing the code!

If anyone knows what values are set when the ISG receives SG-Ready signals (there are four different states possible: Standby, Normal, Higher Temperatures, Maximum), I would be happy to help add them to the code.

Hi all, I have the Tecalor TTF6.6 cool heat pump installed including the ISG module. My goal is to monitor different figures, e.g. wate temperature over a specific time period. In another forum someone told this would be possible with Home Assistant. Therefore, I have just set up homeassistant as a newbie and I really don’t understand how to connect the heat pump with Home Assistant. Is there anyone who could help me?

Hi all, Anyone who could provide me with a tip? Thanks, David