Closed RPiNut closed 8 months ago
After updating the sensor to - platform: bme280_i2c
I got the following errors:
INFO ESPHome 2024.2.0
INFO Reading configuration /config/d1-mini.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing d1-mini (board: d1_mini; framework: arduino; platform: platformio/espressif8266@3.2.0)
--------------------------------------------------------------------------------
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
Dependency Graph
|-- ESPAsyncTCP-esphome @ 2.0.0
|-- ESPAsyncWebServer-esphome @ 3.1.0
|-- DNSServer @ 1.1.1
|-- ESP8266WiFi @ 1.0
|-- ESP8266mDNS @ 1.2
|-- noise-c @ 0.1.4
|-- Wire @ 1.0
Compiling .pioenvs/d1-mini/src/esphome/components/api/api_connection.cpp.o
Compiling .pioenvs/d1-mini/src/esphome/components/api/api_server.cpp.o
Compiling .pioenvs/d1-mini/src/esphome/components/api/list_entities.cpp.o
Compiling .pioenvs/d1-mini/src/esphome/components/api/proto.cpp.o
Compiling .pioenvs/d1-mini/src/esphome/components/api/subscribe_state.cpp.o
xtensa-lx106-elf-g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
*** [.pioenvs/d1-mini/src/esphome/components/api/api_connection.cpp.o] Error 1
========================== [FAILED] Took 3.54 seconds ==========================
That compile error is caused by running out of RAM.
The problem
After updating ESPHome to the lastest docker image, I would like to update my sensors to the latest version, but there was only one error. The BME280 sensor wouldn't update anymore. I hope there is a configuration edit after the BME280 SPI module is added and I didn't found the diffrence. I did try
- Platform: bme280_i2c
but that made the errors just worse. The last working version was 2023.12.9.The error mentioned:
Which version of ESPHome has the issue?
2024.02.0
What type of installation are you using?
Docker
Which version of Home Assistant has the issue?
2024.2.2, but not related to Home Assistant.
What platform are you using?
ESP8266
Board
D1 Mini
Component causing the issue
sensor.bme280
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
The line 37 of the information above, starts in the configuration at line 36 with
sensor:
After- Platform: bme280
all lines have red underline.