#S3Box3 changing model for wake word using micro_wake_word
1 messages ยท Page 1 of 1 (latest)
ok , it depends on how it was installed. i'll create a thread and we can take a look.
Within that yaml it imports another yaml from githhub, that does contain the reference to the wake word
do I need to self host that yaml somewhere and change it?
you can add the yaml to the device instead of what you have in there currently, that will give you the ability to easily make changes. there are a few things that you will need to change. but it is fairly simple. Firstly copy the current config and paste it into a text editor of your choosing, so you have a backup.
so just take the contents of https://github.com/esphome/firmware/blob/93ffdcca2790f4d5e60386e4b3262f956ef74d8f/wake-word-voice-assistant/esp32-s3-box-3.yaml and paste it into the text area when editing the device within ESPHome?
then copy and paste the entire code from here https://github.com/esphome/firmware/blob/main/wake-word-voice-assistant/esp32-s3-box-3.yaml and overwrite everything currently in that
right, gotcha
you will need to make a couple of changes, i'm just having a quick look through as that was only added a couple of days ago
guess I need to keep the wifi and api encryption entries from the original shorter yaml?
yes, add those to the new yaml, and also remove the line
name_add_mac_suffix: true
remove the substitutions at the top for name and friendly name
check
change the name and friendly name in the section below , to exactly how they now appear in HA so there should be esp32s3box - 897979 or however it is. and put them here
esphome:
name: ORIGINAL NAME - MUST BE THE SAME AS CURRENT NAME
friendly_name: WHATEVER YOU WANT
done
removed
oh and at the top in substitutions change ok_nabu to hey_jarvis
done
that should be everything, iirc ... so you can save and install in the top right. it may take a little while to compile
you are welcome... fingers are crossed ๐ it gives you the ability now to change things about too, i have customised my pages, and added sensors , and touch etc... when you delve in there is quite a bit you can do with it! I love mine, although it spends half it's life being flashed with other configs for testing
'*** [.pioenvs/esp32-s3-box-fd16c0/src/esphome/components/dashboard_import/dashboard_import.o] Source src/esphome/components/dashboard_import/dashboard_import.cpp' not found, needed by target .pioenvs/esp32-s3-box-fd16c0/src/esphome/components/dashboard_import/dashboard_import.o'.'
need to add back in the dashboard line?
ok , no
if you close the edit screen , then on the device card ... click the 3 dot menu and 'clean build files'
then click install
it's compiling ๐
your lucky to have got one ๐ where did you order from ?
whats the error
Compiling .pioenvs/esp32-s3-box-fd16c0/components/esp-tflite-micro/tensorflow/lite/micro/micro_context.o xtensa-esp32s3-elf-g++: fatal error: Killed signal terminated program cc1plus compilation terminated. *** [.pioenvs/esp32-s3-box-fd16c0/components/esp-tflite-micro/tensorflow/lite/micro/flatbuffer_utils.o] Error 1 xtensa-esp32s3-elf-g++: fatal error: Killed signal terminated program cc1plus compilation terminated. *** [.pioenvs/esp32-s3-box-fd16c0/components/esp-tflite-micro/tensorflow/lite/micro/fake_micro_context.o] Error 1 xtensa-esp32s3-elf-g++: fatal error: Killed signal terminated program cc1plus compilation terminated. *** [.pioenvs/esp32-s3-box-fd16c0/components/esp-tflite-micro/tensorflow/lite/micro/memory_helpers.o] Error 1
ok , what are you running HA on ?
HA Blue
it's quite a memory intensive compile for these.... it looks like not enough ram. you can compile locally using esphome command line on your computer
https://esphome.io/guides/getting_started_command_line.html its quite an easy to do process
I think i'll wait for someone to precompile this stuff. Have esphome running locally, but when trying to run this yaml I get
FileNotFoundError: [Errno 2] No such file or directory: 'hey_jarvis.tflite'
aghh , ok, thats a pain. if you wanted to paste your full config, i don't mind compiling it and then uploading the .bin so you can flash it using web.esphome.io
it's working! thanks so much