Closed maker999 closed 3 years ago
Well, it seems that all the errors are coming from core ESPHome components like binary sensor or captive portal. Can you remove the BLE component from your yaml configuration and see if you are still getting errors.
when I remove the BLE component I get no errors
Ok, can you post the yaml file that you use (without secrets), please? And are you using the latest ESPHome version?
yaml files couldn't be uploaded so I uploaded a text file ble_test.txt
I have tested your file with minor changes with esphome version 2021.10.3 and Espressif platform 3.3.2. It compiled without any issues. For some template switch I had to add "optimistic: true", otherwise the validation of the yaml failed. Can you confirm that you have the latest ESPHome version?
I have the version 2021.9.0 because the latest one doesnt run on windows. Is it possible to use this component with this version?
Yes, it should, but you have to use the previous release 0.4.0, which has the same functionality as the current one.
Have you tried the previous release?
I faced other problems so I had to set everything up from beginning. now with the latest esphome(2021.10.3) it compiles ok.
Sounds good. :-)
Compiling .pioenvs\core_v2\src\esphome\components\binary_sensor\automation.cpp.o Compiling .pioenvs\core_v2\src\esphome\components\binary_sensor\binary_sensor.cpp.o Compiling .pioenvs\core_v2\src\esphome\components\binary_sensor\filter.cpp.o xtensa-esp32-elf-g++: fatal error: no input files compilation terminated. xtensa-esp32-elf-g++: fatal error: no input files compilation terminated. xtensa-esp32-elf-g++: fatal error: no input files compilation terminated. [.pioenvs\core_v2\src\esphome\components\binary_sensor\automation.cpp.o] Error 1 Compiling .pioenvs\core_v2\src\esphome\components\captive_portal\captive_portal.cpp.o [.pioenvs\core_v2\src\esphome\components\binary_sensor\binary_sensor.cpp.o] Error 1 [.pioenvs\core_v2\src\esphome\components\binary_sensor\filter.cpp.o] Error 1 xtensa-esp32-elf-g++: fatal error: no input files compilation terminated. [.pioenvs\core_v2\src\esphome\components\captive_portal\captive_portal.cpp.o] Error 1