thegroove / esphome-zbbridge

ESPHome custom component and configuration for Sonoff Zigbee Bridge with serial-over-tcp
GNU General Public License v3.0
38 stars 8 forks source link

sonoff_zbbridge.yaml compilation error #14

Open PanMat opened 2 years ago

PanMat commented 2 years ago

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 |-- 1.0 |-- 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


dala318 commented 1 year ago

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.