esphome / firmware

Holds firmware configuration files for projects that the ESPHome team provides.
https://esphome.io/projects
Apache License 2.0
162 stars 122 forks source link

VoiceAssist 2024.8.1 update issues #251

Open ChristophCaina opened 3 months ago

ChristophCaina commented 3 months ago

Hi, HomeAssistant is showing Updates for my S3-Box and S3-Box3 for Version 2024.8.1... But something seems not to be right with it...

maybe, this is somehow a messed up installation of my ESP boxes... but as soon as I update, HomeAssist will auto-detect a new instance of the Improv - and when I try to configure it, it will fail.

Also, both ESPBoxes have now two "Firmware Version" entities available...one showing an available update, the other one "up-to-date" image

image image

The ESPHomeDashboard itself does not show that any update is available: image

The source of my two boxes:

S3-Box

substitutions:
  name: esp32-s3-box-d4ff80
  friendly_name: ESP32 S3 Box Voice Assist

  loading_illustration_file: android/loading.png
  idle_illustration_file: android/sleeping.png
  listening_illustration_file: android/happy.png
  thinking_illustration_file: android/thinking.png
  replying_illustration_file: android/happy2.png
  error_illustration_file: android/sad_tear.png

  loading_illustration_background_color: 'ffffff'
  idle_illustration_background_color: 'ffffff'
  listening_illustration_background_color: 'ffffff'
  thinking_illustration_background_color: 'ffffff'
  replying_illustration_background_color: 'ffffff'
  error_illustration_background_color: 'ffffff'

packages:
  esphome.voice-assistant: github://esphome/firmware/wake-word-voice-assistant/esp32-s3-box.yaml@main

esphome:
  name: ${name}
  name_add_mac_suffix: false
  friendly_name: ${friendly_name}

api:
  encryption:
    key: **********

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

micro_wake_word:
  models:
    - model: github://esphome/micro-wake-word-models/models/v2/okay_nabu.json
    - model: github://esphome/micro-wake-word-models/models/v2/hey_jarvis.json

S3-Box3

substitutions:
  name: esp32-s3-box-3-5acd3c
  friendly_name: ESP32 S3 Box3 Voice Assist

  loading_illustration_file: android/loading.png
  idle_illustration_file: android/sleeping.png
  listening_illustration_file: android/happy.png
  thinking_illustration_file: android/thinking.png
  replying_illustration_file: android/happy2.png
  error_illustration_file: android/sad_tear.png

  loading_illustration_background_color: 'ffffff'
  idle_illustration_background_color: 'ffffff'
  listening_illustration_background_color: 'ffffff'
  thinking_illustration_background_color: 'ffffff'
  replying_illustration_background_color: 'ffffff'
  error_illustration_background_color: 'ffffff'

packages:
  esphome.voice-assistant: github://esphome/firmware/wake-word-voice-assistant/esp32-s3-box-3.yaml@main

esphome:
  name: ${name}
  name_add_mac_suffix: false
  friendly_name: ${friendly_name}
api:
  encryption:
    key: **********

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

micro_wake_word:
  models:
    - model: github://esphome/micro-wake-word-models/models/v2/okay_nabu.json
    - model: github://esphome/micro-wake-word-models/models/v2/hey_jarvis.json

i2c:
  - id: bus_a
    sda: GPIO08
    scl: GPIO18
    scan: false
    sda_pullup_enabled: true
    scl_pullup_enabled: true
    frequency: 100kHz

  - sda: GPIO41
    scl: GPIO40
    scan: false
    sda_pullup_enabled: true
    scl_pullup_enabled: true
    frequency: 50kHz
    id: bus_b

at581x:
  id: "Radar"
  i2c_id: bus_a

binary_sensor:
  - platform: gpio
    pin:
      number: GPIO21
    name: "Presence detect"
    disabled_by_default: false
    device_class: "occupancy"

switch:
  - platform: template
    name: "Mute when absent"
    id: mute_when_absent
    icon: mdi:account-right-arrow
    optimistic: true
    entity_category: config
    restore_mode: RESTORE_DEFAULT_OFF

  - platform: at581x
    at581x_id: "Radar"
    name: "Enable Radar"

number:
  - platform: template
    name: "Presence duration"
    id: radar_delayed_off
    icon: mdi:account-clock
    optimistic: true
    restore_value: true
    initial_value: 60
    min_value: 0
    step: 5
    max_value: 300
    unit_of_measurement: s
    entity_category: config
    mode: box

Also, what I don't understand: The S3-Box does have some entities, which are not available in the wake-word-voice-assistant source, such as "Safe Mode Boot" - which should only be available for the "Voice-Assistant" firmware

image

nikito commented 3 months ago

Seeing similar. If i go ahead and update it breaks my devices and they are unable to talk to wifi or HA. If i fix the wifi with esp web tools it want to readopt my device. If i do that it had me go thru the whole install in esphome, which puts the device back to pre 24.8.1, and the cycle starts all over again. For now I've ignored the updates.

nikito commented 3 months ago

FYI I resolved this recently by changing my yaml to look like this: image Not sure if that's the intended fix, but based on the changes I saw in the repo this seemed to be the sensible action. After changing that and pushing it to my device, everything shows Up-To-Date and the update notifications go away. :)