Thank you very much for your post.
So far, I have implemented my projects with Tasmota/Berry.
My first ESPHome project (a BLE gateway with UI) was not feasible under Tasmota due to insufficient resources (RAM), and even without a UI it was already relatively unstable (low heap).
Until about a year ago, I had ruled out ESPHome for this because the learning curve for C++ and the ESPHome API felt far too steep.
ESPHome + Codex (AI) should now get the chance to crack this tough nut.
Since February, I have been working with ESPHome in the role of software architect, not programmer. I only have basic knowledge of C++ and HTML/JavaScript.
I understand the core concepts of each component and can follow the code.
Codex is integrated in VS Code and handles:
- code generation, compilation, SPA generation, upload, log checks, crash analysis
Many functions are covered by automated tests:
- local unit tests
- E2E integration tests (REST API)
- UI tests with simulated end devices
Regarding your questions:
"…but how did you specify it and easy would it be to do that automatically "
If by automate you mean not having to write code yourself, then the answer is yes.
You need to learn how to work with this new AI tool.
Information provided to AI:
- foundational: description of existing components + definition of rules
- specific: description of a new page with concrete features
“I would be very interested in your solution once you share it in a way that others can replicate.”
As soon as my time allows, I will create a demo project that makes the core concepts clear.
Wouldn’t it make sense to provide more ready-made projects?
- The UI could expose all parameters that need to be adapted.
- Many potential users would not need to work directly with the ESPHome IDE.