dmitry-cherkas / esphome-danfoss-eco

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

Cannot install in esphome #12

Closed Allras82 closed 6 months ago

Allras82 commented 1 year ago

missing "xxtea-lib.h" which is included in danfoss_eco/xxtea.h

src/esphome/components/danfoss_eco/xxtea.h:3:10: fatal error: xxtea-lib.h: No such file or directory

djskrath commented 1 year ago

I am also looking for help. I found something like this 4282D410-F1E1-479F-B79E-0561D2FB2DED

dmitry-cherkas commented 1 year ago

Hi @Allras82, could you please post your yaml config? Seems like you are missing the esphome -> libraries dependency declaration, like:

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

See some examples in the repo:

dmitry-cherkas commented 1 year ago

Hm.. looks like xxtea-iot-crypt is no longer available. I'll see what can be done about it.

dmitry-cherkas commented 1 year ago

Ok, seems I was wrong. I've prepared a new release, v1.1.3 and for me it's building fine on HA 2023.1.7 and ESPHome 2022.12.5. Please give it a try and let me know if you are facing any issues.

RealLord commented 11 months ago

Adding this lines to the esphome config help me to compiling this. `libraries: