diff --git a/home_stack/README.md b/home_stack/README.md new file mode 100644 index 0000000..db75674 --- /dev/null +++ b/home_stack/README.md @@ -0,0 +1,43 @@ +# home_stack + +- [home\_stack](#home_stack) + - [Directory structure](#directory-structure) + - [HACS](#hacs) + - [Zigbee2Mqtt](#zigbee2mqtt) + +## Directory structure +``` +/opt/docker/home_stack +. +└── volumes + ├── homeassistant + │   └── config + ├── mosquitto + │   ├── conf + │   ├── data + │   ├── log + │   └── logs + ├── piper + │   └── data + ├── whisper + │   └── data + └── zigbee2mqtt + └── data +``` + +## HACS +``` +docker-compose exec -it homeassistant bash +wget -O - https://get.hacs.xyz | bash - +docker-compose restart homeassistant +``` + +## Zigbee2Mqtt + +1. Go to settings +2. Select dashboards +3. `+ create dashboard` +4. Select Website and enter the url e.g. https://home.domain.tld/z2m/ +4. Enter title and select a symbol + +See also [Webpage Card](https://www.home-assistant.io/dashboards/iframe/). \ No newline at end of file diff --git a/home_stack/docker-compose.yml b/home_stack/docker-compose.yml index 5ebfc08..1e5511e 100644 --- a/home_stack/docker-compose.yml +++ b/home_stack/docker-compose.yml @@ -16,11 +16,11 @@ services: container_name: zigbee2mqtt environment: - TZ=Europe/Berlin - ports: - - "127.0.0.1:38080:8080" volumes: - ./volumes/zigbee2mqtt/data:/app/data - /run/udev:/run/udev:ro + ports: + - "127.0.0.1:38080:8080" group_add: - dialout devices: @@ -34,10 +34,30 @@ services: command: "mosquitto -c /mosquitto-no-auth.conf" environment: - TZ=Europe/Berlin - ports: - - "127.0.0.1:1883:1883" volumes: - ./volumes/mosquitto/conf:/mosquitto/conf - ./volumes/mosquitto/data:/mosquitto/data - ./volumes/mosquitto/logs:/mosquitto/log + ports: + - "127.0.0.1:1883:1883" + restart: unless-stopped + + piper: + image: rhasspy/wyoming-piper + container_name: piper + command: --voice en-gb-southern_english_female-low + volumes: + - ./volumes/piper/data:/data + ports: + - "127.0.0.1:10200:10200" + restart: unless-stopped + + whisper: + image: rhasspy/wyoming-whisper + container_name: whisper + command: --model tiny-int8 --language en + volumes: + - ./volumes/whisper/data:/data + ports: + - "127.0.0.1:10300:10300" restart: unless-stopped