| 12 Jan 2025 |
uep | i have no idea. The install doc says the voice device will be magically auto detected, but that apparently assumes i have esphome integration set up, which it was not. So that's what i was trying to add | 04:31:29 |
@hexa:lossy.network | if you have esphome in extraComponents that should be sufficient | 04:31:53 |
uep | so i services.esphome.enabled = true; and tried to add the integration. | 04:32:20 |
uep | yeah, i do. | 04:32:32 |
uep | already did from day 1. | 04:32:46 |
@hexa:lossy.network | not required | 04:33:09 |
uep | ok | 04:33:16 |
@hexa:lossy.network | that is for having the esphome dashboard to edit, upload, maintain your own esphome devices | 04:33:30 |
@hexa:lossy.network | * that is for having the esphome dashboard to edit, upload firmware to, and maintain your own esphome devices | 04:33:53 |
uep | is there another extracomponent I need for the ha-voice device? perhaps that's what i'm missing, but i didn't see anything obvious in the list in the source | 04:34:05 |
@hexa:lossy.network | you might need the wyoming component going forward | 04:34:47 |
@hexa:lossy.network | to pair the other local pipeline services | 04:34:55 |
uep | yeah I have added that too but not using it yet | 04:35:19 |
@hexa:lossy.network |  Download image.png | 04:35:26 |
@hexa:lossy.network | { pkgs
, lib
, ...
}:
let
customWakeWordModels = pkgs.stdenv.mkDerivation {
pname = "home-assistant-wakewords-collection";
version = "6480a05";
src = pkgs.fetchFromGitHub {
owner = "fwartner";
repo = "home-assistant-wakewords-collection";
rev = "6480a05b5e66905c294e95b9256d1b2e51f7e3d4";
hash = "sha256-lm20gldJbjBs5t3AdNAMI2c8O4nRM6/wPozohmtGBfI=";
};
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir $out
find . -name "*.tflite" -exec cp -v {} $out/ \;
runHook postInstall
'';
};
in
{
services.wyoming.piper.servers = {
"en" = {
enable = true;
voice = "en_GB-semaine-medium";
uri = "tcp://127.0.0.1:10200";
};
};
services.wyoming.faster-whisper.servers = {
"medium-en" = {
enable = true;
model = "medium-int8";
language = "en";
uri = "tcp://127.0.0.1:10301";
device = "cuda";
};
};
services.wyoming.openwakeword = {
enable = true;
customModelsDirectories = [
#customWakeWordModels
];
preloadModels = [
#"echoh"
"hey_jarvis"
];
};
}
| 04:35:59 |
@hexa:lossy.network | esphome uses mdns for discovery | 04:37:50 |
uep | nice, i have that (without the extra wakewords collection, that will be useful eventually) | 04:37:57 |
@hexa:lossy.network | it is commented because it crashed for me 😄 | 04:38:07 |
@hexa:lossy.network | but that was months ago | 04:38:32 |
@hexa:lossy.network | 2023-11 apparently | 04:38:58 |
uep | yeah i had it from about a year ago when i last wanted to play with this, but commented the lot out again | 04:39:01 |
uep | seemingly not happening.. and i get prompted to set up esphome first | 04:43:05 |
@hexa:lossy.network | does it have an ip on your network? | 04:43:29 |
uep | after the bluetooth step to get the device on wifi | 04:43:32 |
@hexa:lossy.network | if so, configure the esphome integration with that ip address | 04:44:29 |
uep | 35 D 192.168.21.138 20:F8:3B:09:69:C5 home-assistant-voice-0969c5 HA21 bound 43s
| 04:45:49 |
uep | offs toO easy | 04:46:26 |
uep | * offs too easy | 04:46:31 |
uep | I thought that was for the other service | 04:46:43 |
@hexa:lossy.network | CRTified: ping me when you've printed the rackstack 😄 | 21:19:21 |