esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
294 stars 38 forks source link

Broken builds after commit "Rename esphomelib to esphome-core" #49

Closed marcinkowalczyk closed 5 years ago

marcinkowalczyk commented 5 years ago

Hi,

There is broken builds comming after commit https://github.com/esphome/esphome-core/commit/896a32142fe6c4b7897218d6aa2190620e13c356 "Rename esphomelib to esphome-core"

it fails to resolve

from src/main.cpp:3: .piolibdeps/esphome-core/src/esphome/mqtt/mqtt_client_component.h:12:29: fatal error: AsyncMqttClient.h: No such file or directory

I've checed b31dabb30f6195651f92875df1d27134d0690104 and it works like a charm.

OttoWinter commented 5 years ago

Please include how you use esphome (what esphomeyaml version etc). If you're using esphomelib version dev, you must also upgrade esphomeyaml to dev (the two must be in sync)

Also include config with which to replicate this.

marcinkowalczyk commented 5 years ago

Hi,

root@7bce6681-esphomeyaml-edge:/config/esphomeyaml# esphomeyaml termometry-dol.yaml version
Version: 1.10.0-dev
root@7bce6681-esphomeyaml-edge:/config/esphomeyaml# mcedit termometry-dol.yaml

root@7bce6681-esphomeyaml-edge:/config/esphomeyaml# esphomeyaml termometry-dol.yaml compile
INFO Reading configuration...
INFO Generating C++ source...
INFO Compiling app...
INFO Running:  platformio run -d termometrydol
Processing termometrydol (platform: espressif32@1.6.0; framework: arduino; board: nodemcu-32s)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/nodemcu-32s.html
PLATFORM: Espressif 32 > NodeMCU-32S
HARDWARE: ESP32 240MHz 320KB RAM (4MB Flash)
DEBUG: CURRENT(esp-prog) EXTERNAL(esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF MODES: FINDER(chain) COMPATIBILITY(soft)
Collected 27 compatible libraries
Scanning dependencies...
Error: Could not find `AsyncMqttClient` dependency for `esphomelib` library
================================================================================================================================================= [ERROR] Took 3.10 seconds =================================================================================================================================================
root@7bce6681-esphomeyaml-edge:/config/esphomeyaml# pip2  list | grep esphomeyaml
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
esphomeyaml (1.10.0.dev0)
root@7bce6681-esphomeyaml-edge:/config/esphomeyaml#

config is simple:

esphomeyaml:
  name: termometrydol
  platform: ESP32
  board: nodemcu-32s
  esphomelib_version: 1.10.0

wifi:
  ssid: 'SAGEM_6230_IoT'
  password: '7E7CFD66'

logger:
  level: DEBUG

api:

ota:

esp32_ble_tracker:
OttoWinter commented 5 years ago

If you're using esphomelib version dev, you must also upgrade esphomeyaml to dev (the two must be in sync)

Please install the latest esphomeyaml dev. (the one you're using is not the latest; also the esphomeyaml command has changed to esphome)

marcinkowalczyk commented 5 years ago

Hi,

Seems it compiles now - but this mean, that hass.io docker images needs to be updated

OttoWinter commented 5 years ago

The Hass.io image has also been updated (rebuild -edge image). For the stable and beta versions that will go out with the next release, but those are also not affected by this (because they pin the esphomelib version)