This project aims to provide all kinds of useful features for your Home Assistant instance using a single ESP32 board.
- SmartMeter readings via optical sensor [https://amzn.eu/d/1a28LBy]
- WaterMeter readings via [https://amzn.eu/d/8Rx0UVJ]
- Controlling a Tecalor THZ 504 (or other Tecalor | Stiebel Eltron heat pumps) via CAN [https://amzn.eu/d/5nJJK3r]
- A working Home Assistant installation [https://www.home-assistant.io/]
- ESPHome AddOn installed [https://www.home-assistant.io/integrations/esphome/]
- navigate to your esphome folder
- clone the repo (git clone https://github.com/kr0ner/OneESP32ToRuleThemAll.git)
- copy or symlink OneESP32ToRuleThemAll/esp32-poe-technik.yaml to your esphome folder
- change board type if needed
- comment out packages you don't want/need
- add Wifi if necessary
- change pins for SPI/CAN if needed
- provide HA entities for temperature and humidity
- Navigate through the menu of the display, mounted to your heat pump
- Try to match the values (e.g. 237) to the values you see in the display (23.7°)
- Use the existing templates to add new sensors
- Add the newly added ids along with their types to property.h
- Guard the newly added ids with e.g. #if defined(THZ_5_5_ECO) ... #endif to express that it was tested with that version once it is confirmed for the others, the guards can be removed
- Add the entities to the respective yaml and use the already existing templates. For config values that can be set, use the wp_number.yaml. For sensors that are updated automatically chose the template that fits best.
- profit
--> Increase the log level and try to find out which CAN identifiers to use. Also check the forum and communciation.h
--> There is no offical description of the IDs available. Everything is somewhat trial-and-error. Also there are many differences between the different heat pumps. Play around with the display and try to find out the correct IDs.
Heavily inspired by this post in HA community forum:
and
https://github.com/bullitt186/ha-stiebel-control
special thanks to @hovhannes85