#S3Box3 changing model for wake word using micro_wake_word

1 messages ยท Page 1 of 1 (latest)

burnt shard
#

ok , it depends on how it was installed. i'll create a thread and we can take a look.

steel swift
#

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?

burnt shard
#

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.

steel swift
burnt shard
steel swift
#

right, gotcha

burnt shard
#

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

steel swift
#

guess I need to keep the wifi and api encryption entries from the original shorter yaml?

burnt shard
#

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

steel swift
#

check

burnt shard
#

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
steel swift
#

done

burnt shard
#

and hopefully the last thing should be to remove lines 86 & 87

#

dashboard import

steel swift
#

removed

burnt shard
#

oh and at the top in substitutions change ok_nabu to hey_jarvis

steel swift
#

done

burnt shard
#

that should be everything, iirc ... so you can save and install in the top right. it may take a little while to compile

steel swift
#

here goes nothing

#

thx for your help so far ๐Ÿ™‚

burnt shard
#

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

steel swift
#

'*** [.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?

burnt shard
#

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

steel swift
#

it's compiling ๐Ÿ™‚

burnt shard
#

your lucky to have got one ๐Ÿ™‚ where did you order from ?

steel swift
#

Got it over a year ago from Mouser

#

Compilation failed :/

burnt shard
#

whats the error

steel swift
#

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

burnt shard
#

ok , what are you running HA on ?

steel swift
#

HA Blue

burnt shard
#

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

steel swift
#

hmm, it does have 4GB

#

i'll look into compiling locally

burnt shard
steel swift
#

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'

burnt shard
#

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

steel swift
#

Really? that's so generous

burnt shard
#

no problem at all ๐Ÿ‘ it's just doing it now

#

just sent you the bin in a dm

steel swift
#

it's working! thanks so much