update
This commit is contained in:
parent
1d7b12af87
commit
0a295765bf
2 changed files with 67 additions and 4 deletions
43
home_stack/README.md
Normal file
43
home_stack/README.md
Normal file
|
@ -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/).
|
|
@ -16,11 +16,11 @@ services:
|
||||||
container_name: zigbee2mqtt
|
container_name: zigbee2mqtt
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Berlin
|
- TZ=Europe/Berlin
|
||||||
ports:
|
|
||||||
- "127.0.0.1:38080:8080"
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./volumes/zigbee2mqtt/data:/app/data
|
- ./volumes/zigbee2mqtt/data:/app/data
|
||||||
- /run/udev:/run/udev:ro
|
- /run/udev:/run/udev:ro
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:38080:8080"
|
||||||
group_add:
|
group_add:
|
||||||
- dialout
|
- dialout
|
||||||
devices:
|
devices:
|
||||||
|
@ -34,10 +34,30 @@ services:
|
||||||
command: "mosquitto -c /mosquitto-no-auth.conf"
|
command: "mosquitto -c /mosquitto-no-auth.conf"
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Berlin
|
- TZ=Europe/Berlin
|
||||||
ports:
|
|
||||||
- "127.0.0.1:1883:1883"
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./volumes/mosquitto/conf:/mosquitto/conf
|
- ./volumes/mosquitto/conf:/mosquitto/conf
|
||||||
- ./volumes/mosquitto/data:/mosquitto/data
|
- ./volumes/mosquitto/data:/mosquitto/data
|
||||||
- ./volumes/mosquitto/logs:/mosquitto/log
|
- ./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
|
restart: unless-stopped
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue