boverby / lc709203f

esphome support for lc709203f on ESP32_Bat_Pro
8 stars 11 forks source link

Error When Compiling #3

Closed gfalgiano closed 11 months ago

gfalgiano commented 11 months ago

I get this error when compiling. Any suggestions?

INFO ESPHome 2023.8.2 INFO Reading configuration /config/esphome/esphome-web-bxxxxx.yaml... INFO Generating C++ source... INFO Compiling app... Processing esphome-web-bxxxxx (board: esp32dev; framework: arduino; platform: platformio/espressif32@5.4.0)

HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash

boverby commented 11 months ago

It been a long time since I upgraded esphome. When I recently moved to new machine, I had similar problems. I did notice that several forks have made changes I need to incorporate: example:

see fork by TheLordStyle main...TheLordStyle:lc709203f:main

gfalgiano commented 11 months ago

@boverby i tried a fork that seemed to be the most recently updated, but had the same issue. I’ll try the one you mentioned.

Also, any tips for getting Home Assistant to install an older version of ESPhome? Started searching last night, but haven’t found a straightforward answer yet. Figured that would allow me to run the code from one of the forks from last Nov.

boverby commented 11 months ago

On Tue, Aug 22, 2023 at 16:52 gfalgiano @.***> wrote:

@boverby https://github.com/boverby i tried a fork that seemed to be the most recently updated, but had the same issue. I’ll try the one you mentioned.

Also, any tips for getting Home Assistant to install an older version of ESPhome? Started searching last night, but haven’t found a straightforward answer yet. Figured that would allow me to run the code from one of the forks from last Nov.

— Reply to this email directly, view it on GitHub https://github.com/boverby/lc709203f/issues/3#issuecomment-1688916472, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUCJXJAIVHSXWUDPBRR7GDXWULY5ANCNFSM6AAAAAA3ZOMXJ4 . You are receiving this because you were mentioned.Message ID: @.***>

Sorry, I have never used esphome inside hass, I use cli.

gfalgiano commented 11 months ago

Thanks for the fork suggestion @boverby, that version worked for me!

For those using ESPHome inside HA, you can use the external_components feature to automatically grab the need files from github and compile your firmware. Their docs suggested a certain file/folder structure, so I forked TheLordStyle main...TheLordStyle:lc709203f:main branch and changed the directory structure and it worked like charm.