Tani asystent głosowy na bazie Voice Assistant PE od HA

Mi to wygląda na problem w samym HA, a nie głośniku. Pokaż ustawienia TTS i STT. Funkcje rozpoznawania mowy i syntezy obsługuje samo HA, a nie glosnik

1 polubienie

Zgadzam się z Tobą gdyż wcześniej mi to działało a nic nie zmieniałem w ustawieniach tylko aktualizowałem HA. Po drugie jest w logach błąd speech to text .

opcje z pipera i logi


logi

s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service discovery: stopping
s6-rc: info: service discovery successfully stopped
s6-rc: info: service piper: stopping
[22:31:34] INFO: Service exited with code 256 (by signal 15)
s6-rc: info: service piper successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service piper: starting
s6-rc: info: service piper successfully started
s6-rc: info: service discovery: starting
INFO:__main__:Ready
[21:34:03] INFO: Successfully send discovery information to Home Assistant.
s6-rc: info: service discovery successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service piper: starting
s6-rc: info: service piper successfully started
s6-rc: info: service discovery: starting
INFO:__main__:Ready
[21:42:33] INFO: Successfully send discovery information to Home Assistant.
s6-rc: info: service discovery successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service discovery: stopping
s6-rc: info: service discovery successfully stopped
s6-rc: info: service piper: stopping
[16:21:45] INFO: Service exited with code 256 (by signal 15)
s6-rc: info: service piper successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service piper: starting
s6-rc: info: service piper successfully started
s6-rc: info: service discovery: starting
INFO:__main__:Ready
[16:21:52] INFO: Successfully send discovery information to Home Assistant.
s6-rc: info: service discovery successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service discovery: stopping
s6-rc: info: service discovery successfully stopped
s6-rc: info: service piper: stopping
[11:21:13] INFO: Service exited with code 256 (by signal 15)
s6-rc: info: service piper successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service piper: starting
s6-rc: info: service piper successfully started
s6-rc: info: service discovery: starting
INFO:__main__:Ready
[11:21:21] INFO: Successfully send discovery information to Home Assistant.
s6-rc: info: service discovery successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started

Whisper logi i opcje

s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service discovery: stopping
s6-rc: info: service discovery successfully stopped
s6-rc: info: service whisper: stopping
[07:53:06] INFO: Service exited with code 256 (by signal 15)
s6-rc: info: service whisper successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service whisper: starting
s6-rc: info: service whisper successfully started
s6-rc: info: service discovery: starting
INFO:__main__:Ready
[07:53:18] INFO: Successfully send discovery information to Home Assistant.
s6-rc: info: service discovery successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service discovery: stopping
s6-rc: info: service discovery successfully stopped
s6-rc: info: service whisper: stopping
[22:31:35] INFO: Service exited with code 256 (by signal 15)
s6-rc: info: service whisper successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service whisper: starting
s6-rc: info: service whisper successfully started
s6-rc: info: service discovery: starting
INFO:__main__:Ready
[21:34:08] INFO: Successfully send discovery information to Home Assistant.
s6-rc: info: service discovery successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service whisper: starting
s6-rc: info: service whisper successfully started
s6-rc: info: service discovery: starting
INFO:__main__:Ready
[21:42:42] INFO: Successfully send discovery information to Home Assistant.
s6-rc: info: service discovery successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service discovery: stopping
s6-rc: info: service discovery successfully stopped
s6-rc: info: service whisper: stopping
[17:40:45] INFO: Service exited with code 256 (by signal 15)
s6-rc: info: service whisper successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service whisper: starting
s6-rc: info: service whisper successfully started
s6-rc: info: service discovery: starting
INFO:__main__:Ready
[17:41:00] INFO: Successfully send discovery information to Home Assistant.
s6-rc: info: service discovery successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started

Ja chciałbym podziękować autorowi za kawał dobrej roboty, aktualnie głośnik złożony, wstępnie skonfigurowany (zmieniłem również kod na 16 diod - bo taki ring zakupiłem), jestem na etapie wyboru (projektowania) obudowy, ale podpytam jeszcze, bo nie wiem jak skonfigurować odtwarzacz muzyki (nie działa mi), czy można np. srawdzić stan pogody (dzisiaj, na jutro), kolejno nie wiem czemu nie podaje mi stanu urządzenia użytkownika (w domu, w pracy) - jest komunikat np. Maja jest… i urywa. Ogólnie takie kosmetyczne rzeczy, ale i tak jestem MEGA zadowolony. A i jeszcze jedno pytanie mi się nasuwa, odnośnie NABU, rozumiem żeby korzystać z funkcji głośnika trzeba mieć wykupioną subkrybcję? (chwilowo korzystam z bezpłatnej).

EDIT: Przepraszam ale jednak jeszcze jedno pytanko, odnośnie zapisywania danych takich jak daty urodzenia itp. czy coś takiego jest możliwe??

Uruchomiłem sobie ze 2 miesiące temu VA z tego projektu, bez obudowy tylko tak mi to leżało na stole do testów i zabawy. Teraz wróciłem do sprawy i chciałem zaktualizować do najnowszej wersji esphome. niestety otrzymuję błąd kompilacji

INFO ESPHome 2025.9.3
INFO Reading configuration /config/esphome/voice-assistant1.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing voice-assistant1 (board: esp32-s3-devkitc-1; framework: espidf; platform: https://github.com/pioarduino/platform-espressif32/releases/download/54.03.21-2/platform-espressif32.zip)
--------------------------------------------------------------------------------
INFO Version mismatch for toolchain-xtensa-esp-elf: 13.2.0+20240530 != 14.2.0+20241119
INFO Reinstalling toolchain-xtensa-esp-elf due to version mismatch
INFO Package configuration completed successfully
Tool Manager: Installing https://github.com/pioarduino/registry/releases/download/0.0.1/xtensa-esp-elf-14.2.0_20241119.zip
INFO Installing https://github.com/pioarduino/registry/releases/download/0.0.1/xtensa-esp-elf-14.2.0_20241119.zip
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: toolchain-xtensa-esp-elf@14.2.0+20241119 has been installed!
INFO toolchain-xtensa-esp-elf@14.2.0+20241119 has been installed!
Tool Manager: Installing file:///root/.platformio/tools/toolchain-xtensa-esp-elf
INFO Installing file:///root/.platformio/tools/toolchain-xtensa-esp-elf
Tool Manager: toolchain-xtensa-esp-elf@14.2.0+20241119 has been installed!
INFO toolchain-xtensa-esp-elf@14.2.0+20241119 has been installed!
INFO Tool toolchain-xtensa-esp-elf successfully installed
INFO Package configuration completed successfully
HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash
 - framework-espidf @ 3.50402.0 (5.4.2) 
 - tool-cmake @ 3.30.2 
 - tool-esp-rom-elfs @ 2024.10.11 
 - tool-esptoolpy @ 5.0.2 
 - tool-mklittlefs @ 3.2.0 
 - tool-ninja @ 1.13.1 
 - tool-scons @ 4.40801.0 (4.8.1) 
 - toolchain-xtensa-esp-elf @ 14.2.0+20241119
Reading CMake configuration...
-- Found Git: /usr/bin/git (found version "2.39.5")
-- git rev-parse returned 'fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).'
-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /data/cache/platformio/packages/toolchain-xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /data/cache/platformio/packages/toolchain-xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /data/cache/platformio/packages/toolchain-xtensa-esp-elf/bin/xtensa-esp32s3-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32s3
-- Configuring incomplete, errors occurred!

fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
CMake Error at /data/cache/platformio/packages/framework-espidf/tools/cmake/build.cmake:620 (message):
  Traceback (most recent call last):

    File "<frozen runpy>", line 189, in _run_module_as_main
    File "<frozen runpy>", line 112, in _get_module_details
    File "/root/.platformio/penv/.espidf-5.4.2/lib/python3.12/site-packages/idf_component_manager/__init__.py", line 6, in <module>
      from idf_component_tools.environment import ComponentManagerSettings
    File "/root/.platformio/penv/.espidf-5.4.2/lib/python3.12/site-packages/idf_component_tools/__init__.py", line 9, in <module>
      if ComponentManagerSettings().DEBUG_MODE:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/root/.platformio/penv/.espidf-5.4.2/lib/python3.12/site-packages/pydantic_settings/main.py", line 193, in __init__
      super().__init__(
    File "/root/.platformio/penv/.espidf-5.4.2/lib/python3.12/site-packages/pydantic/main.py", line 250, in __init__
      validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/root/.platformio/penv/.espidf-5.4.2/lib/python3.12/site-packages/idf_component_tools/environment.py", line 148, in fallback_to_default
      if field.validation_alias:
         ^^^^^^^^^^^^^^^^^^^^^^

  AttributeError: 'NoneType' object has no attribute 'validation_alias'

Call Stack (most recent call first):
  /data/cache/platformio/packages/framework-espidf/tools/cmake/project.cmake:718 (idf_build_process)
  CMakeLists.txt:3 (project)



========================= [FAILED] Took 130.04 seconds =========================

Nie widze w repo jakichś uwag i problemów. Widziałem że autor projektu @Krzysztof_M się pokazywał w tym wątku więc proszę o pomoc.

Pierwszy ruch do zrobienia przy błędach kompilacji po aktualizacji to Clean Build Files

Oczywiście. Zrobiłem to.

A jaką poprzednio wersję ESPhome miałeś ? Wczoraj aktualizowałem urządzenia do 2025.9.3 i akurat z głośnikiem nie było problemu. Z tego co kojarzę to na wiosnę coś się zmieniło i nie chciało się kompilować, ale autor dostosował wsad i było ok.

Próbuję zaktualizować z 2025.9.1

Możesz spróbować odinstalować dodatek esphome i ponownie zainstalować, wtedy skompilować bin. Na oficjalnym forum ludzie ostatnio często piszą o podobnych problemach.

Czy po zlutowaniu na płytce esp32-s3 zworki IN-OUT można zasilać tą płytkę tylko z pinów 5V i GND? W internecie wyczytałem że między portem USB i pinem 5V jest dioda i po zlutowaniu zworki jest ona omijana i z portu USB idzie pełne 5V na ten PIN (czyli trzeba uważać aby nie podpinać przewodu USB i zasilania do pinu 5V równocześnie). Ale czy esp można zasilać z tego pinu? W opisie jest link do gniazda USB-C zakończonego dwoma przewodami i prawdopodobnie bardzo by niektórym ułatwiło zamieszczenie w opisie lub na schemacie w którym miejscu się tymi przewodami podpiąć.

Na jakiej płytce? - konkretny model podaj, to się sprawdzi schemat.

Taka dioda to dość częste rozwiązanie zabezpieczenia portu USB w płytkach prototypowych, nie rozumiem tylko zagadnienia po co w ogóle zwierać tę diodę, skoro sam MCU jest i tak zasilany napięciem 3.3V za stabilizatorem (więc nawet optymalnie dla stabilizatora LDO jest uzyskać napięcie docelowe z napięcia nieco niższego od 5V).

Można, ale co ważniejsze
Zasilanie w ten sposób NIE wymaga zwierania diody zabezpieczającej.

Tu masz schemat płytki ESP32-S3-DevKitC-1 V1.1 (oficjalna płytka Espressif) ale masz niemal z pewnością jakąś inną, bo na tej nie kojarzę niczego opisanego IN-OUT

to sobie osobiście sprawdź, że diody zabezpieczające na obu portach USB nie wymagają zwierania

Chodzi oczywiście o płytkę taką jak w projekcie została wykorzystana (link do aliexpress z tą płytką jest podany w opisie). Tutaj ktoś wspominał o zlutowaniu tej zworki: Tani asystent głosowy na bazie Voice Assistant PE od HA - #18 przez isom1266,

Jest to jakiś chiński wynalazek i ciężko cokolwiek znaleźć na temat tej zworki.

Użyj miernika by stwierdzić (lub lupy/mikroskopu, trybu makro w aparacie foto), ale sądzę, że zwiera ona diodę zabezpieczającą, by umożliwić użycie portu USB w trybie USB-OTG. edit - skreślenie jednak jeśli to AI-S3 to nie ta zworka, nie ma to znaczenia - nie trzeba nic kombinować…

Po prostu nie podłączaj żadnego USB, za to zasilanie 5V= podłącz do pinu 5Vin i sprawdź czy działa (moim zdaniem nie powinno być problemu, bez kombinacji ze zworką).

BTW

Na moje oko (z tego zdjęcia, na które się powołujesz) Aitexm Robot AI-S3, faktycznie schematu brak, ale wersję fioletową posiadam, to mogę sprawdzić (jeśli o taką chodzi). Edit - jednak nie będę tego robił, bo już robiłem i opis jest na forum w tym linku ze zdania wcześniej.

1 polubienie