Skip to content

Commit

Permalink
[home] fixed home-related resources and downgraded wyze-cam
Browse files Browse the repository at this point in the history
  • Loading branch information
gruberdev committed Jan 28, 2024
1 parent d748b1d commit 41bbffe
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 20 deletions.
6 changes: 4 additions & 2 deletions apps/home/openwakeword/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ spec:
spec:
containers:
- name: wyoming-openwakeword
image: docker.io/rhasspy/wyoming-openwakeword:1.4.0
command:
image: docker.io/rhasspy/wyoming-openwakeword:1.9.0
args:
- "--uri"
- "tcp://0.0.0.0:10400"
- "--preload-model"
- "ok_nabu"
- "--custom-model-dir"
Expand Down
15 changes: 14 additions & 1 deletion apps/home/piper/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,14 @@ spec:
containers:
- name: wyoming-piper
image: docker.io/rhasspy/wyoming-piper:1.4.0
command:
command: ["python3"]
args:
- "-m"
- "wyoming_piper"
- "--piper"
- "/usr/share/piper/piper"
- "--uri"
- "tcp://0.0.0.0:10200"
- "--voice"
- "en_US-lessac-medium"
- "--length-scale"
Expand All @@ -28,6 +35,12 @@ spec:
- "0.667"
- "--max-piper-procs"
- "1"
- "--data-dir"
- "/data"
- "--data-dir"
- "/share/piper"
- "--download-dir"
- "/data"
ports:
- name: http
containerPort: 10200
Expand Down
16 changes: 10 additions & 6 deletions apps/home/whisper/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,30 @@ spec:
containers:
- name: wyoming-whisper
image: docker.io/rhasspy/wyoming-whisper:1.0.0
command:
args:
- "--uri"
- "tcp://0.0.0.0:10300"
- "--model"
- "small-int8"
- "small"
- "--language"
- "en"
- "--data-dir"
- "/data"
- "--download-dir"
- "/data"
- "--beam-size"
- "1"
ports:
- name: http
containerPort: 10300
protocol: TCP
resources:
requests:
cpu: 250m
memory: 512Mi
cpu: 500m
memory: 1Gi
limits:
cpu: 700m
memory: 768Mi
cpu: 1500m
memory: 2Gi
volumeMounts:
- name: data
mountPath: /data
Expand Down
22 changes: 11 additions & 11 deletions apps/home/wyze/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
bases:
- ./base
- ./base

namespace: homeassistant
patches:
- patch: |-
- op: add
path: "/spec/template/spec/nodeSelector"
value:
kubernetes.io/hostname: node-one
target:
kind: Deployment
name: wyze-bridge
- patch: |-
- op: add
path: "/spec/template/spec/nodeSelector"
value:
kubernetes.io/hostname: node-one
target:
kind: Deployment
name: wyze-bridge
commonAnnotations:
reloader.stakater.com/auto: "true"

images:
- name: mrlt8/wyze-bridge
newTag: 2.7.0-hw
- name: mrlt8/wyze-bridge
newTag: 2.6.0-hw

0 comments on commit 41bbffe

Please sign in to comment.