Closed middelink closed 4 years ago
Addendum: going back to platformio-4.1.0 it compiles again, but I noticed the dependencies changes as well:
$ esphome ble_tracker_042a30.yaml compile
INFO Reading configuration ble_tracker_042a30.yaml...
INFO Generating C++ source...
INFO Compiling app...
INFO Running: platformio run -d .build
**************************************************************************************************************************************************************
Obsolete PIO Core v4.1.0 is used (previous was 4.2.0)
Please remove multiple PIO Cores from a system:
https://docs.platformio.org/page/faq.html#multiple-pio-cores-in-a-system
**************************************************************************************************************************************************************
Processing ble_tracker_042a30 (board: nodemcu-32s; framework: arduino; platform: espressif32)
--------------------------------------------------------------------------------------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
Dependency Graph
|-- <AsyncTCP-esphome> 1.1.1
|-- <ESPmDNS> 1.0
| |-- <WiFi> 1.0
|-- <AsyncMqttClient-esphome> 0.8.4
| |-- <AsyncTCP-esphome> 1.1.1
|-- <ArduinoJson-esphomelib> 5.13.3
|-- <Update> 1.0
|-- <WiFi> 1.0
Compiling .pioenvs/ble_tracker_042a30/src/main.cpp.o
Linking .pioenvs/ble_tracker_042a30/firmware.elf
Retrieving maximum program size .pioenvs/ble_tracker_042a30/firmware.elf
Checking size .pioenvs/ble_tracker_042a30/firmware.elf
Building .pioenvs/ble_tracker_042a30/firmware.bin
DATA: [== ] 18.6% (used 60812 bytes from 327680 bytes)
PROGRAM: [========= ] 88.7% (used 1452710 bytes from 1638400 bytes)
================================================================ [SUCCESS] Took 10.75 seconds ================================================================
INFO Successfully compiled program.
Dependency Graph
|-- <AsyncTCP-esphome> 1.1.1
|-- <ESPmDNS> 1.0
| |-- <WiFi> 1.0
|-- <AsyncMqttClient-esphome> 0.8.4
| |-- <ESPAsyncTCP-esphome> 1.2.2
| |-- <AsyncTCP-esphome> 1.1.1
|-- <ArduinoJson-esphomelib> 5.13.3
|-- <Update> 1.0
|-- <WiFi> 1.0
vs
Dependency Graph
|-- <AsyncTCP-esphome> 1.1.1
|-- <ESPmDNS> 1.0
| |-- <WiFi> 1.0
|-- <AsyncMqttClient-esphome> 0.8.4
| |-- <AsyncTCP-esphome> 1.1.1
|-- <ArduinoJson-esphomelib> 5.13.3
|-- <Update> 1.0
|-- <WiFi> 1.0
Note the extra <ESPAsyncTCP-esphome> 1.2.2
when using 4.2.0?
you shouldn't edit that file and then comply it does not work, it should work as is, thus you cannot upgrade platformio and expect it to work, it's like an art to have it working finding all versions matching, etc.
I mean, if the requirements specifies a version, it means it should work with that version, otherwise I don't understand the issue here
Right. And from your words I can conclude you are not interested in other people helping? Never mind then, I'll wait till you discover platformio 4.2.0 is out yourself and run into the same problems.
Operating environment/Installation (Hass.io/Docker/pip/etc.):
native linux, venv
This is an esphome-1.15.0.dev0 instance with
esphome.egg-info/requires.txt
edited to "platformio==4.2.0" to make it even start compiling.ESP (ESP32/ESP8266, Board/Sonoff):
esp32
Affected component:
ble_tracker, but I don't think thats relevant.
Description of problem:
Problem-relevant YAML-configuration entries:
Logs (if applicable):
Additional information and things you've tried: