mirror of
https://github.com/nold360/hive-apps
synced 2024-12-22 13:01:21 +00:00
change(mqtt): add zigbee2mqtt & disable ZHA
This commit is contained in:
parent
54927d984c
commit
cac69d5979
3 changed files with 99 additions and 2 deletions
|
@ -80,7 +80,7 @@ persistence:
|
||||||
hostPath: /dev/ttyUSB0
|
hostPath: /dev/ttyUSB0
|
||||||
type: hostPath
|
type: hostPath
|
||||||
zigbee:
|
zigbee:
|
||||||
enabled: true
|
enabled: false
|
||||||
hostPath: /dev/ttyUSB1
|
hostPath: /dev/ttyUSB1
|
||||||
type: hostPath
|
type: hostPath
|
||||||
homegear-config:
|
homegear-config:
|
||||||
|
|
|
@ -1,8 +1,13 @@
|
||||||
config:
|
config:
|
||||||
description: MQTT Broker
|
description: MQTT Broker & Zigbee Bridge
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
- name: mosquitto
|
- name: mosquitto
|
||||||
repo: bjw-s
|
repo: bjw-s
|
||||||
chart: app-template
|
chart: app-template
|
||||||
targetRevision: 1.5.0
|
targetRevision: 1.5.0
|
||||||
|
|
||||||
|
- name: zigbee2mqtt
|
||||||
|
repo: bjw-s
|
||||||
|
chart: app-template
|
||||||
|
targetRevision: 1.5.0
|
||||||
|
|
92
projects/mqtt/values/zigbee2mqtt.yaml
Normal file
92
projects/mqtt/values/zigbee2mqtt.yaml
Normal file
|
@ -0,0 +1,92 @@
|
||||||
|
image:
|
||||||
|
repository: koenkk/zigbee2mqtt
|
||||||
|
tag: 1.30.4
|
||||||
|
|
||||||
|
service:
|
||||||
|
main:
|
||||||
|
type: ClusterIP
|
||||||
|
ports:
|
||||||
|
http:
|
||||||
|
enabled: true
|
||||||
|
port: 8080
|
||||||
|
|
||||||
|
ingress:
|
||||||
|
main:
|
||||||
|
enabled: true
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: vault-issuer
|
||||||
|
hosts:
|
||||||
|
- host: zigbee.dc
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
tls:
|
||||||
|
- secretName: zigbee-tls
|
||||||
|
hosts:
|
||||||
|
- zigbee.dc
|
||||||
|
|
||||||
|
env:
|
||||||
|
ZIGBEE2MQTT_DATA: /data
|
||||||
|
|
||||||
|
configMaps:
|
||||||
|
config:
|
||||||
|
enabled: false
|
||||||
|
data:
|
||||||
|
configuration.yaml: |
|
||||||
|
permit_join: true
|
||||||
|
|
||||||
|
mqtt:
|
||||||
|
base_topic: zigbee2mqtt
|
||||||
|
server: mqtt://mosquitto.mqtt.svc.cluster.local:1883
|
||||||
|
include_device_information: true
|
||||||
|
|
||||||
|
serial:
|
||||||
|
port: /dev/ttyUSB1
|
||||||
|
|
||||||
|
frontend: true
|
||||||
|
homeassistant: true
|
||||||
|
advanced:
|
||||||
|
network_key: GENERATE
|
||||||
|
log_output:
|
||||||
|
- console
|
||||||
|
log_level: info
|
||||||
|
homeassistant_discovery_topic: 'homeassistant'
|
||||||
|
homeassistant_status_topic: 'homeassistant/status'
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
data:
|
||||||
|
enabled: true
|
||||||
|
type: pvc
|
||||||
|
mountPath: /data
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
readOnly: false
|
||||||
|
size: 10Gi
|
||||||
|
|
||||||
|
config:
|
||||||
|
enabled: false
|
||||||
|
type: configMap
|
||||||
|
name: zigbee2mqtt-config
|
||||||
|
mountPath: /data/configuration.yaml
|
||||||
|
subPath: configuration.yaml
|
||||||
|
|
||||||
|
usb:
|
||||||
|
enabled: true
|
||||||
|
type: hostPath
|
||||||
|
hostPath: /dev/ttyUSB1
|
||||||
|
|
||||||
|
runudev:
|
||||||
|
enabled: true
|
||||||
|
readOnly: true
|
||||||
|
type: hostPath
|
||||||
|
hostPath: /run/udev
|
||||||
|
|
||||||
|
resources:
|
||||||
|
# limits:
|
||||||
|
# cpu: 100m
|
||||||
|
# memory: 64Mi
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 32Mi
|
||||||
|
|
||||||
|
securityContext:
|
||||||
|
privileged: true
|
Loading…
Reference in a new issue