dmitry-cherkas / esphome-danfoss-eco

Extend Danfoss Eco eTRV BLE range over WiFi with ESPHome.
MIT License
21 stars 11 forks source link

Trying to compile/install issues an error #2

Closed bipsendk closed 2 years ago

bipsendk commented 2 years ago

Trying to compile issues this error:

Compiling /data/thermostat-sleepingroom/.pioenvs/thermostat-sleepingroom/src/esphome/components/danfoss_eco/device.cpp.o In file included from src/esphome/components/danfoss_eco/helpers.h:3:0, from src/esphome/components/danfoss_eco/device.h:8, from src/esphome/components/danfoss_eco/device.cpp:1: src/esphome/components/danfoss_eco/xxtea.h:3:23: fatal error: xxtea-lib.h: No such file or directory


drzero42 commented 2 years ago

@bipsendk I'm also seeing this error. Did you find a way to fix it?

drzero42 commented 2 years ago

Okay, nevermind, I found the solution. For future seekers: Add the needed libraries like this:

esphome:
  libraries:
    - xxtea-iot-crypt@2.0.1