tetele / onju-voice-satellite

An ESPHome config for the Onju Voice which makes it a Home Assistant voice satellite
MIT License
86 stars 15 forks source link

version remains at ESPHome 2024.2.0 after recompiling and updating #53

Closed rosscullen closed 2 months ago

rosscullen commented 2 months ago

Flavor

OpenWakeWord or no wake word

Checklist

Describe the issue

Hi there, using latest version of HA and ESPHome.

After recompiling and updaeding again, version remains at ESPHome 2024.2.0 and prompting me to update (even though i did). Using config on onju-voice-microwakeword.yaml (except for different hostname and WiFi settings). Any suggestiions of what silly step i'm missing would be greatly appreciated. Thanks

Reproduction steps

  1. Tried updating using the update option in ESPHome
  2. Tried manual download and uploading
  3. rebooted everything ...

Debug logs

Logs onju-voice-1.yaml
INFO ESPHome 2024.5.5
INFO Reading configuration /config/esphome/onju-voice-1.yaml...
INFO Starting log output from 192.168.9.15 using esphome API
INFO Successfully connected to onju-voice-1 @ 192.168.9.15 in 0.007s
INFO Successful handshake with onju-voice-1 @ 192.168.9.15 in 0.059s
[00:20:56][I][app:102]: ESPHome version 2024.2.0 compiled on Feb 25 2024, 12:33:07
[00:20:56][C][wifi:577]: WiFi:
tetele commented 2 months ago

That means that the compile/upload has failed. Post-boot logs don't say anything about the cause.

Go to the Onju device and select Install > Wirelessly and look at the compilation log. The issue should be listed there. If the compilation fails, in the ESPHome dashboard click the 3 dot menu on the Onju device and select "Clean build files", then try another reinstall.

Again, without an error message, there's no way to tell what went wrong.

rosscullen commented 2 months ago

Thanks for reply @tetele. I did a "Clean build files" and recompiled... but no success unfortunetely.

Below is a copy of the full logs. Would appreciate if you or group could review and suggest potential fixes (thanks):

`INFO ESPHome 2024.5.5 INFO Reading configuration /config/esphome/onju-voice-1.yaml... INFO Generating C++ source... INFO Updating https://github.com/espressif/esp-adf.git@v2.5 INFO Updating submodules (components/esp-adf-libs, components/esp-sr) for https://github.com/espressif/esp-adf.git@v2.5 INFO Updating https://github.com/espressif/esp-tflite-micro@None INFO Compiling app... Processing onju-voice-1 (board: esp32-s3-devkitc-1; framework: espidf; platform: platformio/espressif32@5.4.0)

Library Manager: Installing esphome/Improv @ 1.2.3 INFO Installing esphome/Improv @ 1.2.3 Unpacking [####################################] 100% Library Manager: Improv@1.2.3 has been installed! INFO Improv@1.2.3 has been installed! Library Manager: Installing esphome/noise-c @ 0.1.4 INFO Installing esphome/noise-c @ 0.1.4 Unpacking [####################################] 100% Library Manager: noise-c@0.1.4 has been installed! INFO noise-c@0.1.4 has been installed! Library Manager: Resolving dependencies... INFO Resolving dependencies... Library Manager: Installing esphome/libsodium @ 1.10018.1 INFO Installing esphome/libsodium @ 1.10018.1 Unpacking [####################################] 100% Library Manager: libsodium@1.10018.1 has been installed! INFO libsodium@1.10018.1 has been installed! /data/cache/platformio/packages/framework-espidf Already Patched: yes HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash

INFO Upload took 12.47 seconds, waiting for result... INFO OTA successful INFO Successfully uploaded program. INFO Starting log output from redacted using esphome API INFO Successfully connected to onju-voice-1 @ redacted in 35.980s INFO Successful handshake with onju-voice-1 @ redacted in 0.061s [23:13:34][I][app:102]: ESPHome version 2024.2.0 compiled on Feb 25 2024, 12:33:07

[23:13:34][C][wifi:409]: Local MAC: redacted [23:13:34][C][wifi:414]: SSID: [redacted] [23:13:34][C][wifi:415]: IP Address: redacted [23:13:34][C][wifi:417]: BSSID: [redacted]

[23:13:34][C][wifi:420]: Signal strength: -76 dB ▂▄▆█ [23:13:34][C][wifi:424]: Channel: 11 [23:13:34][C][wifi:425]: Subnet: 255.255.255.0 [23:13:34][C][wifi:426]: Gateway: redacted [23:13:34][C][wifi:427]: DNS1: redacted [23:13:34][C][wifi:428]: DNS2: 0.0.0.0

[23:13:34][C][logger:448]: Level: DEBUG [23:13:34][C][logger:449]: Log Baud Rate: 115200 [23:13:34][C][logger:451]: Hardware UART: USB_CDC [23:13:34][C][template.number:050]: Template Number 'Touch threshold percentage' [23:13:34][C][template.number:051]: Optimistic: YES [23:13:34][C][template.number:052]: Update Interval: never [23:13:34][C][esp32_rmt_led_strip:175]: ESP32 RMT LED Strip: [23:13:34][C][esp32_rmt_led_strip:176]: Pin: 11 [23:13:34][C][esp32_rmt_led_strip:177]: Channel: 0 [23:13:34][C][esp32_rmt_led_strip:202]: RGB Order: GRB [23:13:34][C][esp32_rmt_led_strip:203]: Max refresh rate: 0 [23:13:34][C][esp32_rmt_led_strip:204]: Number of LEDs: 6 [23:13:34][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'Disable wake word' [23:13:34][C][gpio.binary_sensor:016]: Pin: GPIO38

[23:13:34][C][light:105]: Default Transition Length: 0.0s [23:13:34][C][light:106]: Gamma Correct: 2.80

[23:13:34][C][light:105]: Default Transition Length: 0.1s [23:13:34][C][light:106]: Gamma Correct: 2.80

[23:13:34][C][light:105]: Default Transition Length: 0.1s [23:13:34][C][light:106]: Gamma Correct: 2.80

[23:13:34][C][light:105]: Default Transition Length: 0.1s [23:13:34][C][light:106]: Gamma Correct: 2.80 [23:13:34][C][template.switch:068]: Template Switch 'Use Wake Word' [23:13:34][C][template.switch:091]: Restore Mode: restore defaults to ON [23:13:34][C][template.switch:057]: Optimistic: YES [23:13:34][C][esp32_touch:073]: Config for ESP32 Touch Hub: [23:13:34][C][esp32_touch:074]: Meas cycle: 0.80ms [23:13:34][C][esp32_touch:075]: Sleep cycle: 2.00ms [23:13:34][C][esp32_touch:095]: Low Voltage Reference: 0.8V [23:13:34][C][esp32_touch:115]: High Voltage Reference: 2.4V [23:13:34][C][esp32_touch:135]: Voltage Attenuation: 0V [23:13:34][C][esp32_touch:169]: Filter mode: IIR_16 [23:13:34][C][esp32_touch:170]: Debounce count: 2 [23:13:34][C][esp32_touch:171]: Noise threshold coefficient: 0 [23:13:34][C][esp32_touch:172]: Jitter filter step size: 0 [23:13:34][C][esp32_touch:191]: Smooth level: IIR_2 [23:13:34][C][esp32_touch:213]: Denoise grade: BIT8 [23:13:34][C][esp32_touch:245]: Denoise capacitance level: L0 [23:13:34][C][esp32_touch:260]: Touch Pad 'volume_down' [23:13:34][C][esp32_touch:261]: Pad: T4 [23:13:34][C][esp32_touch:262]: Threshold: 442216 [23:13:34][C][esp32_touch:260]: Touch Pad 'volume_up' [23:13:34][C][esp32_touch:261]: Pad: T2 [23:13:34][C][esp32_touch:262]: Threshold: 524075 [23:13:34][C][esp32_touch:260]: Touch Pad 'action' [23:13:34][C][esp32_touch:261]: Pad: T3 [23:13:34][C][esp32_touch:262]: Threshold: 628304 [23:13:34][C][captive_portal:088]: Captive Portal:

[23:13:34][C][mdns:116]: Hostname: onju-voice-1 [23:13:34][C][ota:096]: Over-The-Air Updates: [23:13:34][C][ota:097]: Address: onju-voice-1.local:3232 [23:13:34][C][ota:100]: Using Password. [23:13:34][C][ota:103]: OTA version: 2. [23:13:34][C][api:139]: API Server: [23:13:34][C][api:140]: Address: onju-voice-1.local:6053 [23:13:34][C][api:142]: Using noise encryption: YES

[23:13:34][C][audio:225]: External DAC channels: 1 [23:13:34][C][audio:226]: I2S DOUT Pin: 12 [23:13:34][C][audio:227]: Mute Pin: GPIO21 [23:13:37][D][voice_assistant:521]: Event Type: 0 [23:13:37][D][voice_assistant:521]: Event Type: 2 [23:13:37][D][voice_assistant:611]: Assist Pipeline ended [23:13:37][D][voice_assistant:414]: State changed from STREAMING_MICROPHONE to IDLE [23:13:37][D][voice_assistant:420]: Desired state set to IDLE [23:13:37][D][voice_assistant:414]: State changed from IDLE to START_PIPELINE [23:13:37][D][voice_assistant:420]: Desired state set to START_MICROPHONE [23:13:37][D][voice_assistant:202]: Requesting start... [23:13:37][D][voice_assistant:414]: State changed from START_PIPELINE to STARTING_PIPELINE [23:13:37][D][voice_assistant:435]: Client started, streaming microphone [23:13:37][D][voice_assistant:414]: State changed from STARTING_PIPELINE to STREAMING_MICROPHONE [23:13:37][D][voice_assistant:420]: Desired state set to STREAMING_MICROPHONE [23:13:37][D][voice_assistant:521]: Event Type: 1 [23:13:37][D][voice_assistant:524]: Assist Pipeline running [23:13:37][D][voice_assistant:521]: Event Type: 9 [23:13:37][D][light:036]: 'top_led' Setting: [23:13:37][D][light:051]: Brightness: 60% [23:13:37][D][light:059]: Red: 100%, Green: 0%, Blue: 100% [23:13:37][D][light:085]: Transition length: 0.1s [23:13:42][D][voice_assistant:521]: Event Type: 0 [23:13:42][D][voice_assistant:521]: Event Type: 2 [23:13:42][D][voice_assistant:611]: Assist Pipeline ended [23:13:42][D][voice_assistant:414]: State changed from STREAMING_MICROPHONE to IDLE [23:13:42][D][voice_assistant:420]: Desired state set to IDLE [23:13:42][D][voice_assistant:414]: State changed from IDLE to START_PIPELINE [23:13:42][D][voice_assistant:420]: Desired state set to START_MICROPHONE [23:13:42][D][voice_assistant:202]: Requesting start... [23:13:42][D][voice_assistant:414]: State changed from START_PIPELINE to STARTING_PIPELINE [23:13:42][D][voice_assistant:435]: Client started, streaming microphone [23:13:42][D][voice_assistant:414]: State changed from STARTING_PIPELINE to STREAMING_MICROPHONE [23:13:42][D][voice_assistant:420]: Desired state set to STREAMING_MICROPHONE [23:13:42][D][voice_assistant:521]: Event Type: 1 [23:13:42][D][voice_assistant:524]: Assist Pipeline running [23:13:42][D][voice_assistant:521]: Event Type: 9 [23:13:42][D][light:036]: 'top_led' Setting: [23:13:42][D][light:051]: Brightness: 60% [23:13:42][D][light:059]: Red: 100%, Green: 0%, Blue: 100% [23:13:42][D][light:085]: Transition length: 0.1s [23:13:47][D][voice_assistant:521]: Event Type: 0 [23:13:47][D][voice_assistant:521]: Event Type: 2 [23:13:47][D][voice_assistant:611]: Assist Pipeline ended [23:13:47][D][voice_assistant:414]: State changed from STREAMING_MICROPHONE to IDLE [23:13:47][D][voice_assistant:420]: Desired state set to IDLE [23:13:47][D][voice_assistant:414]: State changed from IDLE to START_PIPELINE [23:13:47][D][voice_assistant:420]: Desired state set to START_MICROPHONE [23:13:47][D][voice_assistant:202]: Requesting start... [23:13:47][D][voice_assistant:414]: State changed from START_PIPELINE to STARTING_PIPELINE [23:13:47][D][voice_assistant:435]: Client started, streaming microphone [23:13:47][D][voice_assistant:414]: State changed from STARTING_PIPELINE to STREAMING_MICROPHONE [23:13:47][D][voice_assistant:420]: Desired state set to STREAMING_MICROPHONE [23:13:47][D][voice_assistant:521]: Event Type: 1 [23:13:47][D][voice_assistant:524]: Assist Pipeline running [23:13:47][D][voice_assistant:521]: Event Type: 9 [23:13:47][D][light:036]: 'top_led' Setting: [23:13:47][D][light:051]: Brightness: 60% [23:13:47][D][light:059]: Red: 100%, Green: 0%, Blue: 100% [23:13:47][D][light:085]: Transition length: 0.1s [23:13:52][D][voice_assistant:521]: Event Type: 0 [23:13:52][D][voice_assistant:521]: Event Type: 2 [23:13:52][D][voice_assistant:611]: Assist Pipeline ended [23:13:52][D][voice_assistant:414]: State changed from STREAMING_MICROPHONE to IDLE [23:13:52][D][voice_assistant:420]: Desired state set to IDLE [23:13:52][D][voice_assistant:414]: State changed from IDLE to START_PIPELINE [23:13:52][D][voice_assistant:420]: Desired state set to START_MICROPHONE [23:13:52][D][voice_assistant:202]: Requesting start... [23:13:52][D][voice_assistant:414]: State changed from START_PIPELINE to STARTING_PIPELINE [23:13:52][D][voice_assistant:435]: Client started, streaming microphone [23:13:52][D][voice_assistant:414]: State changed from STARTING_PIPELINE to STREAMING_MICROPHONE [23:13:52][D][voice_assistant:420]: Desired state set to STREAMING_MICROPHONE [23:13:52][D][voice_assistant:521]: Event Type: 1 [23:13:52][D][voice_assistant:524]: Assist Pipeline running [23:13:52][D][voice_assistant:521]: Event Type: 9 [23:13:52][D][light:036]: 'top_led' Setting: [23:13:52][D][light:051]: Brightness: 60% [23:13:52][D][light:059]: Red: 100%, Green: 0%, Blue: 100% [23:13:52][D][light:085]: Transition length: 0.1s`

rosscullen commented 2 months ago

Tried again with the new 2024.06 tweaks but no joy.... below is a summary log for anyone who can review and maybe point me in the right direction:

`INFO ESPHome 2024.6.1 INFO Reading configuration /config/esphome/onju-voice-1.yaml... INFO Generating C++ source... INFO Updating https://github.com/espressif/esp-adf.git@v2.5 INFO Updating submodules (components/esp-adf-libs, components/esp-sr) for https://github.com/espressif/esp-adf.git@v2.5 INFO Updating https://github.com/espressif/esp-tflite-micro@None INFO Compiling app... Processing onju-voice-1 (board: esp32-s3-devkitc-1; framework: espidf; platform: platformio/espressif32@5.4.0)

/data/cache/platformio/packages/framework-espidf Already Patched: yes HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash

INFO Upload took 12.92 seconds, waiting for result... INFO OTA successful INFO Successfully uploaded program. INFO Starting log output from 192.168.123.123 using esphome API INFO Successfully connected to onju-voice-1 @ 192.168.123.123 in 11.242s INFO Successful handshake with onju-voice-1 @ 192.168.123.123 in 0.090s [23:33:16][I][app:102]: ESPHome version 2024.2.0 compiled on Feb 25 2024, 12:33:07

[23:33:16][C][wifi:409]: Local MAC: [redacted] [23:33:16][C][wifi:414]: SSID: [redacted] [23:33:16][C][wifi:415]: IP Address: 192.168.123.123 [23:33:16][C][wifi:417]: BSSID: [redacted]

[23:33:16][C][wifi:420]: Signal strength: -63 dB ▂▄▆█ [23:33:16][C][wifi:424]: Channel: 6 [23:33:16][C][wifi:425]: Subnet: 255.255.255.0 [23:33:16][C][wifi:426]: Gateway: 192.168.123.1 [23:33:16][C][wifi:427]: DNS1: 192.168.123.1 [23:33:16][C][wifi:428]: DNS2: 0.0.0.0

[23:33:16][C][logger:448]: Level: DEBUG [23:33:16][C][logger:449]: Log Baud Rate: 115200 [23:33:16][C][logger:451]: Hardware UART: USB_CDC`

Thanks