rsciriano / ESPHome-OpenTherm

Example of how to control an opentherm boiler with esphome
156 stars 43 forks source link

OpenTherm.h: No such file or directory #54

Open tricker1234 opened 1 year ago

tricker1234 commented 1 year ago

Hi group! Had someone an error during instalation?

"In file included from src/main.cpp:51:src/opentherm_component.h:3:10: fatal error: OpenTherm.h: No such file or directory"

I copied 0.5 version to config->esphome-> (there is opentherm.yaml and esphome-opentherm)

Chupaka commented 1 year ago

Hi. OpenTherm.h is external dependency. From opentherm.yaml:

esphome:
  platformio_options:
    lib_deps:
    - ihormelnyk/OpenTherm Library @ 1.1.4

So it's PlatformIO who should provide OpenTherm.h to esphome during compilation...

Any other logs of your compilation process?

tricker1234 commented 1 year ago

Here you have screen from compilation

Error

tricker1234 commented 1 year ago

I have read some topics and found solution: uninstalled ESPhome and installed ESPhome dev version