diff --git a/kubernetes/main/apps/default/zigbee/app/helmrelease.yaml b/kubernetes/main/apps/default/zigbee/app/helmrelease.yaml index f518afb9b51e9..76a453c219f6e 100644 --- a/kubernetes/main/apps/default/zigbee/app/helmrelease.yaml +++ b/kubernetes/main/apps/default/zigbee/app/helmrelease.yaml @@ -34,10 +34,36 @@ spec: app: image: repository: ghcr.io/koenkk/zigbee2mqtt - tag: 2.0.0@sha256:6105a3a01a66bbfb98909a7c309d0707ec7b41728ac15d399747077225231545 + tag: 1.42.0@sha256:732ae43d714610040bd049487b60af3b2dbcfdefb5f169897455b60d715e2131 env: TZ: America/New_York ZIGBEE2MQTT_DATA: /config + ZIGBEE2MQTT_CONFIG_ADVANCED_HOMEASSISTANT_DISCOVERY_TOPIC: homeassistant + ZIGBEE2MQTT_CONFIG_ADVANCED_HOMEASSISTANT_LEGACY_ENTITY_ATTRIBUTES: "false" + ZIGBEE2MQTT_CONFIG_ADVANCED_HOMEASSISTANT_LEGACY_TRIGGERS: "false" + ZIGBEE2MQTT_CONFIG_ADVANCED_HOMEASSISTANT_STATUS_TOPIC: homeassistant/status + ZIGBEE2MQTT_CONFIG_ADVANCED_LAST_SEEN: ISO_8601 + ZIGBEE2MQTT_CONFIG_ADVANCED_LEGACY_API: "false" + ZIGBEE2MQTT_CONFIG_ADVANCED_LEGACY_AVAILABILITY_PAYLOAD: "false" + ZIGBEE2MQTT_CONFIG_ADVANCED_LOG_LEVEL: info # debug + ZIGBEE2MQTT_CONFIG_ADVANCED_LOG_OUTPUT: '["console"]' + ZIGBEE2MQTT_CONFIG_AVAILABILITY_ACTIVE_TIMEOUT: 60 + ZIGBEE2MQTT_CONFIG_AVAILABILITY_PASSIVE_TIMEOUT: 2000 + ZIGBEE2MQTT_CONFIG_DEVICE_OPTIONS_LEGACY: "false" + ZIGBEE2MQTT_CONFIG_DEVICE_OPTIONS_RETAIN: "true" + ZIGBEE2MQTT_CONFIG_EXPERIMENTAL_NEW_API: "true" + ZIGBEE2MQTT_CONFIG_FRONTEND_PORT: &port 80 + ZIGBEE2MQTT_CONFIG_FRONTEND_URL: https://zigbee.devbu.io + ZIGBEE2MQTT_CONFIG_HOMEASSISTANT: "true" + ZIGBEE2MQTT_CONFIG_MQTT_INCLUDE_DEVICE_INFORMATION: "true" + ZIGBEE2MQTT_CONFIG_MQTT_KEEPALIVE: 60 + ZIGBEE2MQTT_CONFIG_MQTT_REJECT_UNAUTHORIZED: "true" + ZIGBEE2MQTT_CONFIG_MQTT_SERVER: mqtt://emqx-listeners.default.svc.cluster.local:1883 + ZIGBEE2MQTT_CONFIG_MQTT_VERSION: 5 + ZIGBEE2MQTT_CONFIG_PERMIT_JOIN: "false" + ZIGBEE2MQTT_CONFIG_SERIAL_BAUDRATE: 115200 + ZIGBEE2MQTT_CONFIG_SERIAL_DISABLE_LED: "false" + ZIGBEE2MQTT_CONFIG_SERIAL_PORT: tcp://192.168.1.90:6638 # DEBUG: "zigbee-herdsman*" envFrom: - secretRef: @@ -55,9 +81,7 @@ spec: securityContext: allowPrivilegeEscalation: false readOnlyRootFilesystem: true - capabilities: - drop: ["ALL"] - add: ["NET_BIND_SERVICE"] + capabilities: { drop: ["ALL"] } resources: requests: cpu: 10m @@ -76,7 +100,7 @@ spec: controller: zigbee ports: http: - port: 80 + port: *port ingress: app: className: internal