Open catalin2402 opened 1 year ago
MQTT should work now, starting with https://github.com/kuba2k2/libretuya-esphome/commit/65864298a3afcf951d6a5b6329d273b3f40c6457.
I'm running into the same problem with a cb3s board. I'm using the current ESPHome addon in HA and even tried directly listing the library from your linked commit, but it still complains about being unable to find AsyncTCP during compilation.
Do I have to switch to any dev versions of ESP home or bk72xx/libretiny for this to work? (your post is from January, so I hope not)
Configuration yaml: bkwindow1.yaml.txt
Failed compile log: logs_bkwindow1_run.txt
Any advice is greatly appreciated.
@dskw it seems esphome/AsyncTCP-esphome dependency is missing. Adding following lines to config should force it to be downloaded
esphome:
libraries:
- "esphome/AsyncTCP-esphome"
Ahh I tried that before but did not add the esphome prefix/suffix! That works indeed, thank you @olemmela !
MQTT won't compile for BK7231, Can't compile https://github.com/OttoWinter/async-mqtt-client, maybe we should fork it and change
#ifdef ESP32
in https://github.com/OttoWinter/async-mqtt-client/blob/master/src/AsyncMqttClient.hpp