Compare commits

...

5 Commits

4 changed files with 34 additions and 21 deletions

View File

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

View File

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

View File

@@ -9,7 +9,7 @@ rules:
thermostats:
- thermostat_bad_unten
params:
eco_target: 16.0
eco_target: 5.0
open_min_secs: 20
close_min_secs: 20
- id: window_setback_esszimmer
@@ -23,7 +23,7 @@ rules:
thermostats:
- thermostat_esszimmer
params:
eco_target: 16.0
eco_target: 5.0
open_min_secs: 20
close_min_secs: 20
previous_target_ttl_secs: 86400
@@ -38,7 +38,7 @@ rules:
thermostats:
- thermostat_wohnzimmer
params:
eco_target: 16.0
eco_target: 5.0
open_min_secs: 20
close_min_secs: 20
previous_target_ttl_secs: 86400
@@ -55,7 +55,7 @@ rules:
thermostats:
- thermostat_kueche
params:
eco_target: 16.0
eco_target: 5.0
open_min_secs: 20
close_min_secs: 20
previous_target_ttl_secs: 86400
@@ -71,7 +71,7 @@ rules:
thermostats:
- thermostat_patty
params:
eco_target: 16.0
eco_target: 5.0
open_min_secs: 20
close_min_secs: 20
previous_target_ttl_secs: 86400
@@ -85,7 +85,7 @@ rules:
thermostats:
- thermostat_schlafzimmer
params:
eco_target: 16.0
eco_target: 5.0
open_min_secs: 20
close_min_secs: 20
previous_target_ttl_secs: 86400
@@ -99,7 +99,7 @@ rules:
thermostats:
- thermostat_wolfgang
params:
eco_target: 16.0
eco_target: 5.0
open_min_secs: 20
close_min_secs: 20
- id: window_setback_bad_oben
@@ -112,6 +112,6 @@ rules:
thermostats:
- thermostat_bad_oben
params:
eco_target: 16.0
eco_target: 5.0
open_min_secs: 20
close_min_secs: 20

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