esphome-esp-now
esphome-esp-now copied to clipboard
Cannot build on ESP32-s3 and RGBCT light
Hi,
I get this error for hub on esp32-c3 when I try to build, so maybe only the base esp32 is supported?
Compiling /data/eh-switch-m5-shop/.pioenvs/eh-switch-m5-shop/app_trace/app_trace_util.o
In file included from src/main.cpp:69:
src/MeshRC.h:10:10: fatal error: WiFi.h: No such file or directory
**************************************************************
* Looking for WiFi.h dependency? Check our library registry!
*
* CLI > platformio lib search "header:WiFi.h"
* Web > https://registry.platformio.org/search?q=header:WiFi.h
*
**************************************************************
#include <WiFi.h>
^~~~~~~~
compilation terminated.
*** [/data/eh-switch-m5-shop/.pioenvs/eh-switch-m5-shop/src/main.o] Error 1
========================= [FAILED] Took 189.73 seconds =========================
i have tried only this
esphome:
name: $hostname
comment: $comment
includes:
- lib/MeshRC.h
- lib/esp_now_light.h
libraries:
- WiFi
to resolve, but no luck.
Also I think on light side esp32 is not supported at all, right? (and my light is not even base esp32, but esp32-s3 so I guess it is even worse in chances of getting esp-now to work)
Update:
I also noticed I do build for esp-idf so I will do more testing with arduino framework build etc.
esp32:
board: esp32dev
framework:
type: esp-idf
Update2: on arduino framework it does build