Compare commits

...

7 Commits

Author SHA1 Message Date
d092565e78 fix 2
All checks were successful
ci/woodpecker/tag/config Pipeline was successful
2026-01-12 09:15:03 +01:00
9431572008 fix 2026-01-12 09:13:48 +01:00
a4bfa265b9 merged 2026-01-12 09:12:07 +01:00
61b9437b71 no namespace on config change 2026-01-11 11:55:28 +01:00
474b41ffce deploy confguuration script 2026-01-06 14:02:11 +01:00
79081e7480 thermostat bad unten replaced 2 2026-01-06 13:48:29 +01:00
424f1d6743 thermostat bad unten replaced 2026-01-06 13:47:56 +01:00
4 changed files with 26 additions and 16 deletions

View File

@@ -1,9 +1,6 @@
when: when:
event: [tag] event: [tag]
depends_on:
- namespace
steps: steps:
apply_configuration: apply_configuration:
image: quay.io/wollud1969/k8s-admin-helper:0.3.4 image: quay.io/wollud1969/k8s-admin-helper:0.3.4

View File

@@ -1,5 +1,8 @@
when: when:
event: [tag] event: [tag]
ref:
exclude:
- refs/tags/*-configchange
steps: steps:
create_namespace: create_namespace:

View File

@@ -471,21 +471,16 @@ devices:
name: Heizung name: Heizung
type: thermostat type: thermostat
cap_version: "thermostat@1.0.0" cap_version: "thermostat@1.0.0"
technology: max technology: zigbee2mqtt
features: features:
mode: true heating: true
target: true temperature_range:
current: false - 5
- 30
temperature_step: 0.5
topics: topics:
set: "homegear/instance1/set/48/1/SET_TEMPERATURE" state: "zigbee2mqtt/0x003c84fffebdcc28"
state: "homegear/instance1/plain/48/1/SET_TEMPERATURE" set: "zigbee2mqtt/0x003c84fffebdcc28/set"
metadata:
friendly_name: "Thermostat Bad Unten"
location: "Bad Unten"
vendor: "eQ-3"
model: "MAX! Thermostat"
peer_id: "48"
channel: "1"
- device_id: sterne_wohnzimmer - device_id: sterne_wohnzimmer
homekit_aid: 32 homekit_aid: 32
name: Sterne name: Sterne

15
tools/deploy-configuration.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
NAMESPACE=homea2
kubectl create configmap home-automation-config \
--from-file=devices.yaml=config/devices.yaml \
--from-file=groups.yaml=config/groups.yaml \
--from-file=layout.yaml=config/layout.yaml \
--from-file=rules.yaml=config/rules.yaml \
--from-file=scenes.yaml=config/scenes.yaml \
--namespace=$NAMESPACE \
--dry-run=client -o yaml | kubectl apply -f -
kubectl apply -f deployment/configmap.yaml -n $NAMESPACE