OTOH if you do want to use the ESP32, I find using AI assistance is great to help translate codebases/programs/apps across languages/usecases (or outright generate it).
While I am sure nothing is more optimized and battery conserving than C code hallucinated by an LLM, I really prefer writing my code my self when I work with my personal projects