| 18 Feb 2025 |
@hexa:lossy.network | when starting the wizard | 15:59:15 |
@hexa:lossy.network | do you hear that? | 15:59:16 |
oddlama | nope | 15:59:21 |
oddlama | it never plays a sound except when I reset the device, but that file is probably saved locally | 15:59:37 |
@hexa:lossy.network | yup | 15:59:47 |
oddlama | I even have two PE devices with the same issue, so I can probably rule out hardware issues | 16:00:19 |
@hexa:lossy.network | so next step would be connecting to the console of the voice pe | 16:00:22 |
oddlama | Did that in the web console when updating the firmware | 16:00:37 |
oddlama | but there are no debug logs at all | 16:00:42 |
oddlama | just some wifi connection stuff and generic things | 16:00:53 |
oddlama | Maybe I can recompile the firmware with some added debug prints | 16:01:31 |
oddlama | But I'm not sure how it is supposed to be compiled | 16:01:50 |
@hexa:lossy.network | isn't it just an esphome build? | 16:02:15 |
@hexa:lossy.network | check their CI | 16:02:24 |
oddlama | A good call | 16:02:40 |
oddlama | * Ah good call | 16:02:43 |
oddlama | I only knew about single yaml file esphome builds until today | 16:03:01 |
oddlama | they seem to add some custom components | 16:03:07 |
oddlama | Okay seems pretty simple | 16:15:09 |
oddlama | I'll let the compile running for now and see where I can get some debugging in | 16:15:35 |
oddlama | Hmm | 17:06:48 |
oddlama | [18:05:25][D][main:1644]: XXX on_tts_start
[18:05:25][D][light:036]: 'voice_assistant_leds' Setting:
[18:05:25][D][light:051]: Brightness: 66%
[18:05:25][D][light:109]: Effect: 'Replying'
[18:05:25][D][main:1644]: XXX on_tts_end
[18:05:25][D][media_player:080]: 'Media Player' - Setting
[18:05:25][D][media_player:087]: Media URL: https://home.my.domain/api/esphome/ffmpeg_proxy/6b5d67d3a0931ee401f33c2fe15fb882/al2smrp_JoH9Y6RPRENfhw.flac
[18:05:25][D][media_player:093]: Announcement: yes
[18:05:25][D][voice_assistant:515]: State changed from IDLE to STREAMING_RESPONSE
[18:05:25][D][voice_assistant:522]: Desired state set to STREAMING_RESPONSE
[18:05:25][D][main:1649]: XXX on_end_start
[18:05:25][D][ring_buffer:034]: Created ring buffer with size 48000
[18:05:25][D][ring_buffer:034]: Created ring buffer with size 48000
[18:05:25][D][ring_buffer:034]: Created ring buffer with size 65536
[18:05:25][D][ring_buffer:034]: Created ring buffer with size 65536
[18:05:26][D][esp-idf:000][ann_read]: I (69353) esp-x509-crt-bundle: Certificate validated
[18:05:26]
[18:05:27][D][nabu_media_player.pipeline:173]: Reading FLAC file type
[18:05:27][D][voice_assistant:515]: State changed from STREAMING_RESPONSE to IDLE
[18:05:27][D][voice_assistant:522]: Desired state set to IDLE
[18:05:27][D][light:036]: 'voice_assistant_leds' Setting:
[18:05:27][D][light:051]: Brightness: 66%
[18:05:27][D][light:109]: Effect: 'Muted or Silent'
[18:05:27][D][main:1672]: XXX on_end_end
| 17:06:58 |
oddlama | looks like everything went fine, it read the flac | 17:07:24 |
oddlama | but apparently playing it took 0 seconds | 17:08:10 |
oddlama | Wait this doesn't look fine | 17:19:21 |
oddlama | does it never get to the decoder stage? | 17:19:32 |
oddlama | maybe the flac file is empty | 17:19:41 |
oddlama | content length header is 0 | 18:41:08 |
oddlama | 🤔 | 18:41:12 |
oddlama | Let's check whether this file is also 0 bytes in size when I curl it | 19:22:42 |