ShurikenGitHub / ESPHome-OpenTherm

Example of how to control an opentherm boiler with esphome
0 stars 1 forks source link

espphome not compile #1

Open bigbrother72 opened 2 years ago

bigbrother72 commented 2 years ago

There is error when compiling Выдает ошибку при компилировании

In file included from src/main.cpp:39:0: src/opentherm_component.h: In member function 'virtual void OpenthermComponent::update()': src/opentherm_component.h:110:36: error: 'class OpenTherm' has no member named 'getOutsideTemperature' float outside_temperature = ot.getOutsideTemperature(); ^ src/opentherm_component.h:113:69: error: 'getBoilerTemperature' was not declared in this scope float central_heating_actual_temperature = getBoilerTemperature(); ^ Compiling .pioenvs/opentherm/lib39c/noise-c/crypto/blake2/blake2s.c.o src/opentherm_component.h:157:68: error: 'isFlameOn' was not declared in this scope central_heating_climate->action = is_central_heating_active && isFlameOn ? ClimateAction::CLIMATE_ACTION_HEATING : ClimateAction::CLIMATE_ACTION_OFF;

ShurikenGitHub commented 2 years ago

Sorry, I fixed these issues for my own instance, but i forgot to push them. Let me know if it's fixed for you now.

Извините, я исправил эти проблемы для своего собственного экземпляра, но забыл их нажать. Дайте мне знать, если это исправлено для вас сейчас.