You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let me start off by saying that I do not claim to be an expert of any sort with this stuff. I'm really good at researching and making copy/paste Frankenstein monsters.
I'm trying to incorporate the ADF Pipeline and Media Player (m5stack-atom-echo-adf.yaml) into my existing Atom Echo config, which is based on the examples from ESPHome's Wake Word Voice Assistants repo. My own updated configuration that I'm trying to deploy is below.
The config I've written validates ok, and starts the compile/deploy process. After about 4 minutes, I get an error that I can't find good information on and that I do not understand. I'm hoping someone here can help me identify and resolve the issue.
I'm trying to add the media player component to my existing config so I can keep all the latest updates from ESPHome's sample config (microWakeWord and timers) and have the media player for TTS notifications.
One other thing I'll note. The config that's failing has the esp_adf component commented out. I ran into earlier issues that were resolved by doing this, and I assumed it would be ok since the samples here do not include that component in the config.
I think I found the issue. After clearing build files and trying again, I get the following. The message is pretty clear, just not quite sure off the top of my head how to adjust.
/config/esphome/office-voice-assist-b83ea8.yaml: In lambda function:
/config/esphome/office-voice-assist-b83ea8.yaml:215:25: error: 'class esphome::esp_adf::ADFMediaPlayer' has no member named 'play'
- delay: 1s
The error is from this block, where it's trying to play the "timer finished" audio file.
Looking at the adf_media_player component file, it looks like there's a ADFMediaPlayer::set_stream_uri function that takes a URL parameter. I wonder if I can use that, instead.
Let me start off by saying that I do not claim to be an expert of any sort with this stuff. I'm really good at researching and making copy/paste Frankenstein monsters.
I'm trying to incorporate the ADF Pipeline and Media Player (m5stack-atom-echo-adf.yaml) into my existing Atom Echo config, which is based on the examples from ESPHome's Wake Word Voice Assistants repo. My own updated configuration that I'm trying to deploy is below.
The config I've written validates ok, and starts the compile/deploy process. After about 4 minutes, I get an error that I can't find good information on and that I do not understand. I'm hoping someone here can help me identify and resolve the issue.
I'm trying to add the media player component to my existing config so I can keep all the latest updates from ESPHome's sample config (microWakeWord and timers) and have the media player for TTS notifications.
One other thing I'll note. The config that's failing has the
esp_adf
component commented out. I ran into earlier issues that were resolved by doing this, and I assumed it would be ok since the samples here do not include that component in the config.Error First
My Config
Where config from the atom echo adf example replaced current config, I added line comments so I could easily compare in place.
The text was updated successfully, but these errors were encountered: