This is my take on an esp32 based voice assistant for home assistant. Most of the code is from the m5stack echo firmware. Wiring guide: