esphome-zbbridge icon indicating copy to clipboard operation
esphome-zbbridge copied to clipboard

sonoff_zbbridge.yaml compilation error

Open PanMat opened this issue 3 years ago • 1 comments

After commenting the binary sensor for serial server the sonoff_zbbridge.yaml validated correctly with out any error but the compilation is throwing another error:

` INFO Reading configuration /config/esphome/sonoff_zbbridge.yaml... INFO Generating C++ source... INFO Compiling app... Processing zigbeebridge (board: esp_wroom_02; framework: arduino; platform: platformio/espressif8266 @ 2.6.3)

HARDWARE: ESP8266 80MHz, 80KB RAM, 2MB Flash Dependency Graph |-- <ESP8266WiFi> 1.0 |-- <ESP8266mDNS> 1.2 Compiling /data/zigbeebridge/.pioenvs/zigbeebridge/src/esphome/components/serial_server/serial_server.cpp.o Compiling /data/zigbeebridge/.pioenvs/zigbeebridge/src/esphome/components/uart/uart_component_esp8266.cpp.o Compiling /data/zigbeebridge/.pioenvs/zigbeebridge/src/esphome/components/uart/uart_component_esp_idf.cpp.o In file included from src/esphome/components/serial_server/serial_server.cpp:21:0: src/esphome/components/serial_server/serial_server.h:33:25: fatal error: ESPAsyncTCP.h: No such file or directory

Compiling /data/zigbeebridge/.pioenvs/zigbeebridge/src/esphome/components/uart/uart_debugger.cpp.o


  • Looking for ESPAsyncTCP.h dependency? Check our library registry!
  • CLI > platformio lib search "header:ESPAsyncTCP.h"
  • Web > https://platformio.org/lib/search?query=header:ESPAsyncTCP.h

#include <ESPAsyncTCP.h> ^ compilation terminated. Compiling /data/zigbeebridge/.pioenvs/zigbeebridge/src/esphome/components/wifi/wifi_component.cpp.o *** [/data/zigbeebridge/.pioenvs/zigbeebridge/src/esphome/components/serial_server/serial_server.cpp.o] Error 1 Compiling /data/zigbeebridge/.pioenvs/zigbeebridge/src/esphome/components/wifi/wifi_component_esp32_arduino.cpp.o ========================== [FAILED] Took 2.84 seconds ========================== `

PanMat avatar Dec 28 '21 01:12 PanMat

I got similar errors compiling the firmware but min was something related to "ReadBytes" function not being found. I ended up using https://github.com/oxan/esphome-stream-server instead of "serial_server" It's working just as well but missing the binary_sensor and the possibillity to set multiple clients.

dala318 avatar Nov 11 '22 14:11 dala318