This PR contains the following updates: | Package | Update | Change | |---|---|---| | [docker.io/koenkk/zigbee2mqtt](https://redirect.github.com/Koenkk/zigbee2mqtt) | minor | `8643f5d` -> `732ae43` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies. --- ### Release Notes <details> <summary>Koenkk/zigbee2mqtt (docker.io/koenkk/zigbee2mqtt)</summary> ### [`v1.42.0`](https://redirect.github.com/Koenkk/zigbee2mqtt/blob/HEAD/CHANGELOG.md#1420-2024-12-01) [Compare Source](https://redirect.github.com/Koenkk/zigbee2mqtt/compare/1.41.0...1.42.0) ##### Features - Add experimental support for Home Assistant `event` entities ([#​24233](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24233)) ([848f250](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/848f250dbb7e0142c7e702dab97536b8be749f5b)) ##### Bug Fixes - Home Assistant `event` entities, part 2 ([#​24717](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24717)) ([22e13c5](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/22e13c52b96152a24d735791c313b8c6c2cf68e7)) - Home Assistant: remove the diagnostic category classification for power ([#​24575](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24575)) ([c078ccb](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/c078ccb13606a0893a19f25378197be70c0127f6)) - Home Assistant: template errors when `action` key is missing or empty in state payload ([#​24931](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24931)) ([5ca4cf4](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/5ca4cf4acd758b9c8163c3f8d07cb9903d91e118)) - **ignore:** Fix `Cannot read properties of undefined (reading 'clients')` [https://github.com/Koenkk/zigbee2mqtt/issues/24957](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24957) ([7047aef](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/7047aef7f7810225e80d923e6c45d5922562e12b)) - **ignore:** Ignore `None` actions for HA events ([#​24972](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24972)) ([4690fe1](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/4690fe1a55b4d6a2a8ad39c21c157b67a41d5f62)) - **ignore:** Prevent empty events from being published to HA ([#​24969](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24969)) ([826547a](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/826547a8e14beabfced2d9da408fa1d7a8e8a015)) - **ignore:** Prevent incorrect `event_type` due to duplicate keys ([#​24954](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24954)) ([d82d782](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/d82d782bac0deda328e7025f9a2bcbd50fecf857)) - **ignore:** update dependencies ([#​24614](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24614)) ([84cc92f](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/84cc92f91a020c86d5ae3938c635512cd106cd67)) - **ignore:** update dependencies ([#​24702](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24702)) ([928635f](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/928635f1daea6e3e80afc30ff1eca3bc83de7f97)) - **ignore:** Update dependencies ([#​24894](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24894)) ([ca64935](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/ca6493528db3ffb374068e837ec0151f079a6ac8)) - **ignore:** update zigbee-herdsman to 2.1.8 ([#​24763](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24763)) ([2a9bbb2](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/2a9bbb21ba5c22bf32d702f02b60084c4e12f140)) - **ignore:** update zigbee-herdsman to 2.1.9 ([#​24819](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24819)) ([152ad12](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/152ad12508724be23f1792238e4bc37f48413ec0)) - **ignore:** update zigbee-herdsman-converters to 20.40.0 ([#​24644](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24644)) ([1558a5d](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/1558a5d8ace136ac1469f34502901d368603cbd1)) - **ignore:** update zigbee-herdsman-converters to 20.41.0 ([#​24656](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24656)) ([f2e5d59](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/f2e5d59c3582ec12e1717c9c28520d54c593dd0e)) - **ignore:** update zigbee-herdsman-converters to 20.42.0 ([#​24666](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24666)) ([b5d4a25](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/b5d4a253b4ef5b4930f8d84e878e2343cc0b38df)) - **ignore:** update zigbee-herdsman-converters to 20.43.0 ([#​24680](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24680)) ([a353acc](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/a353acc8e3e98bf9ea3a935c1ee179aed335ff58)) - **ignore:** update zigbee-herdsman-converters to 20.44.0 ([#​24715](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24715)) ([32e2637](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/32e2637594add5c6fa8f8bfccc28b0f759a5d873)) - **ignore:** update zigbee-herdsman-converters to 20.45.0 ([#​24733](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24733)) ([b8c3104](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/b8c3104aa1baaf03c3db7954bc92b5ac71d985c4)) - **ignore:** update zigbee-herdsman-converters to 20.46.0 ([#​24762](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24762)) ([6e04f7b](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/6e04f7b03e8c7f0493007ce1d9d359f819088557)) - **ignore:** update zigbee-herdsman-converters to 20.47.0 ([#​24772](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24772)) ([36e452b](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/36e452b0f3284eb5ab872fb2d0aab04bbdfe4cee)) - **ignore:** update zigbee-herdsman-converters to 20.49.1 ([#​24830](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24830)) ([5859947](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/5859947207adf8597436971706cdff101c1effbe)) - **ignore:** update zigbee-herdsman-converters to 20.50.0 ([#​24843](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24843)) ([988984a](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/988984a1ae069d90ce1f67c165dd76c4edafa656)) - **ignore:** update zigbee-herdsman-converters to 20.51.0 ([#​24856](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24856)) ([82a026e](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/82a026e02e0ecc662cf8302ff3005793cb66a23f)) - **ignore:** update zigbee-herdsman-converters to 20.52.0 ([#​24874](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24874)) ([1e77893](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/1e77893f759908bafc373b047b6409d227516759)) - **ignore:** Update zigbee-herdsman-converters to 20.53.0 ([#​24906](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24906)) ([790373b](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/790373b896efdb6d9ccb5c29c97812db7445c6a3)) - **ignore:** update zigbee2mqtt-frontend to 0.7.5 ([#​24631](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24631)) ([0c2cc10](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/0c2cc10ad8fd8de1ac88566f8ca1a0d131b1055b)) - Replace connect-gzip-static with express-static-gzip to become compatible with Node 23 ([#​24619](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24619)) ([87cee1a](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/87cee1aea6eace2efb31a2d30551b5ea32187e95)) - Temporarily disable serving compressed index file. ([#​24657](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/24657)) ([7267d27](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/7267d27779c854a216279b28b27551310b9cee97)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS44Mi45IiwidXBkYXRlZEluVmVyIjoiMzkuODIuOSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJhdXRvbWVyZ2UiLCJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL21pbm9yIl19-->
93 lines
4.7 KiB
YAML
93 lines
4.7 KiB
YAML
image:
|
|
repository: docker.io/koenkk/zigbee2mqtt
|
|
tag: 1.42.0@sha256:732ae43d714610040bd049487b60af3b2dbcfdefb5f169897455b60d715e2131
|
|
pullPolicy: IfNotPresent
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 10103
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
mountPath: "/data"
|
|
targetSelectAll: true
|
|
portal:
|
|
open:
|
|
enabled: true
|
|
securityContext:
|
|
container:
|
|
runAsNonRoot: false
|
|
readOnlyRootFilesystem: false
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
initContainers:
|
|
init-config:
|
|
enabled: true
|
|
imageSelector: image
|
|
type: init
|
|
env:
|
|
ZIGBEE2MQTT_CONFIG_FRONTEND_PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
ZIGBEE2MQTT_CONFIG_PERMIT_JOIN: "{{ .Values.workload.main.podSpec.containers.main.env.ZIGBEE2MQTT_CONFIG_PERMIT_JOIN }}"
|
|
ZIGBEE2MQTT_CONFIG_MQTT_SERVER: "{{ .Values.workload.main.podSpec.containers.main.env.ZIGBEE2MQTT_CONFIG_MQTT_SERVER }}"
|
|
ZIGBEE2MQTT_CONFIG_MQTT_USER: "{{ .Values.secret.ZIGBEE2MQTT_CONFIG_MQTT_USER }}"
|
|
ZIGBEE2MQTT_CONFIG_MQTT_PASSWORD: "{{ .Values.secret.ZIGBEE2MQTT_CONFIG_MQTT_PASSWORD }}"
|
|
ZIGBEE2MQTT_CONFIG_MQTT_BASE_TOPIC: "{{ .Values.workload.main.podSpec.containers.main.env.ZIGBEE2MQTT_CONFIG_MQTT_BASE_TOPIC }}"
|
|
ZIGBEE2MQTT_CONFIG_SERIAL_PORT: "{{ .Values.workload.main.podSpec.containers.main.env.ZIGBEE2MQTT_CONFIG_SERIAL_PORT }}"
|
|
ZIGBEE2MQTT_CONFIG_SERIAL_ADAPTER: "{{ .Values.workload.main.podSpec.containers.main.env.ZIGBEE2MQTT_CONFIG_SERIAL_ADAPTER }}"
|
|
USE_CUSTOM_CONFIG_FILE: "{{ .Values.workload.main.podSpec.containers.main.env.USE_CUSTOM_CONFIG_FILE }}"
|
|
command:
|
|
- /bin/sh
|
|
- -c
|
|
args:
|
|
- >
|
|
if [ -f /data/configuration.yaml ] || [ ${USE_CUSTOM_CONFIG_FILE} == true ]; then
|
|
echo "Initial configuration exists or User selected to use custom configuration file. Skipping...";
|
|
else
|
|
echo "Creating initial configuration";
|
|
touch /data/configuration.yaml;
|
|
echo "# Configuration bellow will be always be overridden" >> /data/configuration.yaml;
|
|
echo "# from environment settings on the Scale Apps UI." >> /data/configuration.yaml;
|
|
echo "# You however will not see this values change in the file." >> /data/configuration.yaml;
|
|
echo "# It's a generated file based on the values provided on initial install." >> /data/configuration.yaml;
|
|
echo "##########################################################" >> /data/configuration.yaml;
|
|
echo "frontend:" >> /data/configuration.yaml;
|
|
echo " port: $ZIGBEE2MQTT_CONFIG_FRONTEND_PORT" >> /data/configuration.yaml;
|
|
echo "permit_join: $ZIGBEE2MQTT_CONFIG_PERMIT_JOIN" >> /data/configuration.yaml;
|
|
echo "mqtt:" >> /data/configuration.yaml;
|
|
echo " server: $ZIGBEE2MQTT_CONFIG_MQTT_SERVER" >> /data/configuration.yaml;
|
|
echo " base_topic: $ZIGBEE2MQTT_CONFIG_MQTT_BASE_TOPIC" >> /data/configuration.yaml;
|
|
if [ ! -z "$ZIGBEE2MQTT_CONFIG_MQTT_USER" ];
|
|
then
|
|
echo " user: $ZIGBEE2MQTT_CONFIG_MQTT_USER" >> /data/configuration.yaml;
|
|
fi;
|
|
if [ ! -z "$ZIGBEE2MQTT_CONFIG_MQTT_PASSWORD" ];
|
|
then
|
|
echo " password: $ZIGBEE2MQTT_CONFIG_MQTT_PASSWORD" >> /data/configuration.yaml;
|
|
fi;
|
|
echo "serial:" >> /data/configuration.yaml;
|
|
echo " port: $ZIGBEE2MQTT_CONFIG_SERIAL_PORT" >> /data/configuration.yaml;
|
|
echo " adapter: $ZIGBEE2MQTT_CONFIG_SERIAL_ADAPTER" >> /data/configuration.yaml;
|
|
echo "##########################################################" >> /data/configuration.yaml;
|
|
echo 'Initial configuration file created at "/data/configuration.yaml"';
|
|
fi;
|
|
|
|
containers:
|
|
main:
|
|
env:
|
|
ZIGBEE2MQTT_DATA: "/data"
|
|
ZIGBEE2MQTT_CONFIG_FRONTEND_PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
# User defined
|
|
USE_CUSTOM_CONFIG_FILE: false
|
|
# This values are required for the autogenerated file to work.
|
|
# ZIGBEE2MQTT_CONFIG_PERMIT_JOIN: false
|
|
# ZIGBEE2MQTT_CONFIG_MQTT_SERVER: "mqtt://localhost"
|
|
# ZIGBEE2MQTT_CONFIG_MQTT_BASE_TOPIC: "zigbee2mqtt"
|
|
# ZIGBEE2MQTT_CONFIG_SERIAL_PORT: "/dev/ttyUSB0"
|
|
# ZIGBEE2MQTT_CONFIG_SERIAL_ADAPTER: "auto"
|
|
ZIGBEE2MQTT_CONFIG_MQTT_USER: ""
|
|
ZIGBEE2MQTT_CONFIG_MQTT_PASSWORD: ""
|